/* ==========================================
   ==========================================
   1. СБРОС И ОБЩИЕ СТИЛИ
   ==========================================
   ========================================== */

/* ----- 1.1 Базовый сброс ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ----- 1.2 Тело и фон ----- */
body {
    font-family: 'Manrope', Arial, sans-serif;
    color: #121b1a;
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    line-height: 1.6;
}

/* ----- 1.3 Общий контейнер ----- */
.container {
    width: 95%;
    max-width: 1600px;
    padding: 8px 0px;
    margin: 0 auto;
}

/* ----- 1.4 Общие элементы ----- */
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ----- 1.5 Общие кнопки ----- */
.btn-appointment {
    background: linear-gradient(145deg, #3fbd05, #297f01);
    color: #fff;
    padding: 11px 28px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(90, 175, 48, 0.25);
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(218, 222, 216, 0.35);
}

/* ----- 1.6 Заголовки секций ----- */
.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.section-title::before,
.section-title::after {
    content: '';
    width: 120px;
    height: 4px;
    background: #3fbd05;
    border-radius: 6px;
    flex-shrink: 0;
}

/* ==========================================
   ==========================================
   2. ШАПКА (HEADER)
   ==========================================
   ========================================== */

.header-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 0 4px;
}

.header-top {
    width: 95%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    flex-wrap: wrap;
    gap: 10px;
    background: transparent;
}

/* ----- 2.1 Логотип ----- */
.logo-block {
    display: flex;
    align-items: center;
    flex-shrink: 0; 
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.logo-wrapper img {
    height: 80px;
    width: auto;
    max-width: 100%;          /* ← не вылезает за экран */
    flex-shrink: 0;           /* ← не сжимается */
    object-fit: contain;      /* ← сохраняет пропорции */
    display: block;
}

.logo-slogan {
    font-size: 18px;
    font-weight: 500;
    color: #121b1a;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 2px;
}

/* ----- 2.2 Контакты в шапке ----- */
.header-contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 28px;
    font-size: 16px;
    color: #121b1a;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-1px);
}

.contact-item .icon {
    font-size: 18px;
    line-height: 1.4;
    color: #3fbd05;
    flex-shrink: 0;
    min-width: 20px;
}

.contact-item .info {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.contact-item .info .line {
    display: block;
    white-space: nowrap;
}

.header-contacts .phone {
    font-weight: 700;
    color: #121b1a;
    font-size: 19px;
    transition: color 0.2s ease;
}

.header-contacts .phone:hover {
    color: #3fbd05;
}

.phone-large {
    font-size: 22px;
    font-weight: 700;
    color: #1e2f3d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-large:hover {
    color: #5aaf30;
}

.address-large {
    font-size: 18px;
    font-weight: 700;
    color: #1e2f3d;
}

.address-large .icon {
    font-size: 22px;
}

.address-large .info .line {
    font-size: 22px;
    font-weight: 600;
}

/* ----- 2.3 MAX в шапке ----- */
.max-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e2f3d;
    font-weight: 700;
    font-size: 22px;
    text-decoration: none;
    transition: color 0.3s ease;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
}

.max-link:hover {
    color: #5aaf30;
}

.max-link .max-icon {
    width: 28px;
    height: 28px;
    display: inline-block;
    object-fit: contain;
    vertical-align: middle;
}

/* ==========================================
   ==========================================
   3. НАВИГАЦИЯ (MAIN NAV)
   ==========================================
   ========================================== */

.nav-wrapper {
    display: flex;
    justify-content: center;
    padding: 16px 0 20px;
}

.main-nav {
    width: 95%;
    max-width: 1600px;
    background: rgba(133, 154, 157, 0.5);
    border: 2px solid #374858;
    border-radius: 6px;
    padding: 8px 16px;
    box-shadow: 0 4px 24px rgba(90, 175, 48, 0.06);
    transition: all 0.3s ease;
}

.main-nav:hover {
    box-shadow: 0 8px 40px rgba(90, 175, 48, 0.1);
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 4px 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-nav ul li a {
    display: block;
    padding: 10px 16px;
    font-size: 17px;
    font-weight: 700;
    color: #121b1a;
    border-radius: 30px;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: #3fbd05;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 60%;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    background: rgba(255, 255, 255, 0.25);
    color: #121b1a;
}

/* ==========================================
   ==========================================
   4. ГЛАВНАЯ СТРАНИЦА (INDEX)
   ==========================================
   ========================================== */

/* ----- 4.1 БЛОК «5 ПРИЧИН» ----- */
.reasons-section {
    padding: 0 0 20px;
    background: transparent;
    display: flex;
    justify-content: center;
}

.reasons-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 1600px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.reasons-image {
    aspect-ratio: 3 / 2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.reasons-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reasons-content {
    display: flex;
    flex-direction: column;
}

.reasons-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.reasons-list li {
    font-size: 17px;
    color: #1e2f3d;
    padding: 10px 0 10px 36px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%235aaf30" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') left center no-repeat;
    background-size: 20px;
    border-bottom: 1px solid #edf7e8;
}

.reasons-list li:last-child {
    border-bottom: none;
}

.reasons-footer p {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.6;
    margin-bottom: 14px;
}

.reasons-footer p strong {
    color: #1e2f3d;
}

.reasons-contacts {
    background: #edf7e8;
    padding: 16px 20px;
    border-radius: 14px;
    border-left: 4px solid #5aaf30;
}

.reasons-contacts p {
    margin: 4px 0;
    font-size: 15px;
    color: #1e2f3d;
}

.reasons-contacts a {
    color: #5aaf30;
    font-weight: 500;
    text-decoration: none;
}

.reasons-contacts a:hover {
    color: #3d7a20;
}

/* ----- 4.2 БЛОК «О КЛИНИКЕ» ----- */
.about-clinic {
    padding: 0 0 20px;
    background: transparent;
    display: flex;
    justify-content: center;
}

.about-clinic-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 1600px;
}

.about-clinic-image {
    flex: 0 0 30%;
    border-radius: 14px;
    overflow: hidden;
}

.about-clinic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 260px;
}

.about-clinic-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.license-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #edf7e8;
    padding: 16px 20px;
    border-radius: 14px;
    border-left: 4px solid #5aaf30;
}

.license-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.license-number {
    font-size: 17px;
    font-weight: 700;
    color: #1e2f3d;
    margin: 0;
}

.license-date {
    font-size: 15px;
    color: #4a5f55;
    margin: 0;
}

.license-authority {
    font-size: 14px;
    color: #4a5f55;
    margin: 0;
}

.about-text p {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.6;
    margin: 0 0 12px;
}

.about-text strong {
    color: #1e2f3d;
}

.btn-about {
    display: inline-block;
    color: #5aaf30;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-about:hover {
    color: #3d7a20;
    transform: translateX(4px);
}

/* ----- 4.3 БЛОК «ОТЗЫВЫ» ----- */
.reviews-section {
    padding: 0 0 0;
    background: transparent;
}

.reviews-section .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 6px;
}

.reviews-rating {
    text-align: center;
    margin-bottom: 24px;
}

.reviews-rating .stars {
    font-size: 22px;
    color: #f1c40f;
    letter-spacing: 2px;
}

.reviews-rating .rating-score {
    font-size: 20px;
    font-weight: 700;
    color: #1e2f3d;
    margin-left: 6px;
}

.reviews-rating .rating-label {
    font-size: 16px;
    color: #4a5f55;
    margin-left: 6px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.review-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    padding: 24px 22px;
    border-radius: 16px;
    border: 1px solid #e4eee8;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: #5aaf30;
    box-shadow: 0 12px 32px rgba(90, 175, 48, 0.08);
}

.review-stars {
    font-size: 18px;
    color: #f1c40f;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.review-text {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.5;
    margin-bottom: 10px;
}

.review-author {
    font-size: 15px;
    color: #4a5f55;
    font-weight: 500;
}

.reviews-footer {
    text-align: center;
}

.btn-reviews {
    display: inline-block;
    color: #5aaf30;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-reviews:hover {
    color: #3d7a20;
    transform: translateX(4px);
}

/* ----- 4.4 ПРИЗЫВ К ДЕЙСТВИЮ (CTA) ----- */
.cta-section {
    padding: 0 0 0;
}

.cta-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 40px 50px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.cta-wrapper .section-title {
    font-size: 34px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 6px;
    padding-left: 0;
}

.cta-wrapper .section-title::before {
    display: none;
}

.cta-subtitle {
    font-size: 18px;
    color: #4a5f55;
    margin-bottom: 24px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
}

.btn-cta-primary {
    background: linear-gradient(145deg, #5aaf30, #3d7a20);
    color: #fff;
    padding: 14px 40px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(90, 175, 48, 0.25);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(90, 175, 48, 0.35);
}

.btn-cta-phone {
    background: #edf7e8;
    color: #1e2f3d;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid #d4e8c9;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-phone:hover {
    background: #d4e8c9;
}

.btn-cta-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.cta-hint {
    font-size: 15px;
    color: #4a5f55;
    margin-bottom: 0;
}

/* ==========================================
   ==========================================
   5. ПОДВАЛ (FOOTER)
   ==========================================
   ========================================== */

footer {
    background: rgba(133, 154, 157, 0.5);
    border-top: 2px solid #374858;
    color: #121b1a;
    padding: 40px 0 20px;
    margin-top: 20px;
    width: 100%;
    backdrop-filter: blur(4px);
}

footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(18, 27, 26, 0.08);
}

.footer-col h4 {
    font-size: 17px;
    font-weight: 700;
    color: #121b1a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: #3fbd05;
    border-radius: 4px;
}

.footer-col p,
.footer-col a {
    font-size: 15px;
    color: #121b1a;
    line-height: 1.8;
    margin: 4px 0;
}

.footer-col a {
    color: #121b1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #3fbd05;
}

.footer-col strong {
    color: #121b1a;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #121b1a;
    opacity: 0.7;
}

.max-link-footer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d4efe2;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.max-link-footer:hover {
    color: #ffffff;
}

.max-link-footer .max-icon-footer {
    width: 24px;
    height: 24px;
    display: inline-block;
    object-fit: contain;
    vertical-align: middle;
}

/* ==========================================
   ==========================================
   6. СТРАНИЦА «О НАС» (ABOUT)
   ==========================================
   ========================================== */

.about-hero {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.about-hero img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.about-main {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.about-content {
    display: flex;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 30px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.7;
    margin-bottom: 14px;
}

.about-image-side {
    flex: 0 0 200px;
    border-radius: 14px;
    overflow: hidden;
}

.about-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 220px;
}

.about-license {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #edf7e8;
    padding: 16px 20px;
    border-radius: 14px;
    border-left: 4px solid #5aaf30;
    margin-top: 10px;
}

.about-license .license-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.about-image-side,
.gallery-item {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 14px;
}

.about-image-side img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.about-directions {
    margin: 20px 0;
}

.about-directions h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 12px;
}

.about-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-services-list li {
    font-size: 16px;
    color: #1e2f3d;
    padding: 6px 0;
    border-bottom: 1px solid #edf7e8;
    line-height: 1.5;
}

.about-services-list li:last-child {
    border-bottom: none;
}

.about-cta {
    text-align: center;
    margin-top: 24px;
}

.about-cta .btn-appointment {
    display: inline-block;
    background: linear-gradient(145deg, #5aaf30, #3d7a20);
    color: #fff;
    padding: 14px 44px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(90, 175, 48, 0.25);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.about-cta .btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(90, 175, 48, 0.35);
}

/* ==========================================
   ==========================================
   7. СТРАНИЦА «УСЛУГИ» (SERVICES)
   ==========================================
   ========================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    border: 1px solid #e4eee8;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-4px);
    border-color: #5aaf30;
    box-shadow: 0 12px 32px rgba(90, 175, 48, 0.08);
}

.service-item-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.service-item-content {
    padding: 16px 18px 18px;
}

.service-item-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 4px;
    line-height: 1.3;
}

.service-item-content p {
    font-size: 15px;
    color: #4a5f55;
    margin-bottom: 0;
}

/* ----- 7.1 Детальная страница услуги ----- */
.service-top-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto 20px;
    max-width: 100%;
    align-items: stretch;
}

.service-top-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
    aspect-ratio: 3 / 2;
}

.service-top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-prices {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f2f9f4;
}

.price-item:last-of-type {
    border-bottom: none;
}

.price-item i {
    color: #5aaf30;
    font-size: 18px;
    flex-shrink: 0;
}

.price-item span {
    flex: 1;
    font-size: 16px;
    color: #1e2f3d;
}

.price-item .price-value {
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 700;
    color: #5aaf30;
    white-space: nowrap;
}

.price-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a5f55;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f2f9f4;
}

.price-note i {
    color: #5aaf30;
    font-size: 16px;
}

.service-preparation-card {
    background: #edf7e8;
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid #d4e8c9;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    transition: all 0.3s ease;
}

.service-preparation-card:hover {
    border-color: #5aaf30;
    box-shadow: 0 4px 16px rgba(90, 175, 48, 0.06);
}

.prep-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.prep-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prep-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e2f3d;
}

.prep-link {
    font-size: 15px;
    color: #5aaf30;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.prep-link i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.prep-link:hover {
    color: #3d7a20;
    text-decoration: underline;
}

.prep-link:hover i {
    transform: translateX(4px);
}

.service-description {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    margin: 0 0 20px;
}

.service-description p {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-description p strong {
    color: #1e2f3d;
    font-weight: 700;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px;
}

.service-list li {
    font-size: 16px;
    color: #1e2f3d;
    padding: 6px 0 6px 28px;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid #f2f9f4;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: #5aaf30;
    font-weight: 700;
    font-size: 20px;
}

.service-detail-actions {
    text-align: center;
    margin: 0 0 40px;
}

.service-detail-actions .btn-appointment {
    display: inline-block;
    background: linear-gradient(145deg, #5aaf30, #3d7a20);
    color: #fff;
    padding: 14px 48px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(90, 175, 48, 0.25);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.service-detail-actions .btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(90, 175, 48, 0.35);
}

/* ----- 7.2 Страница: Диагностика и лечение ЖКТ ----- */
.service-detail-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    margin: 0 0 24px;
}

.service-detail-image {
    flex: 0 0 40%;
    aspect-ratio: 3 / 2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-detail-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-detail-text p {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-detail-text p strong {
    color: #1e2f3d;
    font-weight: 700;
}

.service-consultations {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    margin: 0 0 24px;
}

.service-consultations h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #edf7e8;
}

.consultation-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.consultation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.consult-type {
    font-size: 16px;
    color: #1e2f3d;
}

.consult-price {
    font-size: 17px;
    font-weight: 700;
    color: #5aaf30;
}

/* ----- 7.3 Страница Анализы (уникальный класс) ----- */
.service-analyses-custom {
    grid-template-columns: 0.7fr 1.3fr 1fr;
    gap: 20px;
}

.service-analyses-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.service-analyses-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-analyses-custom .service-advantages {
    background: #edf7e8;
    border-radius: 16px;
    padding: 16px 20px;
    border: 1px solid #d4e8c9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.service-analyses-custom .service-advantages h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(90, 175, 48, 0.2);
}

.service-analyses-custom .advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-analyses-custom .advantages-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #1e2f3d;
    padding: 6px 0;
    border-bottom: 1px solid rgba(90, 175, 48, 0.1);
}

.service-analyses-custom .advantages-list li:last-child {
    border-bottom: none;
}

.service-analyses-custom .advantages-list li i {
    font-size: 18px;
    color: #5aaf30;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

/* ----- 7.4 Страница УЗИ (уникальный класс) ----- */
.service-ultrasound-custom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.service-ultrasound-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.service-ultrasound-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- 7.5 Страница Приём врачей (уникальный класс) ----- */
.service-doctors-custom {
    grid-template-columns: 0.8fr 1.2fr 1fr;
    gap: 20px;
}

.service-doctors-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.service-doctors-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- 7.6 Страница Процедурный кабинет (уникальный класс) ----- */
.service-procedures-custom {
    grid-template-columns: 0.8fr 1.2fr 1fr;
    gap: 20px;
}

.service-procedures-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.service-procedures-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   ==========================================
   8. СТРАНИЦА «НАШИ СПЕЦИАЛИСТЫ» (DOCTORS)
   ==========================================
   ========================================== */

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 20px 0 40px;
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
}

.doctor-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e4eee8;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    transform: translateY(-4px);
    border-color: #5aaf30;
    box-shadow: 0 12px 32px rgba(90, 175, 48, 0.08);
}

.doctor-image {
    aspect-ratio: 1708 / 2560;
    overflow: hidden;
    background: #edf7e8;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor-image .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #5aaf30;
    background: #edf7e8;
}

.doctor-info {
    padding: 16px 16px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doctor-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 2px;
}

.doctor-spec {
    font-size: 15px;
    color: #5aaf30;
    font-weight: 500;
    margin-bottom: 4px;
}

.doctor-experience {
    font-size: 14px;
    color: #4a5f55;
    margin-bottom: 12px;
}

.doctor-actions {
    margin-top: auto;
}

.doctor-actions .btn-detail {
    color: #5aaf30;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.doctor-actions .btn-detail:hover {
    color: #3d7a20;
    transform: translateX(4px);
}

/* ==========================================
   ==========================================
   9. СТРАНИЦА «ОТЗЫВЫ» (REVIEWS)
   ==========================================
   ========================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 20px 0 30px;
}

.review-card {
    background: #ffffff;
    padding: 26px 24px;
    border-radius: 20px;
    border: 1px solid #d4e8c9;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: #3fbd05;
    box-shadow: 0 12px 40px rgba(90, 175, 48, 0.06);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.review-name {
    font-weight: 700;
    color: #1e2f3d;
}

.review-date {
    font-size: 13px;
    color: #4a5f55;
}

.review-stars {
    color: #f1c40f;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-source {
    font-size: 12px;
    color: #4a5f55;
    background: #edf7e8;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
}

.review-card .text {
    font-size: 15px;
    color: #1e2f3d;
    margin-top: 8px;
}

.reviews-link {
    text-align: center;
    margin: 20px 0 30px;
}

.reviews-link .btn-appointment {
    background: linear-gradient(145deg, #3fbd05, #3d7a20);
    color: #fff;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(90, 175, 48, 0.25);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.reviews-link .btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(90, 175, 48, 0.35);
}

/* ==========================================
   ==========================================
   10. СТРАНИЦА «ЦЕНЫ» (PRICES)
   ==========================================
   ========================================== */

.prices-placeholder {
    text-align: center;
    background: #ffffff;
    padding: 60px 30px 50px;
    border-radius: 20px;
    border: 1px solid #edf7e8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    max-width: 640px;
    margin: 10px auto 50px;
}

.prices-placeholder-icon {
    font-size: 64px;
    color: #3fbd05;
    margin-bottom: 16px;
    display: block;
}

.prices-placeholder h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 12px;
}

.prices-placeholder p {
    font-size: 16px;
    color: #4a5f55;
    margin-bottom: 20px;
    line-height: 1.6;
}

.prices-placeholder .btn-appointment {
    display: inline-block;
    background: linear-gradient(145deg, #3fbd05, #3d7a20);
    color: #fff;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(90, 175, 48, 0.25);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.prices-placeholder .btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(90, 175, 48, 0.35);
}

.prices-note {
    margin-top: 20px;
    font-size: 14px;
    color: #4a5f55;
}

.prices-messengers {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.messenger-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #edf7e8;
    color: #3fbd05;
    font-size: 22px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.messenger-link:hover {
    transform: translateY(-3px);
    background: #3fbd05;
    color: #ffffff;
}

.messenger-link:nth-child(1):hover {
    background: #25D366;
}
.messenger-link:nth-child(2):hover {
    background: #0088cc;
}
.messenger-link:nth-child(3):hover {
    background: #ff6b6b;
}
.messenger-link:nth-child(4):hover {
    background: #5aaf30;
}

/* ----- 10.1 Страница "Цены" — 4 колонки ----- */
.prices-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.price-category-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 20px 22px 18px;
    border: 1px solid #e4eee8;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.price-category-card:hover {
    transform: translateY(-4px);
    border-color: #5aaf30;
    box-shadow: 0 12px 32px rgba(90, 175, 48, 0.08);
}

.category-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #edf7e8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #5aaf30;
    border-radius: 4px;
    flex-shrink: 0;
}

.category-divider {
    border-top: 1px dashed #d4e8c9;
    margin: 8px 0 6px;
}

.category-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px solid #f2f9f4;
    gap: 12px;
}

.category-item:last-child {
    border-bottom: none;
}

.item-name {
    font-size: 15px;
    color: #1e2f3d;
    flex: 1;
}

.item-price {
    font-size: 16px;
    font-weight: 700;
    color: #5aaf30;
    white-space: nowrap;
}

.note-item {
    opacity: 0.7;
}

.note-item .item-name {
    font-size: 14px;
    color: #4a5f55;
    padding-left: 10px;
}

.note-item .item-price {
    font-size: 14px;
    color: #4a5f55;
}

.category-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #edf7e8;
    text-align: center;
}

.category-link {
    color: #5aaf30;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-link:hover {
    color: #3d7a20;
    transform: translateX(4px);
}

.category-link i {
    font-size: 14px;
}

/* ----- 10.2 Страница "Все анализы" (карточки) ----- */
.prices-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

/* ==========================================
   ==========================================
   11. СТРАНИЦА «КОНТАКТЫ» (CONTACTS)
   ==========================================
   ========================================== */

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 20px 0 40px;
    align-items: stretch;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    padding: 18px 22px;
    border-radius: 16px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.contact-block:hover {
    transform: translateX(6px);
    border-color: #5aaf30;
    box-shadow: 0 8px 24px rgba(90, 175, 48, 0.06);
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #5aaf30;
    width: 36px;
    text-align: center;
}

.contact-block h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 4px;
}

.contact-block p {
    font-size: 16px;
    color: #1e2f3d;
    margin: 4px 0;
    line-height: 1.5;
}

.contact-block a {
    color: #5aaf30;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-block a:hover {
    color: #3d7a20;
}

.contact-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 600;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #1da851 !important;
    transform: translateX(4px);
    color: #fff !important;
}

.btn-whatsapp i {
    font-size: 18px;
}

.contacts-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    min-height: 450px;
    background: #edf7e8;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
    display: block;
}

/* ==========================================
   ==========================================
   12. СТРАНИЦА «ЗАПИСАТЬСЯ» (APPOINTMENT)
   ==========================================
   ========================================== */

.appointment-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 20px auto 50px;
}

.appointment-card {
    background: #ffffff;
    padding: 22px 14px 18px;
    border-radius: 16px;
    border: 1px solid #edf7e8;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.appointment-card:hover {
    transform: translateY(-4px);
    border-color: #5aaf30;
    box-shadow: 0 8px 24px rgba(90, 175, 48, 0.06);
}

.appointment-icon {
    font-size: 34px;
    display: block;
    margin-bottom: 6px;
    color: #5aaf30;
    transition: transform 0.3s ease;
}

.appointment-card:hover .appointment-icon {
    transform: scale(1.08);
}

.appointment-card:nth-child(1) .appointment-icon {
    color: #5aaf30;
}
.appointment-card:nth-child(2) .appointment-icon {
    color: #25D366;
}
.appointment-card:nth-child(3) .appointment-icon {
    color: #0088cc;
}
.appointment-card:nth-child(4) .appointment-icon {
    color: #ff6b6b;
}

.appointment-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 2px;
}

.appointment-card p {
    font-size: 14px;
    color: #1e2f3d;
    margin-bottom: 4px;
}

.appointment-card .appointment-hint {
    font-size: 12px;
    color: #4a5f55;
    opacity: 0.8;
}

.appointment-email {
    background: #edf7e8;
    border-color: #d4e8c9;
}

.appointment-email .appointment-icon {
    color: #5aaf30;
}

.appointment-email a {
    color: #5aaf30;
    font-weight: 500;
    text-decoration: none;
}

.appointment-email a:hover {
    color: #3d7a20;
}

/* ==========================================
   ==========================================
   13. СТРАНИЦА ПОДГОТОВКИ (PREPARATION)
   ==========================================
   ========================================== */

.preparation-block {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
}

.preparation-block h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #edf7e8;
}

.preparation-block p {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.6;
    margin-bottom: 12px;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.products-col {
    background: #f7fbf9;
    border-radius: 12px;
    padding: 16px 20px;
}

.products-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #d4e8c9;
}

.products-col.allowed h3 {
    color: #5aaf30;
}

.products-col.forbidden h3 {
    color: #e74c3c;
}

.products-image {
    width: 60%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.products-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-col ul li {
    font-size: 15px;
    color: #1e2f3d;
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid #edf7e8;
}

.products-col ul li:last-child {
    border-bottom: none;
}

.products-col ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #5aaf30;
    font-weight: 700;
}

.products-col.forbidden ul li::before {
    color: #e74c3c;
}

.drugs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

.drug-card {
    background: #f7fbf9;
    border-radius: 12px;
    padding: 16px 18px;
    border-left: 4px solid #5aaf30;
}

.drug-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 6px;
}

.drug-card p {
    font-size: 15px;
    color: #1e2f3d;
    line-height: 1.5;
    margin-bottom: 6px;
}

.drug-card p:last-child {
    margin-bottom: 0;
}

.preparation-warning {
    background: #fff5f0;
    border-left: 4px solid #e67e22;
}

.preparation-warning h2 {
    color: #e67e22;
    border-bottom-color: #fde8d8;
}

.preparation-warning ul {
    padding-left: 20px;
}

.preparation-warning ul li {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.6;
    margin-bottom: 4px;
}

.preparation-address {
    background: #edf7e8;
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    color: #1e2f3d;
    margin-bottom: 24px;
}

.preparation-cta {
    text-align: center;
    margin-bottom: 40px;
}

/* ----- 13.1 СТРАНИЦА ПОДГОТОВКИ (как на главной) ----- */
.preparation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 20px 0 40px;
}

.preparation-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 28px 22px 24px;
    border: 1px solid #e4eee8;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preparation-card:hover {
    transform: translateY(-6px);
    border-color: #5aaf30;
    box-shadow: 0 12px 40px rgba(90, 175, 48, 0.08);
}

.preparation-card-icon {
    font-size: 44px;
    display: block;
    margin-bottom: 12px;
}

.preparation-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 6px;
}

.preparation-card p {
    font-size: 15px;
    color: #4a5f55;
    margin-bottom: 14px;
    line-height: 1.4;
    flex: 1;
}

.preparation-card-link {
    color: #5aaf30;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.preparation-card:hover .preparation-card-link {
    color: #3d7a20;
    transform: translateX(4px);
}

/* ----- 13.2 Заглушка для страниц подготовки ----- */
.preparation-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.preparation-placeholder {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    margin: 20px 0 40px;
}

.placeholder-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
}

.preparation-placeholder h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 10px;
}

.preparation-placeholder p {
    font-size: 16px;
    color: #4a5f55;
    max-width: 500px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.placeholder-contacts {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.placeholder-contacts .btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.placeholder-contacts .btn-appointment i {
    font-size: 16px;
}

/* ==========================================
   ==========================================
   14. ПЛАВАЮЩАЯ КНОПКА MAX
   ==========================================
   ========================================== */

.max-helper-wrapper {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.max-helper-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1e2f3d;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    background: #ffffff;
    padding: 14px 24px;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e4eee8;
}

.max-helper-button:hover {
    color: #5aaf30;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(90, 175, 48, 0.15);
}

.max-helper-button .max-helper-icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    object-fit: contain;
}

.max-helper-button .max-helper-label {
    font-weight: 700;
    font-size: 18px;
}

.max-helper-tooltip {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
    padding: 20px 24px;
    border: 1px solid #e4eee8;
    max-width: 320px;
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    position: relative;
}

.max-helper-tooltip.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.max-helper-tooltip-content {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.max-helper-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #5aaf30;
}

.max-helper-tooltip-text p {
    font-size: 17px;
    font-weight: 700;
    color: #1e2f3d;
    margin: 0;
    line-height: 1.3;
}

.max-helper-tooltip-text span {
    font-size: 15px;
    color: #4a5f55;
}

.max-helper-tooltip-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #5aaf30;
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.max-helper-tooltip-btn:hover {
    background: #3d7a20;
}

.max-helper-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 10px;
    font-weight: 400;
    color: #b7c9c0;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
    line-height: 1;
}

.max-helper-close:hover {
    color: #1e2f3d;
}

.btn-appointment img {
    filter: brightness(0) invert(1);
}

/* ==========================================
   ==========================================
   15. АДАПТИВ (MEDIA QUERIES)
   ==========================================
   ========================================== */

/* ----- 15.1 Планшеты (до 992px) ----- */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 26px;
        gap: 12px;
        padding: 0 10px;
    }

    .section-title::before,
    .section-title::after {
        width: 60px;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .reasons-image {
        aspect-ratio: 3 / 2;
    }

    .about-clinic-wrapper {
        flex-direction: column;
        padding: 20px;
    }

    .about-clinic-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .about-clinic-image img {
        min-height: 200px;
        max-height: 280px;
    }

    .reviews-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image-side {
        flex: 0 0 auto;
        width: 100%;
    }

    .about-image-side img {
        min-height: 180px;
        max-height: 240px;
    }

    .about-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item img {
        height: 150px;
    }

    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contacts-map {
        min-height: 320px;
    }

    .contacts-map iframe {
        min-height: 320px;
    }

    .appointment-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-top-block {
        grid-template-columns: 1fr 1fr;
        max-width: 95%;
        gap: 16px;
    }

    .service-top-image:last-child {
        display: none;
    }

    .service-detail-wrapper {
        flex-direction: column;
        padding: 20px;
    }

    .service-detail-image {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 3 / 2;
    }

    .service-analyses-custom {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .service-analyses-image {
        max-height: 160px;
    }

    .service-ultrasound-custom {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .service-ultrasound-custom .service-ultrasound-image:last-child {
        display: none;
    }

    .service-doctors-custom {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .service-doctors-custom .service-doctors-image:last-child {
        display: none;
    }

    .service-procedures-custom {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .service-procedures-custom .service-procedures-image:last-child {
        display: none;
    }

    .prices-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .prices-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .drugs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

/* ----- 15.2 Телефоны (до 768px) ----- */
@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .doctor-info h3 {
        font-size: 16px;
    }

    .doctor-spec {
        font-size: 14px;
    }
}

/* ----- 15.3 Телефоны (до 640px) ----- */
@media (max-width: 640px) {
    .container {
        padding: 0 14px;
    }

    .section-title {
        font-size: 22px;
        gap: 8px;
        padding: 0 8px;
        flex-wrap: wrap;
        margin-bottom: 18px;
    }

    .section-title::before,
    .section-title::after {
        width: 40px;
        height: 3px;
    }

    .logo-wrapper img {
        height: 72px;
    }

    .logo-slogan {
        font-size: 15px;
        text-align: center;
    }

    .header-top {
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 0;
    }

    .logo-block {
        width: 100%;
        justify-content: center;
    }

    .logo-wrapper {
        align-items: center;
    }

    .header-contacts {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 6px 12px;
        font-size: 14px;
        width: 100%;
    }

    .address-large {
        font-size: 12px;
    }

    .address-large .icon {
        font-size: 14px;
    }

    .address-large .info .line {
        font-size: 12px;
        font-weight: 600;
    }

    .phone-large {
        font-size: 14px;
        font-weight: 700;
    }

    .max-link {
        font-size: 13px;
        padding: 4px 12px;
        gap: 4px;
    }

    .max-link .max-icon {
        width: 18px;
        height: 18px;
    }

    .main-nav ul {
        justify-content: center;
        gap: 0 2px;
        padding: 0;
    }

    .main-nav ul li a {
        padding: 4px 10px;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }

    .main-nav ul li a::after {
        bottom: 2px;
        height: 2px;
    }

    .btn-appointment {
        padding: 8px 20px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }

    .reasons-wrapper {
        padding: 18px;
    }

    .reasons-list li {
        font-size: 15px;
        padding: 8px 0 8px 30px;
        background-size: 18px;
    }

    .reasons-footer p {
        font-size: 15px;
    }

    .about-clinic-wrapper {
        padding: 16px;
        gap: 20px;
    }

    .about-clinic-image img {
        min-height: 160px;
        max-height: 200px;
    }

    .license-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px;
    }

    .license-icon {
        font-size: 28px;
    }

    .license-number {
        font-size: 15px;
    }

    .about-text p {
        font-size: 15px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-card {
        padding: 18px 16px;
    }

    .review-text {
        font-size: 15px;
    }

    .reviews-section .section-title {
        font-size: 26px;
    }

    .reviews-rating .stars {
        font-size: 18px;
    }

    .reviews-rating .rating-score {
        font-size: 18px;
    }

    .reviews-rating .rating-label {
        font-size: 14px;
    }

    .cta-wrapper {
        padding: 24px 18px;
    }

    .cta-wrapper .section-title {
        font-size: 26px;
    }

    .cta-subtitle {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-primary,
    .btn-cta-phone,
    .btn-cta-whatsapp {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-item-content {
        padding: 14px 16px;
    }

    .service-item-content h3 {
        font-size: 16px;
    }

    .service-item-content p {
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col p,
    .footer-col a {
        font-size: 14px;
    }

    .footer-bottom {
        font-size: 13px;
    }

    .about-hero img {
        height: 180px;
    }

    .about-main {
        padding: 16px;
    }

    .about-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item img {
        height: 140px;
    }

    .about-services-list li {
        font-size: 15px;
    }

    .about-license {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px;
    }

    .about-cta .btn-appointment {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 16px;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .doctor-image {
        aspect-ratio: 1708 / 2560;
    }

    .doctor-info h3 {
        font-size: 17px;
    }

    .doctor-spec {
        font-size: 14px;
    }

    .doctor-experience {
        font-size: 14px;
    }

    .contacts-grid {
        gap: 16px;
    }

    .contact-block {
        padding: 14px 16px;
        gap: 12px;
    }

    .contact-icon {
        font-size: 24px;
        width: 30px;
    }

    .contact-block h3 {
        font-size: 16px;
    }

    .contact-block p {
        font-size: 15px;
    }

    .btn-whatsapp {
        font-size: 14px;
        padding: 8px 16px;
        justify-content: center;
    }

    .contacts-map {
        min-height: 220px;
    }

    .contacts-map iframe {
        min-height: 220px;
    }

    .appointment-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .appointment-card {
        padding: 16px 10px 14px;
    }

    .appointment-icon {
        font-size: 28px;
    }

    .appointment-card h3 {
        font-size: 15px;
    }

    .appointment-card p {
        font-size: 13px;
    }

    .service-top-block {
        grid-template-columns: 1fr;
        max-width: 95%;
        gap: 16px;
    }

    .service-top-image:last-child {
        display: none;
    }

    .service-prices {
        padding: 14px 16px;
    }

    .price-item {
        gap: 8px;
        flex-wrap: wrap;
        padding: 5px 0;
    }

    .price-item span {
        font-size: 14px;
    }

    .price-item .price-value {
        font-size: 15px;
        margin-left: auto;
    }

    .service-preparation-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 16px;
        gap: 8px;
    }

    .service-description {
        padding: 16px;
    }

    .service-description p {
        font-size: 15px;
    }

    .service-list li {
        font-size: 15px;
        padding: 5px 0 5px 24px;
    }

    .service-detail-actions .btn-appointment {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
    }

    .service-detail-wrapper {
        padding: 16px;
        gap: 20px;
    }

    .service-detail-text p {
        font-size: 15px;
    }

    .service-consultations {
        padding: 16px;
    }

    .consultation-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 8px 0;
    }

    .consult-type {
        font-size: 15px;
    }

    .consult-price {
        font-size: 16px;
    }

    .service-analyses-custom {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-analyses-image {
        max-height: 140px;
    }

    .service-analyses-custom .service-advantages {
        padding: 14px 16px;
    }

    .service-analyses-custom .advantages-list li {
        font-size: 14px;
    }

    .service-ultrasound-custom {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-ultrasound-custom .service-ultrasound-image:last-child {
        display: none;
    }

    .service-ultrasound-custom .service-prices {
        padding: 14px 16px;
    }

    .service-ultrasound-custom .price-item {
        gap: 8px;
        flex-wrap: wrap;
        padding: 5px 0;
    }

    .service-ultrasound-custom .price-item span {
        font-size: 14px;
    }

    .service-ultrasound-custom .price-item .price-value {
        font-size: 15px;
        margin-left: auto;
    }

    .service-doctors-custom {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-doctors-custom .service-doctors-image:last-child {
        display: none;
    }

    .service-doctors-custom .service-prices {
        padding: 14px 16px;
    }

    .service-doctors-custom .price-item {
        gap: 8px;
        flex-wrap: wrap;
        padding: 5px 0;
    }

    .service-doctors-custom .price-item span {
        font-size: 14px;
    }

    .service-doctors-custom .price-item .price-value {
        font-size: 15px;
        margin-left: auto;
    }

    .service-procedures-custom {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-procedures-custom .service-procedures-image:last-child {
        display: none;
    }

    .service-procedures-custom .service-prices {
        padding: 14px 16px;
    }

    .service-procedures-custom .price-item {
        gap: 8px;
        flex-wrap: wrap;
        padding: 5px 0;
    }

    .service-procedures-custom .price-item span {
        font-size: 14px;
    }

    .service-procedures-custom .price-item .price-value {
        font-size: 15px;
        margin-left: auto;
    }

    .prices-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .price-category-card {
        padding: 16px;
    }

    .category-title {
        font-size: 16px;
    }

    .item-name {
        font-size: 14px;
    }

    .item-price {
        font-size: 15px;
    }

    .prices-categories {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .price-category-card {
        padding: 16px;
    }

    .category-title {
        font-size: 16px;
    }

    .item-name {
        font-size: 14px;
    }

    .item-price {
        font-size: 15px;
    }

    .prices-placeholder {
        padding: 40px 20px 30px;
    }

    .prices-placeholder-icon {
        font-size: 48px;
    }

    .prices-placeholder h2 {
        font-size: 22px;
    }

    .prices-placeholder .btn-appointment {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
    }

    .prices-messengers {
        gap: 14px;
    }

    .messenger-link {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .preparation-block {
        padding: 16px;
    }

    .preparation-block h2 {
        font-size: 19px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .drugs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-item span {
        font-size: 14px;
    }

    .drug-card p {
        font-size: 14px;
    }

    .preparation-warning ul li {
        font-size: 15px;
    }

    .preparation-address {
        font-size: 16px;
        padding: 12px 16px;
    }

    .preparation-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .preparation-card {
        padding: 20px 14px 18px;
    }

    .preparation-card-icon {
        font-size: 36px;
    }

    .preparation-card h3 {
        font-size: 16px;
    }

    .preparation-card p {
        font-size: 14px;
    }

    .preparation-placeholder {
        padding: 30px 16px;
    }

    .placeholder-icon {
        font-size: 48px;
    }

    .preparation-placeholder h2 {
        font-size: 20px;
    }

    .placeholder-contacts {
        flex-direction: column;
        align-items: center;
    }

    .placeholder-contacts .btn-appointment {
        width: 100%;
        justify-content: center;
    }

    .max-helper-wrapper {
        bottom: 20px;
        right: 16px;
        gap: 10px;
    }

    .max-helper-button {
        padding: 10px 16px;
        font-size: 16px;
        border-radius: 30px;
    }

    .max-helper-button .max-helper-icon {
        width: 26px;
        height: 26px;
    }

    .max-helper-button .max-helper-label {
        font-size: 16px;
    }

    .max-helper-tooltip {
        max-width: 260px;
        padding: 16px 18px;
        border-radius: 16px;
    }

    .max-helper-photo {
        width: 44px;
        height: 44px;
    }

    .max-helper-tooltip-text p {
        font-size: 15px;
    }

    .max-helper-tooltip-text span {
        font-size: 13px;
    }

    .max-helper-tooltip-btn {
        font-size: 14px;
        padding: 8px 18px;
    }
}

/* ----- 15.4 Маленькие телефоны (до 480px) ----- */
@media (max-width: 480px) {
    .section-title {
        font-size: 20px;
        gap: 6px;
        padding: 0 6px;
        margin-bottom: 14px;
    }

    .section-title::before,
    .section-title::after {
        width: 24px;
        height: 2px;
    }

    .logo-wrapper img {
        height: 80px;
    }

    .logo-slogan {
        font-size: 16px;
        text-align: center;
    }

    .logo-block {
        padding: 4px 0;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .doctor-image {
        aspect-ratio: 400 / 500;
    }
}

/* ----- 15.5 Экстремально маленькие (до 420px) ----- */
@media (max-width: 420px) {
    .appointment-options {
        grid-template-columns: 1fr;
    }

    .prices-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .prices-categories {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .preparation-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 160px;
    }
}

/* ----- 15.6 Очень маленькие телефоны (до 400px) ----- */
@media (max-width: 400px) {
    .section-title {
        font-size: 17px;
        gap: 4px;
        padding: 0 4px;
        margin-bottom: 12px;
    }

    .section-title::before,
    .section-title::after {
        width: 14px;
        height: 2px;
    }

    .logo-wrapper img {
        height: 64px;
    }

    .logo-slogan {
        font-size: 14px;
    }

    .header-contacts {
        gap: 4px 8px;
        font-size: 11px;
    }

    .phone-large {
        font-size: 12px;
    }

    .address-large .info .line {
        font-size: 11px;
    }

    .max-link {
        font-size: 11px;
        padding: 3px 8px;
    }

    .main-nav ul li a {
        font-size: 12px;
        padding: 3px 8px;
    }

    .btn-appointment {
        font-size: 12px;
        padding: 6px 14px;
    }

    .reasons-list li {
        font-size: 12px;
        padding: 4px 0 4px 22px;
        background-size: 14px;
    }

    .about-text p {
        font-size: 12px;
    }

    .license-number {
        font-size: 12px;
    }

    .review-text {
        font-size: 12px;
    }

    .phone-large {
        font-size: 13px;
    }

    .cta-wrapper .section-title {
        font-size: 17px;
    }

    .cta-subtitle {
        font-size: 13px;
    }

    .max-link {
        font-size: 12px;
        padding: 6px 12px;
    }

    .max-link .max-icon {
        width: 16px;
        height: 16px;
    }
}

/* ----- 15.7 Логотип на телефонах (все правки в одном месте) ----- */
@media (max-width: 640px) {
    .logo-block {
        width: 100%;
        justify-content: center;
        flex-shrink: 0;
        padding: 4px 0;
    }

    .logo-wrapper {
        align-items: center;
        max-width: 100%;
    }

    .logo-wrapper img {
        height: 64px !important;
        width: auto !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
        object-fit: contain !important;
    }

    .logo-slogan {
        font-size: 14px !important;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-wrapper img {
        height: 56px !important;
        width: auto !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
        object-fit: contain !important;
    }

    .logo-slogan {
        font-size: 13px !important;
    }
}

@media (max-width: 400px) {
    .logo-wrapper img {
        height: 48px !important;
        width: auto !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
        object-fit: contain !important;
    }

    .logo-slogan {
        font-size: 11px !important;
    }
}

/* ==========================================
   ==========================================
   16. СТРАНИЦА ПОДГОТОВКИ К АНАЛИЗАМ (PREPARATION-ANALYSES)
   ==========================================
   ========================================== */

/* ----- 16.1 Общие стили страницы ----- */
.page-title {
    font-size: 34px;
    font-weight: 800;
    color: #1e2f3d;
    margin-bottom: 10px;
    text-align: center;
}

.page-subtitle {
    font-size: 18px;
    color: #4a5f55;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.preparation-analyses-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* ----- 16.2 Блок с общими рекомендациями ----- */
.preparation-block {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 28px 32px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.preparation-block h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #edf7e8;
    display: flex;
    align-items: center;
}

/* Список рекомендаций (анализы) */
.analyses-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.analyses-list li {
    font-size: 17px;
    color: #1e2f3d;
    padding: 8px 0;
    border-bottom: 1px solid #f2f9f4;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.analyses-list li:last-child {
    border-bottom: none;
}

.analyses-list li i {
    display: inline-block;
    color: #5aaf30;
    font-size: 20px;
    min-width: 26px;
    margin-top: 4px;
}

/* ----- 16.3 Сетка "Разрешено / Запрещено" ----- */
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.products-col {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.products-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #d4e8c9;
    display: flex;
    align-items: center;
}

.products-col.allowed h3 {
    color: #5aaf30;
}

.products-col.forbidden h3 {
    color: #e74c3c;
}

.products-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-col ul li {
    font-size: 16px;
    color: #1e2f3d;
    padding: 6px 0 6px 30px;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid #edf7e8;
}

.products-col ul li:last-child {
    border-bottom: none;
}

.products-col ul li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #5aaf30;
    font-weight: 700;
    font-size: 22px;
}

.products-col.forbidden ul li::before {
    color: #e74c3c;
}

/* ----- 16.4 Блок предупреждения ----- */
.preparation-warning {
    background: #fff5f0;
    border-left: 4px solid #e67e22;
    border-radius: 16px;
    padding: 22px 28px;
    margin-bottom: 10px;
    border: 1px solid #fde8d8;
    border-left-width: 6px;
}

.preparation-warning h2 {
    font-size: 20px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    border-bottom: none;
}

.preparation-warning ul {
    padding-left: 20px;
    margin: 0;
}

.preparation-warning ul li {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.6;
    margin-bottom: 4px;
    list-style: disc;
}

/* ----- 16.5 Адаптив для страницы анализов ----- */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    .page-subtitle {
        font-size: 16px;
    }
    .preparation-block {
        padding: 20px;
    }
    .preparation-block h2 {
        font-size: 20px;
    }
    .analyses-list li {
        font-size: 15px;
        gap: 10px;
    }
    .analyses-list li i {
        font-size: 18px;
        min-width: 22px;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .products-col {
        padding: 16px 18px;
    }
    .products-col ul li {
        font-size: 15px;
    }
    .preparation-warning {
        padding: 18px 20px;
    }
    .preparation-warning ul li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }
    .page-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .preparation-block {
        padding: 16px;
    }
    .preparation-block h2 {
        font-size: 18px;
    }
    .analyses-list li {
        font-size: 14px;
        gap: 8px;
        padding: 6px 0;
    }
    .analyses-list li i {
        font-size: 16px;
        min-width: 20px;
    }
    .products-col {
        padding: 14px 16px;
    }
    .products-col ul li {
        font-size: 14px;
        padding: 4px 0 4px 24px;
    }
    .preparation-warning {
        padding: 14px 16px;
    }
    .preparation-warning ul li {
        font-size: 14px;
    }
}

/* ----- 16.6 Улучшения для УЗИ ----- */
.preparation-block p {
    font-size: 16px;
    color: #4a5f55;
    line-height: 1.6;
}

.preparation-block h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 6px;
}

/* Стили для вложенных списков в УЗИ */
.preparation-block ul ul {
    padding-left: 20px;
    margin: 4px 0;
}

.preparation-block ul ul li {
    font-size: 15px;
    color: #1e2f3d;
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.5;
    border-bottom: none;
    list-style: none;
}

.preparation-block ul ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #5aaf30;
    font-weight: 700;
}

.preparation-block ul ul li:last-child {
    border-bottom: none;
}

/* ==========================================
   ==========================================
   16. СТРАНИЦА ПОДГОТОВКИ К УЗИ
   ==========================================
   ========================================== */

.page-title {
    font-size: 34px;
    font-weight: 800;
    color: #1e2f3d;
    margin-bottom: 10px;
    text-align: center;
}

.page-subtitle {
    font-size: 18px;
    color: #4a5f55;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.preparation-block {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 28px 32px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.preparation-block h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #edf7e8;
    display: flex;
    align-items: center;
}

.preparation-block h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 6px;
}

.preparation-block p {
    font-size: 16px;
    color: #4a5f55;
    line-height: 1.6;
}

.analyses-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.analyses-list li {
    font-size: 17px;
    color: #1e2f3d;
    padding: 8px 0;
    border-bottom: 1px solid #f2f9f4;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.analyses-list li:last-child {
    border-bottom: none;
}

.analyses-list li i {
    display: inline-block;
    color: #5aaf30;
    font-size: 20px;
    min-width: 26px;
    margin-top: 4px;
}

/* Блок предупреждения */
.preparation-warning {
    background: #fff5f0;
    border-left: 4px solid #e67e22;
    border-radius: 16px;
    padding: 22px 28px;
    margin-bottom: 10px;
    border: 1px solid #fde8d8;
    border-left-width: 6px;
}

.preparation-warning h2 {
    font-size: 20px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    border-bottom: none;
}

.preparation-warning ul {
    padding-left: 20px;
    margin: 0;
}

.preparation-warning ul li {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.6;
    margin-bottom: 4px;
    list-style: disc;
}

/* Адаптив */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    .page-subtitle {
        font-size: 16px;
    }
    .preparation-block {
        padding: 20px;
    }
    .preparation-block h2 {
        font-size: 20px;
    }
    .analyses-list li {
        font-size: 15px;
        gap: 10px;
    }
    .analyses-list li i {
        font-size: 18px;
        min-width: 22px;
    }
    .preparation-warning {
        padding: 18px 20px;
    }
    .preparation-warning ul li {
        font-size: 15px;
    }
    /* Сетка для малого таза */
    .preparation-block > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }
    .page-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .preparation-block {
        padding: 16px;
    }
    .preparation-block h2 {
        font-size: 18px;
    }
    .analyses-list li {
        font-size: 14px;
        gap: 8px;
        padding: 6px 0;
    }
    .analyses-list li i {
        font-size: 16px;
        min-width: 20px;
    }
    .preparation-warning {
        padding: 14px 16px;
    }
    .preparation-warning ul li {
        font-size: 14px;
    }
}

/* ==========================================
   ==========================================
   16. СТРАНИЦА ПОДГОТОВКИ К ФГДС
   ==========================================
   ========================================== */

.page-title {
    font-size: 34px;
    font-weight: 800;
    color: #1e2f3d;
    margin-bottom: 10px;
    text-align: center;
}

.page-subtitle {
    font-size: 18px;
    color: #4a5f55;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.preparation-block {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 28px 32px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.preparation-block h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #edf7e8;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.analyses-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.analyses-list li {
    font-size: 17px;
    color: #1e2f3d;
    padding: 8px 0;
    border-bottom: 1px solid #f2f9f4;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.analyses-list li:last-child {
    border-bottom: none;
}

.analyses-list li i {
    display: inline-block;
    color: #5aaf30;
    font-size: 20px;
    min-width: 26px;
    margin-top: 4px;
}

.analyses-list li .fa-ban,
.analyses-list li .fa-xmark {
    color: #e74c3c;
}

.analyses-list li ul {
    margin-top: 4px;
}

/* Вложенные списки */
.analyses-list li ul li {
    padding: 4px 0;
    border-bottom: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analyses-list li ul li i {
    min-width: 18px;
    font-size: 14px;
    margin-top: 0;
}

/* Сетка разрешено/запрещено */
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.products-col {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.products-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #d4e8c9;
    display: flex;
    align-items: center;
}

.products-col.allowed h3 {
    color: #5aaf30;
}

.products-col.forbidden h3 {
    color: #e74c3c;
}

.products-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-col ul li {
    font-size: 16px;
    color: #1e2f3d;
    padding: 6px 0 6px 30px;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid #edf7e8;
}

.products-col ul li:last-child {
    border-bottom: none;
}

.products-col ul li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #5aaf30;
    font-weight: 700;
    font-size: 22px;
}

.products-col.forbidden ul li::before {
    color: #e74c3c;
}

/* Блок предупреждения */
.preparation-warning {
    background: #fff5f0;
    border-left: 4px solid #e67e22;
    border-radius: 16px;
    padding: 22px 28px;
    margin-bottom: 24px;
    border: 1px solid #fde8d8;
    border-left-width: 6px;
}

.preparation-warning h2 {
    font-size: 20px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    border-bottom: none;
}

.preparation-warning ul {
    padding-left: 20px;
    margin: 0;
}

.preparation-warning ul li {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.6;
    margin-bottom: 4px;
    list-style: disc;
}

/* CTA */
.cta-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 30px 40px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.cta-wrapper .cta-subtitle {
    font-size: 18px;
    color: #4a5f55;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.phone-large {
    font-size: 22px;
    font-weight: 700;
    color: #1e2f3d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-large:hover {
    color: #5aaf30;
}

.max-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e2f3d;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
}

.max-link:hover {
    color: #5aaf30;
}

.max-link .max-icon {
    width: 28px;
    height: 28px;
    display: inline-block;
    object-fit: contain;
    vertical-align: middle;
}

/* Адаптив */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    .page-subtitle {
        font-size: 16px;
    }
    .preparation-block {
        padding: 20px;
    }
    .preparation-block h2 {
        font-size: 20px;
    }
    .analyses-list li {
        font-size: 15px;
        gap: 10px;
    }
    .analyses-list li i {
        font-size: 18px;
        min-width: 22px;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .products-col {
        padding: 16px 18px;
    }
    .products-col ul li {
        font-size: 15px;
    }
    .preparation-warning {
        padding: 18px 20px;
    }
    .preparation-warning ul li {
        font-size: 15px;
    }
    .cta-wrapper {
        padding: 24px 18px;
    }
    .phone-large {
        font-size: 18px;
    }
    .max-link {
        font-size: 17px;
    }
    .max-link .max-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }
    .page-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .preparation-block {
        padding: 16px;
    }
    .preparation-block h2 {
        font-size: 18px;
    }
    .analyses-list li {
        font-size: 14px;
        gap: 8px;
        padding: 6px 0;
    }
    .analyses-list li i {
        font-size: 16px;
        min-width: 20px;
    }
    .products-col {
        padding: 14px 16px;
    }
    .products-col ul li {
        font-size: 14px;
        padding: 4px 0 4px 24px;
    }
    .preparation-warning {
        padding: 14px 16px;
    }
    .preparation-warning ul li {
        font-size: 14px;
    }
    .cta-wrapper {
        padding: 20px 14px;
    }
    .phone-large {
        font-size: 16px;
    }
    .max-link {
        font-size: 15px;
    }
    .max-link .max-icon {
        width: 20px;
        height: 20px;
    }
    .cta-buttons {
        gap: 10px;
    }
}

/* ==========================================
   ==========================================
   17. БЛОК «ЭНДОСКОПИЯ» (НА ГЛАВНОЙ СТРАНИЦЕ)
   ==========================================
   ========================================== */

/* ----- 17.1 Общие стили для блока эндоскопии ----- */
.endoscopy-section {
    padding: 0 0 20px;
    background: transparent;
    display: flex;
    justify-content: center;
}

.endoscopy-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 28px 32px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 1600px;
}

/* ----- 17.2 Продолжительность исследования ----- */
.endoscopy-duration {
    width: 100%;
}

.endoscopy-duration h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 12px;
}

.duration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.duration-item {
    background: #edf7e8;
    border-radius: 12px;
    padding: 14px 18px;
    border-left: 4px solid #5aaf30;
}

.duration-item strong {
    color: #1e2f3d;
    font-size: 16px;
}

.duration-item p {
    font-size: 15px;
    color: #4a5f55;
    margin: 4px 0 0 0;
    line-height: 1.5;
}

.duration-item.highlight {
    background: #fef9e7;
    border-left-color: #f39c12;
}

.duration-note {
    font-size: 15px;
    color: #4a5f55;
    background: #f7fbf9;
    padding: 10px 16px;
    border-radius: 10px;
    margin: 0;
}

.duration-note i {
    color: #5aaf30;
    margin-right: 6px;
}

/* ----- 17.3 Показания и противопоказания ----- */
.endoscopy-indications {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 0;
}

.indications-col {
    border-radius: 14px;
    padding: 18px 22px;
}

.indications-col.allowed {
    background: #edf7e8;
    border-left: 4px solid #5aaf30;
}

.indications-col.forbidden {
    background: #fff5f0;
    border-left: 4px solid #e74c3c;
}

.indications-col h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 8px;
}

.indications-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.indications-col ul li {
    font-size: 15px;
    color: #1e2f3d;
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.5;
}

.indications-col ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.indications-col.allowed ul li::before {
    color: #5aaf30;
}

.indications-col.forbidden ul li::before {
    color: #e74c3c;
}

/* ----- 17.4 Как проводится процедура ----- */
.endoscopy-how {
    width: 100%;
    margin-top: 0;
}

.endoscopy-how h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 12px;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.how-step {
    background: #f7fbf9;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    border: 1px solid #e4eee8;
}

.how-step .step-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 4px;
}

.how-step .step-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e2f3d;
}

.how-note {
    font-size: 15px;
    color: #4a5f55;
    margin-top: 12px;
    background: #edf7e8;
    padding: 10px 16px;
    border-radius: 10px;
}

/* ----- 17.5 Осложнения и восстановление ----- */
.endoscopy-recovery {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 0;
}

.recovery-col {
    border-radius: 14px;
    padding: 18px 22px;
}

.recovery-col.complications {
    background: #edf7e8;
}

.recovery-col.restoration {
    background: #f7fbf9;
    border-left: 4px solid #5aaf30;
}

.recovery-col h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 8px;
}

.recovery-col p {
    font-size: 15px;
    color: #4a5f55;
    margin-bottom: 8px;
}

.recovery-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recovery-col ul li {
    font-size: 15px;
    color: #1e2f3d;
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.5;
}

.recovery-col ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #5aaf30;
    font-weight: 700;
}

.recovery-col.complications ul li::before {
    color: #5aaf30;
}

.recovery-col .warning-text {
    font-size: 15px;
    color: #4a5f55;
    margin-top: 8px;
}

.recovery-col .warning-text strong {
    color: #1e2f3d;
}

/* ----- 17.6 Что показывает исследование ----- */
.endoscopy-results {
    width: 100%;
    background: #edf7e8;
    border-radius: 14px;
    padding: 18px 22px;
    border-left: 4px solid #5aaf30;
    margin-top: 0;
}

.endoscopy-results h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 8px;
}

.endoscopy-results p {
    font-size: 15px;
    color: #4a5f55;
    margin-bottom: 8px;
}

.endoscopy-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
}

.endoscopy-results ul li {
    font-size: 15px;
    color: #1e2f3d;
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.5;
}

.endoscopy-results ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #5aaf30;
    font-weight: 700;
}

/* ----- 17.7 Скачать документ ----- */
.endoscopy-download {
    width: 100%;
    text-align: center;
    background: #f7fbf9;
    border-radius: 14px;
    padding: 18px 22px;
    border: 2px dashed #5aaf30;
    margin-top: 0;
}

.endoscopy-download p {
    font-size: 18px;
    font-weight: 600;
    color: #1e2f3d;
    margin-bottom: 6px;
}

.endoscopy-download .sub {
    font-size: 15px;
    color: #4a5f55;
    margin-bottom: 12px;
}

.btn-download {
    display: inline-block;
    background: #5aaf30;
    color: #fff;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    background: #3d7a20;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 175, 48, 0.25);
}

/* ==========================================
   ==========================================
   АДАПТИВ ДЛЯ БЛОКА ЭНДОСКОПИИ
   ==========================================
   ========================================== */

@media (max-width: 992px) {
    .endoscopy-wrapper {
        padding: 20px;
    }

    .duration-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .endoscopy-indications {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .endoscopy-recovery {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .how-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .endoscopy-results ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .endoscopy-wrapper {
        padding: 16px;
    }

    .duration-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .endoscopy-indications {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .endoscopy-recovery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .how-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .how-step {
        padding: 10px 12px;
    }

    .how-step .step-icon {
        font-size: 22px;
    }

    .how-step .step-label {
        font-size: 13px;
    }

    .endoscopy-results ul {
        grid-template-columns: 1fr;
    }

    .endoscopy-download {
        padding: 14px 16px;
    }

    .endoscopy-download p {
        font-size: 16px;
    }

    .btn-download {
        padding: 10px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .endoscopy-wrapper {
        padding: 12px;
    }

    .endoscopy-duration h3,
    .endoscopy-how h3 {
        font-size: 18px;
    }

    .duration-item {
        padding: 12px 14px;
    }

    .duration-item strong {
        font-size: 15px;
    }

    .duration-item p {
        font-size: 14px;
    }

    .indications-col {
        padding: 14px 16px;
    }

    .indications-col ul li {
        font-size: 14px;
        padding: 3px 0 3px 18px;
    }

    .how-steps {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .how-step {
        padding: 8px 10px;
    }

    .how-step .step-icon {
        font-size: 20px;
    }

    .how-step .step-label {
        font-size: 12px;
    }

    .recovery-col {
        padding: 14px 16px;
    }

    .recovery-col ul li {
        font-size: 14px;
        padding: 3px 0 3px 18px;
    }

    .endoscopy-results {
        padding: 14px 16px;
    }

    .endoscopy-results ul li {
        font-size: 14px;
        padding: 3px 0 3px 18px;
    }

    .btn-download {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* Блок "Как проводится процедура" */
.endoscopy-how {
    width: 100%;
    margin-top: 0;
}

.endoscopy-how h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #edf7e8;
}

.endoscopy-how p {
    font-size: 17px;
    color: #1e2f3d;
    line-height: 1.7;
    margin-bottom: 12px;
}

.endoscopy-how ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.endoscopy-how ol li {
    font-size: 17px;
    color: #1e2f3d;
    line-height: 1.7;
    padding: 4px 0;
}

/* ==========================================
   ==========================================
   БАННЕР ДЛЯ ОНКОМАРКЕРОВ
   ==========================================
   ========================================== */

.oncomarker-banner {
    margin-bottom: 24px;
    width: 100%;
}

.oncomarker-link {
    display: block;
    background: linear-gradient(135deg, #edf7e8 0%, #d4e8c9 100%);
    border-radius: 16px;
    padding: 18px 28px;
    border: 2px solid #5aaf30;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.oncomarker-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(90, 175, 48, 0.15);
    border-color: #3d7a20;
}

.oncomarker-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.oncomarker-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oncomarker-label {
    font-size: 20px;
    font-weight: 700;
    color: #1e2f3d;
}

.oncomarker-desc {
    font-size: 15px;
    color: #4a5f55;
}

.oncomarker-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #5aaf30;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.oncomarker-icon i {
    color: #fff;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.oncomarker-link:hover .oncomarker-icon {
    background: #3d7a20;
}

.oncomarker-link:hover .oncomarker-icon i {
    transform: translateX(4px);
}

/* Адаптив */
@media (max-width: 640px) {
    .oncomarker-link {
        padding: 14px 18px;
    }

    .oncomarker-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .oncomarker-label {
        font-size: 17px;
    }

    .oncomarker-desc {
        font-size: 14px;
    }

    .oncomarker-icon {
        width: 40px;
        height: 40px;
    }

    .oncomarker-icon i {
        font-size: 16px;
    }
}

/* ==========================================
   ==========================================
   УНИВЕРСАЛЬНЫЙ КЛАСС ДЛЯ КАРТИНКИ
   ==========================================
   ========================================== */

.full-width-image {
    width: 100%;
    max-width: 1600px;  /* как у контейнера */
    margin: 0 auto;
    display: block;
    border-radius: 16px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.full-width-image-wrapper {
    width: 100%;
    margin: 0 auto;
}

.full-width-image-wrapper a {
    display: block;
}

.full-width-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 1px solid #e4eee8;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.full-width-image-wrapper a:hover img {
    transform: scale(1.005);
}

/* ==========================================
   ==========================================
   УНИВЕРСАЛЬНЫЙ СТИЛЬ ДЛЯ СТРАНИЦ ПОДГОТОВКИ
   ==========================================
   ========================================== */

.prep-simple {
    width: 100%;
}

.prep-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 20px;
    border: 1px solid #e4eee8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.prep-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e2f3d;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #edf7e8;
}

.prep-card p {
    font-size: 16px;
    color: #1e2f3d;
    line-height: 1.6;
    margin: 8px 0;
}

.prep-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prep-card ul li {
    font-size: 16px;
    color: #1e2f3d;
    padding: 6px 0 6px 24px;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid #f2f9f4;
}

.prep-card ul li:last-child {
    border-bottom: none;
}

.prep-card ul li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #5aaf30;
    font-weight: 700;
    font-size: 20px;
}

.prep-card .note {
    font-size: 15px;
    color: #4a5f55;
    background: #f7fbf9;
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 10px;
}

/* Цветные карточки */
.prep-card.green {
    border-left: 4px solid #5aaf30;
    background: rgba(237, 247, 232, 0.8);
}

.prep-card.green ul li::before {
    color: #5aaf30;
}

.prep-card.red {
    border-left: 4px solid #e74c3c;
    background: rgba(255, 245, 240, 0.8);
}

.prep-card.red ul li::before {
    color: #e74c3c;
}

.prep-card.warning {
    border-left: 4px solid #e67e22;
    background: rgba(255, 245, 240, 0.8);
}

.prep-card.warning ul li::before {
    color: #e67e22;
}

/* Две колонки */
.prep-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.prep-two-columns .prep-card {
    margin-bottom: 0;
}

/* ==========================================
   ==========================================
   АДАПТИВ ДЛЯ НОВЫХ СТРАНИЦ ПОДГОТОВКИ
   (preparation-gastroscopy, preparation-analyses, preparation-ultrasound)
   ==========================================
   ========================================== */

/* Планшеты (до 992px) */
@media (max-width: 992px) {
    .prep-simple .prep-card {
        padding: 20px 24px;
    }

    .prep-simple .prep-card h2 {
        font-size: 19px;
    }

    .prep-simple .prep-two-columns {
        gap: 16px;
    }
}

/* Телефоны (до 768px) */
@media (max-width: 768px) {
    .prep-simple .prep-card {
        padding: 18px 20px;
        border-radius: 14px;
    }

    .prep-simple .prep-card h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .prep-simple .prep-card ul li {
        font-size: 15px;
        padding: 5px 0 5px 20px;
    }

    .prep-simple .prep-card ul li::before {
        font-size: 18px;
        left: 2px;
    }

    .prep-simple .prep-card p {
        font-size: 15px;
    }

    .prep-simple .prep-card .note {
        font-size: 14px;
        padding: 8px 12px;
    }

    .prep-simple .prep-two-columns {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Телефоны (до 640px) — ТАКОЙ ЖЕ, КАК У КОЛОНОСКОПИИ */
@media (max-width: 640px) {
    .prep-simple .prep-card {
        padding: 16px 16px;
        margin-bottom: 16px;
    }

    .prep-simple .prep-card h2 {
        font-size: 17px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .prep-simple .prep-card ul li {
        font-size: 15px;
        padding: 5px 0 5px 20px;
    }

    .prep-simple .prep-card ul li::before {
        font-size: 18px;
        left: 2px;
    }

    .prep-simple .prep-card p {
        font-size: 15px;
    }

    .prep-simple .prep-card .note {
        font-size: 14px;
        padding: 8px 12px;
    }

    .prep-simple .prep-two-columns {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Заголовки страниц */
    .page-title {
        font-size: 26px;
    }

    .page-subtitle {
        font-size: 16px;
    }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .prep-simple .prep-card {
        padding: 14px 14px;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .prep-simple .prep-card h2 {
        font-size: 16px;
        margin-bottom: 6px;
        padding-bottom: 4px;
    }

    .prep-simple .prep-card ul li {
        font-size: 14px;
        padding: 4px 0 4px 18px;
    }

    .prep-simple .prep-card ul li::before {
        font-size: 16px;
        left: 2px;
    }

    .prep-simple .prep-card p {
        font-size: 14px;
    }

    .prep-simple .prep-card .note {
        font-size: 13px;
        padding: 6px 10px;
    }

    .prep-simple .prep-two-columns {
        gap: 12px;
        margin-bottom: 12px;
    }

    .page-title {
        font-size: 24px;
    }

    .page-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

/* Очень маленькие телефоны (до 400px) */
@media (max-width: 400px) {
    .prep-simple .prep-card {
        padding: 12px 12px;
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .prep-simple .prep-card h2 {
        font-size: 15px;
    }

    .prep-simple .prep-card ul li {
        font-size: 13px;
        padding: 3px 0 3px 16px;
    }

    .prep-simple .prep-card ul li::before {
        font-size: 14px;
        left: 1px;
    }

    .prep-simple .prep-card p {
        font-size: 13px;
    }

    .prep-simple .prep-card .note {
        font-size: 12px;
        padding: 6px 8px;
    }

    .prep-simple .prep-two-columns {
        gap: 10px;
        margin-bottom: 10px;
    }

    .page-title {
        font-size: 20px;
    }

    .page-subtitle {
        font-size: 13px;
    }
}
