/* === ШРИФТЫ === */
@font-face {
    font-family: 'TildaSans';
    font-style: normal;
    font-weight: 250 1000;
    src: url('../fonts/TildaSans-VF.woff2') format('woff2-variations');
    font-display: swap;
}
/* fallback */
@font-face {
    font-family: 'TildaSans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/TildaSans-Light.woff2') format('woff2');
}
@font-face {
    font-family: 'TildaSans';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/TildaSans-Black.woff2') format('woff2');
}
/* === БАЗОВЫЕ СБРОСЫ ДЛЯ БРАУЗЕРОВ === */
/* (основные сбросы уже в reset.css, здесь только доп. мелочи) */
body {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #000;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.site-body {
    min-height: 100vh;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1 0 auto;
}

/* === ССЫЛКИ === */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
/* === КНОПКИ === */
.btn {
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    font-size: 18px;
    transition: all 0.2s ease-in-out;
}
.btn:hover {
    transform: translateY(-1px);
}
/* === ЗАГОЛОВКИ === */
h1, h2, h3, h4 {
    font-weight: 400;
    margin-top: 0;
    color: #000;
}
h1 {
    font-size: 32px !important;
    line-height: 1.2;
    margin-bottom: 20px;
}
h2 {
    font-size: 26px !important;
    line-height: 1.3;
    margin-bottom: 16px;
}
h3 {
    font-size: 24px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px;
}
h4 {
    font-size: 22px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px;
}
/* === ТЕКСТ === */
p {
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 20px;
    color: #000;
    font-weight: 300;
}
/* === СЕКЦИИ === */
.section {
    padding-top: 100px;
    padding-bottom: 100px;
}
/* === АДАПТИВ === */

/* Tablet (<1200px, >=768px) */
@media (max-width: 1199px) {
    body {
        font-size: 15px;
    }
    p {
        font-size: 14px;
        margin-bottom: 16px;
        line-height: 1.5;
    }
    .section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* Mobile (<768px) */
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
    .btn {
        font-size: 15px;
        padding: 0.5rem 1.2rem;
    }
}

@media (min-width: 992px) {
    .site-header .navbar-collapse {
        display: flex;
        justify-content: center; /* центрируем меню */
    }
    .site-header .navbar-nav.centered {
        flex-direction: row;
    }
    .site-header .navbar-nav.centered .nav-link {
        margin: 0 22px; /* зазор между пунктами */
    }
}

.social-link.vk {
    text-decoration: none;
    color: #d6d5d5;
    transition: 0.2s;
}
.social-link.tg {
    color: #d6d5d5;
}

.social-link i {
    font-size: 24px;
}

/* VK */
.social-link.vk:hover {
    color: #87b2e3;
}

/* Telegram */
.social-link.tg:hover {
    color: #2AABEE;
}


/* Tilda page width */
.container-tilda {
    max-width: 1200px;
    margin: 0 auto;
}
.promos {
    max-width: 1200px;
    margin: 0 auto;
}
/* десктоп как было */
.navbar-brand img {
    width: 150px;
    min-width: 150px;
    height: auto;
    display: block;
    margin-right: 30px;
}
.navbar {
    background-color: #fff;
    /* белый фон */
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.navbar-nav .nav-link {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #000000;
    padding-left: 15px;
    padding-right: 15px;
    white-space: nowrap;
    transition: color 0.2s ease-in-out;
}
.navbar-nav .nav-link:hover {
    color: #ff241c;
}
.navbar-nav .nav-link.active {
    color: #ff241c;
}
/* планшет */
@media (max-width: 991.98px) {
    .navbar-brand img { max-width: 260px;
        margin-right: 16px;
    }
}

/* телефон */
@media (max-width: 575.98px) {
    .navbar-brand img { max-width: 200px;
        margin-right: 8px;
    }
}
.offcanvas-body a {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 400!important;
    font-size: 20px !important;
}
.offcanvas-body a:hover {
    color: #ff241c !important;
}

.offcanvas-body .btn-cta:hover {
    color: #ff241c!important;
}
.offcanvas-body .btn-custom:hover {
    color: #666666!important;
}

.navbar-toggler {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: .25rem .5rem;
}
.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
}
.phone-link {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 400 !important;
    font-size: 18px;
    font-style: normal;
    color: #000;
    white-space: nowrap;
}
.phone-link:hover {
    color: #ff241c;
}
.btn-cta {
    font-family: 'TildaSans', Arial, sans-serif;
    color: #ffffff;
    background-color: #ff241c;
    border: none;
    border-radius: 20px;
    box-shadow: none;
    padding: 10px 24px;
    font-weight: 600;
    transition: background-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}
.btn-cta:hover {
    background-color: #ce150e;
    /* чуть темнее при hover */
    transform: translateY(-2px);
    color: #ffffff;
}
.btn-cta:focus,
.btn-cta:active {
    background-color: #ff241c;
    color: #ffffff;
    text-decoration: none;
    outline: none;
    box-shadow: none;
    transform: translateY(-1px);
}
.offcanvas .btn-cta {
    background-color: #ff241c !important;
    color: #fff !important;
    border-radius: 25px;
    padding: 14px 20px;
    font-size: 18px;
    text-align: center;
    font-weight: 500;
}
.offcanvas .btn-cta:hover {
    background-color: #ce150e !important;
}


/* ====== базовая версия (desktop) уже есть у тебя ====== */
/* .hero, .hero::before, .hero-logo, .hero-logo img ... */

/* ====== ≥ 1200px — чуть крупнее можно позволить ====== */
@media (min-width: 1200px) {
    .hero-logo {
        max-width: 100px;
        bottom: 28px;
        right: 28px;
    }
}

/* ====== ≤ 992px (планшеты) — уменьшаем и поднимаем ====== */
@media (max-width: 992px) {
    .hero {
        padding: 56px 20px;
        min-height: 52vh;
    }
    .hero-logo {
        max-width: 100px;
        bottom: 22px;
        right: 22px;
        transform: rotateY(10deg) rotateX(4deg);
    }
}

/* ====== ≤ 768px (планшеты/большие телефоны) — центр под текст ====== */
@media (max-width: 768px) {
    .hero {
        padding: 48px 18px;
        min-height: 46vh;
    }
    .hero-logo {
        position: static;          /* выходим из absolute */
        order: 3;                  /* ставим после текста */
        margin: 18px auto 0;       /* по центру */
        max-width: 100px;
        transform: none;           /* убираем перспективу, чтобы не "резало" */
        z-index: 1;
    }
    .hero h1 {
        font-size: clamp(24px, 5vw, 32px);
        line-height: 1.2;
    }
    .hero .lead {
        font-size: clamp(14px, 2.8vw, 16px);
    }
}

/* ====== ≤ 576px (мобильные) — ещё компактнее ====== */
@media (max-width: 576px) {
    .hero {
        padding: 36px 16px;
        border-radius: 32px;
        min-height: 42vh;
    }
    .hero-logo {
        max-width: 100px;
        margin-top: 14px;
    }
    /* Если фон слишком тёмный, можно усилить градиент */
    .hero::before {
        background:
                linear-gradient(rgba(44, 55, 69, 0.5), rgba(44, 55, 69, 0.5)),
                url("/assets/images/02.jpg") no-repeat center/cover;
    }
}

/* ====== ≤ 380px — опционально скрыть логотип ====== */
@media (max-width: 380px) {
    .hero-logo { display: none; }
}

/* ====== доступность: меньше тряски для тех, кто отключил анимации ====== */
@media (prefers-reduced-motion: reduce) {
    .hero-logo,
    .hero-logo:hover {
        transition: none;
        transform: none;
    }
}



/* сетка на всех ширинах будет аккуратной; на мобиле в колонку сами встанут */
.info-card {
    position: relative;
    background: #3e8db7;
    /* фирменный голубой */
    color: #fff;
    /* БЕЛЫЙ текст */
    border-radius: 50px;
    /* большое скругление как на скрине */
    padding: 48px 48px;
    /* простор внутри */
    box-shadow: 4px 8px 30px rgba(0,0,0,0.15);
    /* мягкая тень под блоком */
    transition: transform .2s ease, box-shadow .2s ease;
    overflow: visible;
}
.icon-bg {
    position: absolute;
    bottom: -20px; /* частично ниже карточки */
    right: -20px; /* частично справа */
    font-size: 8rem; /* очень крупная */
    color: rgba(255, 255, 255, 0.08); /* полупрозрачная белая */
    pointer-events: none;
    z-index: 0; /* чтобы текст был выше иконки */
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0,0,0,.16);
}

.info-card h3 a {
    color: inherit; /* чтобы текст остался белым */
    text-decoration: none; /* убрать подчеркивание */
}
.info-card h3 a:hover {
    text-decoration: none; /* или эффект при наведении */
}
/* заголовок и текст в белом + размеры «тильда» */
.info-card h3 {
    font-family: 'TildaSans', Arial, sans-serif;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 18px;
    position: relative; /* текст поверх иконки */
    z-index: 1;
}
.info-card p {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 400;
    color: #fff;
    /* слегка мягче белый */
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
    position: relative; /* текст поверх иконки */
    z-index: 1;
}
/* расстояния между карточками уже делает .row.g-4, но можно добавить сверху/снизу секции */
.container-tilda .row.g-4 {
    margin-top: 10px;
}
/* адаптив: на планшете чуть компактнее, на мобиле – ещё компактнее */
@media (max-width:1199.98px) {
    .info-card{ border-radius: 44px;
        padding: 36px 40px;
        min-height: 250px;
    }
    .info-card h3 {
        padding-top: 30px;
        font-size: 24px;
        margin-bottom: 14px;
    }
}
@media (max-width:767.98px) {
    .info-card{ border-radius: 36px;
        padding: 28px 28px;
    }
}

/* Заголовок блока */
.section-title {
    font-weight: 600;
    font-family: 'TildaSans', Arial, sans-serif;
    font-size: clamp(28px, 4vw, 42px) !important;
    margin-bottom: 16px;
    color: #111;
}
/* Подзаголовок */
.section-subtitle {
    font-family: 'TildaSans', Arial, sans-serif;
    font-size: 24px !important;
    font-weight: 400;
    color: #555;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.5;
}

.section-subtitles {
    font-family: 'TildaSans', Arial, sans-serif;
    font-size: 24px !important;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
}
/* Карточка = колонка, кнопка прижата вниз */
.service-card {
    padding: 0;
}
.service-img {
    width: 100%;
    border-radius: 30px;
    display: block;
    aspect-ratio: 16/9;
    /* держим одинаковую высоту картинок */
    object-fit: cover;
    margin-bottom: 18px;
}
.service-card h3 {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.4 !important;
    margin: 0 0 10px;
    color: #111;
}
.service-text {
    font-size: 15px;
    line-height: 1.55;
    color: #4b4b4b;
    margin: 0 0 20px;
}
/* Кнопка «как у Тильды» */
.btn-outline-brand {
    font-family: 'TildaSans', Arial, sans-serif;
    display: inline-block;
    padding: 10px 22px;
    border: 2px solid #3e8db7;
    color: #3e8db7;
    border-radius: 999px;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background-color: #3e8db7;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(62,141,183,.25);
}

.btn-outline-brand-1 {
    font-family: 'TildaSans', Arial, sans-serif;
    display: inline-block;
    padding: 10px 22px;
    border: 2px solid #3e8db7;
    color: #ffffff;
    border-radius: 999px;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-outline-brand-1:hover,
.btn-outline-brand-1:focus {
    background-color: #3e8db7;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(62,141,183,.25);
}
/* Адаптивные мелочи */
@media (max-width: 1199.98px) {
    .service-card h3{ font-size: 24px;
    }
}
@media (max-width: 767.98px) {
    .service-card h3{ font-size: 22px;
    }
}

.btn-wide {
    font-family: 'TildaSans', Arial, sans-serif;
    background: #3e8db7;
    color: #fff;
    padding: 12px 36px;
    border-radius: 999px;
    font-weight: 600;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-wide:hover {
    background: #2f6c8d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px
    rgba(62,141,183,.25);
}
/* Slide block */
/* Основной блок */
.hero-carousel .slide {
    position: relative;
    height: 550px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero-carousel .overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 55, 69, 0.7);
    z-index: 0;
}
.hero-carousel .content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    padding: 0 20px;
    color: #fff;
}
.hero-carousel .content h2 {
    font-family: 'TildaSans', sans-serif;
    font-weight: 600;
    max-width: 900px;
    font-size: clamp(28px, 5.2vw, 48px) !important;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #fff;
}
.hero-carousel .content p {
    max-width: 900px;
    font-size: 18px;
    line-height: 1.55;
    color: #fff;
    margin: 0 0 22px;
    font-family: 'TildaSans', sans-serif;
}
.hero-carousel .btn-cta {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    color: #fff;
    background: #3e8db7;
    text-decoration: none;
    transition: background-color .25s ease, transform .2s ease;
    margin-top: 30px;
}
.hero-carousel .btn-cta:hover {
    background: #2f6c8d;
    transform: translateY(-2px);
}
/* Стрелки */
.hero-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
    pointer-events: none;
}
.hero-carousel .owl-nav button.owl-prev,
.hero-carousel .owl-nav button.owl-next {
    all: unset;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: #fff;
    color: #666666;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    pointer-events: auto;
}
.hero-carousel .owl-nav button.owl-prev:hover,
.hero-carousel .owl-nav button.owl-next:hover {
    background: #ffc20a;
    color: #ffffff;
}
/* Точки */
.hero-carousel .owl-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.hero-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
}
.hero-carousel .owl-dot.active span {
    opacity: 1;
    outline: 2px solid #2f6c8d;
    outline-offset: 2px;
}
.about-section {
    background-color: #f3f7f9;
    padding: 80px 20px;
}
.about-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}
.about-block.reverse {
    flex-direction: row-reverse;
}
.about-text {
    flex: 1 1 500px;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-top: 30px;
}
/*.about-text p {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 300;
    font-family: 'TildaSans', sans-serif;
}*/
.about-text h1 {
    font-size: 72px !important;
    margin-bottom: 44px;
    font-weight: 600;
    font-family: 'TildaSans', sans-serif;
}
.about-text h2 {
    font-size: 42px !important;
    margin-bottom: 44px;
    font-weight: 600;
    font-family: 'TildaSans', sans-serif;
}
@media (max-width: 767.98px) {
    .about-text h2 {
        font-size: 42px !important;
        margin-bottom: 44px;
        font-weight: 600;
        font-family: 'TildaSans', sans-serif;
        text-align: center;
    }
}
.about-image {
    flex: 1 1 500px;
}
.bg-light {
    background-color: #f2f7fa !important;
}
.about-image img {
    width: 100%;
    border-radius: 24px;
    font-weight: 300;
    font-family: 'TildaSans', sans-serif;
}
.feature {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature h5 {
    font-size: 18px;
    font-weight: 700;
    font-family: 'TildaSans', sans-serif;
    margin-bottom: 12px;
}
.feature p {
    font-weight: 300;
    font-family: 'TildaSans', sans-serif;
}
.doctor-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}
.doctor-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background-color: #f2f2f2;
    transition: box-shadow 0.3s ease;
}
.doctor-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.doctor-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 24px;
    background-color: #f2f2f2;
    border-radius: 0 0 24px 24px;
    text-align: center;
}
.doctor-card .card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}
.doctor-card .card-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    min-height: 38px;
}


/*дубль*/

.doctor-card-1 {
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.doctor-card-1:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

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



.doctor-info-1 {
    background: #f5fbff; /* светло-голубой фон */
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.doctor-card-1:hover .doctor-info {
    background: #e9f6ff; /* чуть насыщеннее при ховере */
}

.doctor-info-1 h5 {
    font-family: 'TildaSans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
}

.doctor-info-1 p {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/*service cards*/
.services-container-show {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
@media (max-width: 992px) {
    .services-container-show {
        grid-template-columns: 1fr;
    }
}

.service-card-show {
    padding: 20px;
    border-bottom: 1px solid #eaeaea;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}
.service-card-show:nth-child(odd) {
    border-right: 1px solid #eaeaea;
}
.service-card-show:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
@media (max-width: 992px) {
    .services-container {
        grid-template-columns: 1fr;
    }
    .service-card-show:nth-child(odd) {
        border-right: none;
    }
}


.service-card-show img {
    width: 100%;
    border-radius: 20px 20px 0 0;
    height: auto;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}



.service-info-show {
    background: #f5fbff; /* светло-голубой фон */
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s ease;
}


.service-info-show h5 {
    font-family: 'TildaSans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
}

.service-info-show p {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/*license*/
/*service cards*/
.license-container-show {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
@media (max-width: 992px) {
    .license-container-show {
        grid-template-columns: 1fr;
    }
}

.license-card-show {
    padding: 20px;
    border-bottom: 1px solid #eaeaea;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}
.license-card-show:nth-child(odd) {
    border-right: 1px solid #eaeaea;
}
.license-card-show:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
@media (max-width: 992px) {
    .license-container {
        grid-template-columns: 1fr;
    }
    .license-card-show:nth-child(odd) {
        border-right: none;
    }
}


.license-card-show img {
    width: 100%;
    border-radius: 10px;
    height: auto;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}



.license-info-show {
    background: #f5fbff; /* светло-голубой фон */
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.license-info {
    text-align: left; /* выравниваем текст слева */
}

.license-link a {
    display: inline-block;
    margin-left: 10px; /* небольшой отступ между кнопками */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.license-info-show h5 {
    font-family: 'TildaSans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
}

.license-info-show p {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}
.license-header-show {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
/* Мобильная версия для карточек лицензий */
@media (max-width: 992px) {
    .license-container-show {
        grid-template-columns: 1fr; /* карточки в один столбец */
        gap: 20px; /* отступ между карточками */
    }

    .license-card-show {
        padding: 15px;
    }

    .license-header-show {
        flex-direction: column; /* название и кнопки друг под другом */
        align-items: flex-start; /* выравнивание по левому краю */
        gap: 10px; /* отступ между блоками */
    }

    .license-link {
        display: flex;
        flex-direction: column; /* кнопки друг под другом */
        gap: 10px;
        width: 100%;
    }

    .license-link a {
        width: 100%; /* кнопки растягиваются на всю ширину */
        text-align: center; /* текст внутри кнопки по центру */
    }

    .license-info-show {
        padding: 15px;
    }

    .license-name {
        font-size: 16px;
    }

    .license-desc {
        font-size: 14px;
    }
}



.carousel-wrapper {
    position: relative;
}

/* Стрелки позиционируем по ширине окна, вне .container */
.carousel-wrapper .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100vw;
    transform: translateY(-50%);
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
    padding: 0 32px;
    margin-left: calc((100vw - 100%) / -2); /* выровнять по краям экрана */
    margin-right: calc((100vw - 100%) / -2);
}

.carousel-wrapper .owl-nav button.owl-prev,
.carousel-wrapper .owl-nav button.owl-next {
    all: unset;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: #fff;
    color: #666666;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    pointer-events: auto;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-wrapper .owl-nav button.owl-prev:hover,
.carousel-wrapper .owl-nav button.owl-next:hover {
    background-color: #ffc20a;
    color: #fff;
}

/* Адаптив */
@media (max-width: 768px) {
    .carousel-wrapper .owl-nav {
        padding: 0 16px;
    }

    .carousel-wrapper .owl-nav button.owl-prev,
    .carousel-wrapper .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
}


.appointment-section h2 {
    font-family: 'TildaSans', sans-serif;
    font-size: clamp(28px, 5.2vw, 42px) !important;
    font-weight: 600;
    color: #ffffff !important;
    padding-top: 50px !important;
}
.appointment-section p {
    font-family: 'TildaSans', sans-serif;
    font-size: 18px !important;
    font-weight: 400;
    color: #ffffff !important;
}
/* пусть фон + затемнение работают корректно */
.appointment-section{
    position: relative;
    background: url('/assets/images/form.jpg') center/cover no-repeat;
    min-height: 550px;
    padding: 48px 16px;
}
.appointment-section::before{
    content:"";
    position:absolute; inset:0;
    background:rgba(44,55,69,.7);
    z-index:0;                 /* оверлей над фоном */
}
.appointment-section > *{ position:relative; z-index:1; }

/* грид формы */
.appointment-section form{
    max-width: 1200px;          /* чтобы не растягивалась слишком широко */
    margin: 0 auto;
}

/* базовые поля */
.appointment-section .form-control{
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 16px !important;
}

/* intl-tel-input: контейнер тянется на всю ширину колонки */
.appointment-section .iti{ width:100%; }
#phone.form-control{ padding-left: 90px !important; } /* место под флаг+код */
.iti__selected-country-primary{ padding-left: 26px !important; }

/* кнопка */
.appointment-section .btn{
    border-radius: 50px;
    white-space: nowrap;
}
.appointment-section .btn-primary{
    background:#3e8db7; border:none; transition: background .3s;
}
.appointment-section .btn-primary:hover{ background:#2f6c8d; }

/* планшет/мобилки: колонки и так станут col-12,
   просто подправим отступы и высоты */
@media (max-width: 991.98px){
    .appointment-section{ min-height:480px; padding: 32px 12px; }
    .appointment-section .btn{ width:100%; }
}
@media (max-width: 991.98px){
    .appointment-section .btn{ padding:12px; }
}

@media (max-width: 575.98px){
    .appointment-section{ min-height:420px; }
    .appointment-section .form-control,
    .appointment-section .iti input{
        font-size:16px;
        line-height:1.2;
    }
}
.map-contact-box {
    background-color: #3e8db7;
    color: #fff;
    padding: 40px;
    border-radius: 30px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-family: 'TildaSans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.map-contact-box h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .map-contact-box {
        padding: 24px;
        border-radius: 20px;
        font-size: 16px;
    }
}


.site-footer {
    background-color: #ffffff;
    padding: 60px 20px 40px;
    font-family: 'TildaSans', sans-serif;
    font-size: 15px;
    color: #555;
}

.site-footer a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #3e8db7;
}

.site-footer h5 {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
    color: #000;
}

.site-footer .footer-logo {
    margin-bottom: 20px;
    max-width: 120px;
}
.contact-info-box {
    background-color: #3e8db7;
    color: #fff;
    padding: 40px;
    border-radius: 30px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-family: 'TildaSans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
}
.contact-info-box h4 {
    font-size: 28px;
    font-weight: 600;
    font-family: 'TildaSans', sans-serif;
}
.contact-info-box p {
    font-size: 18px;
    font-weight: 400;
    font-family: 'TildaSans', sans-serif;

}

/**/

.contact-info {
    padding: 40px;
    border-radius: 30px;
    max-width: 600px;
    margin: auto;
    font-family: 'TildaSans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}
.contact-info p {
    font-size: 20px;
    font-weight: 400;
    font-family: 'TildaSans', sans-serif;
}

/* Только для блока на карте (десктоп) */
@media (min-width: 768px) {
    .map-container .contact-info-box {
        position: absolute;
        top: 50%;
        left: 20%;
        transform: translate(-40%, -50%);
        z-index: 2;
    }
}

/* Мобильный блок */
@media (max-width: 767.98px) {
    .contact-mobile {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .contact-mobile .contact-info-box {
        position: static;
        transform: none;
        border-radius: 0;
        max-width: 100%;
        box-shadow: none;
        padding: 24px;
        font-size: 16px;
    }
}

/* Для мобильных */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 15px 30px;
        text-align: center !important;
    }

    .site-footer .footer-logo {
        margin: 0 auto 20px;
    }

    /* Каждая колонка на мобилке подстраивается */
    .site-footer .col-6,
    .site-footer .col-12 {
        margin-bottom: 20px;
    }
}

/* Стили ссылок */
.footer-bar .nav-link {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    padding-top: 5px;
    padding-bottom: 5px;
    white-space: nowrap;
    transition: color 0.2s ease-in-out;
}

.footer-bar .nav-link:hover {
    color: #2f6c8d;
}

/* Заголовки */
.footer h5 {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #000000;
    padding-bottom: 15px;
    white-space: nowrap;
}

.services-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}
.services-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background-color: #f3f7f9;
    transition: box-shadow 0.3s ease;
}
.services-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.services-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 24px;
    background-color: #f3f7f9;
    border-radius: 0 0 24px 24px;
    text-align: center;
}
.services-card .card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}
.services-card .card-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    min-height: 38px;
}
.services-card .btn {
    margin-top: auto;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 30px;
    border: 2px solid #3e8db7;
    color: #3e8db7;
    background-color: transparent;
    transition: 0.3s ease;
}
.services-card .btn:hover {
    background-color: #2f6c8d;
    color: #fff;
}

.carousel-wrapper {
    position: relative;
}

/* Стрелки позиционируем по ширине окна, вне .container */
.carousel-wrapper .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100vw;
    transform: translateY(-50%);
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
    padding: 0 32px;
    margin-left: calc((100vw - 100%) / -2); /* выровнять по краям экрана */
    margin-right: calc((100vw - 100%) / -2);
}

.carousel-wrapper .owl-nav button.owl-prev,
.carousel-wrapper .owl-nav button.owl-next {
    all: unset;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: #fff;
    color: #666666;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    pointer-events: auto;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-wrapper .owl-nav button.owl-prev:hover,
.carousel-wrapper .owl-nav button.owl-next:hover {
    background-color: #ffc20a;
    color: #fff;
}

/* Адаптив */
@media (max-width: 768px) {
    .carousel-wrapper .owl-nav {
        padding: 0 16px;
    }

    .carousel-wrapper .owl-nav button.owl-prev,
    .carousel-wrapper .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
}

/* glazd*/

#glazd {
    width: 34px;       /* базовый размер */
    min-width: 34px;   /* не меньше этого */
    height: auto;
}

/* от 1200px и выше (desktop XL) — увеличиваем */
@media (min-width: 1200px) {
    #glazd {
        width: 34px;
        min-width: 34px;
    }
}

.glazd {
    width: 34px;       /* базовый размер */
    min-width: 34px;   /* не меньше этого */
    height: auto;
}

/* от 1200px и выше (desktop XL) — увеличиваем */
@media (min-width: 1200px) {
    .glazd {
        width: 34px;
        min-width: 34px;
    }
}


/* === Promo Cards === */
.promo-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card {
    border: none !important;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,.15);
}

/* Картинка */
.promo-image {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 200px;
}

.promo-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #0d6efd; /* Bootstrap primary */
    color: #fff;
    padding: .4rem .8rem;
    border-radius: 0.5rem;
    font-size: .85rem;
    font-weight: 600;
}

/* Контент */
.promo-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.promo-content h3 {
    font-size: 1.25rem;
    margin-bottom: .75rem;
    color: #212529;
}

.promo-content p {
    flex-grow: 1;
    color: #6c757d;
}

/* Даты */
.dates {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #495057;
}

.date-item span {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
}


.timeline {
    list-style: none;
    text-align: left;
    padding-left: 0;
}
.timeline li {
    margin-bottom: 0.5rem;
}
.timeline .year {
    font-family: 'TildaSans', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #3e8db7;
}



/*deep*/

.section-header-1 {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 25px 30px;
}
.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
@media (max-width: 992px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}
.service-info {
    flex: 1;
}
.service-name {
    font-family: 'TildaSans', Arial, sans-serif;
    text-align: left;
    font-weight: 500;
    font-size: 1.25rem;
    color: #2c3e50;
}
.service-desc {
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #7f8c8d;
    margin-top: 10px;
    text-align: left;
}
.service-price {
    font-weight: 700;
    color: #2c3e50;
    font-size: 18px;
    min-width: 110px;
    text-align: right;
}
.program-badge {
    display: inline-block;
    background-color: #e3f2fd;
    color: #1565c0;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 8px;
}
.notes {
    padding: 20px;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eaeaea;
}
.icon-wrapper {
    width: 40px;
    height: 40px;
    background: rgba(37, 117, 252, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}
.icon-wrapper i {
    color: #2575fc;
    font-size: 18px;
}
.service-header-show {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.promo-img {
    height: 500px;
    background-size: cover;
    background-position: center;
}
.stag span {
    font-family: 'TildaSans', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
}


/*LoginForm*/

.login-container {
    max-width: 400px;
    width: 100%;
    padding: 15px;
    margin: auto;
}
.login-card {
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #fff;
    padding: 2rem;
}
.form-label {
    font-family: 'TildaSans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
}
.login-container h2{
    font-family: 'TildaSans', Arial, sans-serif;
    font-size: 24px;
    font-weight: 500;
}

.form-bnt:hover  {
    color: #FFFFFF;
    background-color: #3e8db8;
}
.form-bnt:active  {
    background-color: #347ba0 !important;
}

#toast-container > div.toast {
    opacity: 1;
    box-shadow: none;
    background-image: none !important;
}

#toast-container .toast-success {
    background-color: #e9ffd9;
    border-left: 5px solid #6d8d55;
}

#toast-container .toast-success:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-size: 20px;
    position: absolute;
    left: 10px;
    top: 10px;
    color: #6d8d55;
}

.toast-success .toast-message {
    color: #498048;
}

#toast-container .toast-error {
    background-color: #ffecec;
    border-left: 5px solid #f5aca6;
}

.toast-error .toast-message {
    color: #a94442;
}

#toast-container .toast-error:before {
    content: "\f06a";
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-size: 20px;
    position: absolute;
    left: 10px;
    top: 10px;
    color: #a94442;
}

#toast-container ul {
    list-style: none;
}

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


/* === Единый патч для режима слабовидящих (.special-color-1) === */

/* === Патч для режима слабовидящих (.special-color-1) === */
.special-color-1 .hero-carousel .content {
    background: rgba(0,0,0,0.5) !important; /* полупрозрачный тёмный фон */
    color: #fff !important;
    padding: 20px !important;
    border-radius: 8px !important;
}

/* --- Слайдер: стрелки и контейнер --- */
.special-color-1 .owl-nav,
.special-color-1 .owl-nav button,
.special-color-1 .owl-prev,
.special-color-1 .owl-next {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Стрелки */
.special-color-1 .owl-prev,
.special-color-1 .owl-next {
    color: #fff !important;   /* под светлый фон */
    font-size: 2rem !important;
}

/* --- Слайдер: точки навигации (dots) --- */
.special-color-1 .owl-dots,
.special-color-1 .owl-dot,
.special-color-1 .owl-dot span {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.special-color-1 .btn-outline-brand-1 {
    border: none !important;
}

.special-color-1 .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    margin: 5px !important;
    border-radius: 50% !important;
    border: 2px solid #000 !important;   /* обводка */
    background: transparent !important;
}

.special-color-1 .owl-dot.active span {
    background: #fff !important;         /* активная точка */
}

/* --- Форма записи --- */
.special-color-1 .appointment-section input,
.special-color-1 .appointment-section textarea,
.special-color-1 .appointment-section select {
    background: transparent !important;
    color: #fff !important;             /* белые буквы и цифры */
    border: 2px solid #fff !important;  /* белая рамка */
}

/* Плейсхолдеры */
.special-color-1 .appointment-section input::placeholder,
.special-color-1 .appointment-section textarea::placeholder {
    color: #fff !important;
    opacity: 0.8 !important;
}

/* Кнопка */
.special-color-1 .appointment-section button {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

/* Контейнер формы */
.special-color-1 .appointment-section,
.special-color-1 .appointment-section * {
    background: transparent !important;
}

/* --- Телефонный инпут: код страны (+7) --- */
.special-color-1 .iti__selected-country,
.special-color-1 .iti__selected-country .iti__selected-country-primary,
.special-color-1 .iti__selected-dial-code {
    color: #fff !important;           /* белый текст */
    background: transparent !important; /* прозрачный фон */
}

/* Стрелка выбора страны */
.special-color-1 .iti__flag-container {
    background: transparent !important;
}
.special-color-1 .iti__country-container button{
    border: none !important;
}


/*color 2*/

/* === Патч для режима слабовидящих (.special-color-1) === */
.special-color-2 .hero-carousel .content {
    background: rgba(0,0,0,0.5) !important; /* полупрозрачный тёмный фон */
    color: #fff !important;
    padding: 20px !important;
    border-radius: 8px !important;
}

/* --- Слайдер: стрелки и контейнер --- */
.special-color-2 .owl-nav,
.special-color-2 .owl-nav button,
.special-color-2 .owl-prev,
.special-color-2 .owl-next {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Стрелки */
.special-color-2 .owl-prev,
.special-color-2 .owl-next {
    color: #000 !important;   /* под светлый фон */
    font-size: 2rem !important;
}

/* --- Слайдер: точки навигации (dots) --- */
.special-color-2 .owl-dots,
.special-color-2 .owl-dot,
.special-color-2 .owl-dot span {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.special-color-2 .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    margin: 5px !important;
    border-radius: 50% !important;
    border: 2px solid #000 !important;   /* обводка */
    background: transparent !important;
}

.special-color-2 .owl-dot.active span {
    background: #000 !important;         /* активная точка */
}

/* --- Форма записи --- */
.special-color-2 .appointment-section input,
.special-color-2 .appointment-section textarea,
.special-color-2 .appointment-section select {
    background: transparent !important;
    color: #fff !important;             /* белые буквы и цифры */
    border: 2px solid #fff !important;  /* белая рамка */
}

/* Плейсхолдеры */
.special-color-2 .appointment-section input::placeholder,
.special-color-2 .appointment-section textarea::placeholder {
    color: #fff !important;
    opacity: 0.8 !important;
}

/* Кнопка */
.special-color-2 .appointment-section button {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

/* Контейнер формы */
.special-color-2 .appointment-section,
.special-color-2 .appointment-section * {
    background: transparent !important;
}

/* --- Телефонный инпут: код страны (+7) --- */
.special-color-2 .iti__selected-country,
.special-color-2 .iti__selected-country .iti__selected-country-primary,
.special-color-2 .iti__selected-dial-code {
    color: #fff !important;           /* белый текст */
    background: transparent !important; /* прозрачный фон */
}

/* Стрелка выбора страны */
.special-color-2 .iti__flag-container {
    background: transparent !important;
}
.special-color-2 .iti__country-container button{
    border: none !important;
}

/*color 3*/


/* === Патч для режима слабовидящих (.special-color-1) === */
.special-color-1 .hero-carousel .content {
    background: rgba(0,0,0,0.5) !important; /* полупрозрачный тёмный фон */
    color: #fff !important;
    padding: 20px !important;
    border-radius: 8px !important;
}

/* --- Слайдер: стрелки и контейнер --- */
.special-color-3 .owl-nav,
.special-color-3 .owl-nav button,
.special-color-3 .owl-prev,
.special-color-3 .owl-next {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Стрелки */
.special-color-3 .owl-prev,
.special-color-3 .owl-next {
    color: #000 !important;   /* под светлый фон */
    font-size: 2rem !important;
}

/* --- Слайдер: точки навигации (dots) --- */
.special-color-3 .owl-dots,
.special-color-3 .owl-dot,
.special-color-3 .owl-dot span {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.special-color-3 .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    margin: 5px !important;
    border-radius: 50% !important;
    border: 2px solid #000 !important;   /* обводка */
    background: transparent !important;
}

.special-color-3 .owl-dot.active span {
    background: #000 !important;         /* активная точка */
}

/* --- Форма записи --- */
.special-color-3 .appointment-section input,
.special-color-3 .appointment-section textarea,
.special-color-3 .appointment-section select {
    background: transparent !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}

.special-color-3 .appointment-section button {
    background: transparent !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}

/* Контейнер формы */
.special-color-3 .appointment-section,
.special-color-3 .appointment-section * {
    background: transparent !important;
}
.special-color-3 .iti__country-container button{
    border: none !important;
}



/* Общий стиль */
.language-switcher .dropdown-toggle {
    border-radius: 12px;
    padding: 8px;
    transition: all 0.2s ease;
}

/* Hover */
.language-switcher .dropdown-toggle:hover {
    color: #ff241c;
}


/* Dropdown */
.language-switcher .dropdown-menu {
    border-radius: 12px;
    padding: 10px;
    min-width: 60px;
}

/* Items */
.language-switcher .dropdown-item {
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Hover item */
.language-switcher .dropdown-item:hover {
    color: #ff241c;
    background: #FFFFFF;
}

.btn-custom {
    background-color: #ffc20a;
    padding: 10px 24px;
    font-family: 'TildaSans', Arial, sans-serif;
    font-weight: 400;
}
.doctor-card .btn {
    border: 2px solid #ffc20a;
    font-family: 'TildaSans', Arial, sans-serif;
    padding: 10px 24px;
    font-weight: 400;
    background: transparent;
}
.doctor-card .btn:hover {
    background-color: #ffc20a;
    font-family: 'TildaSans', Arial, sans-serif;
    padding: 10px 24px;
    font-weight: 400;
}

.btn-custom:hover {
    border: 2px solid #ffc20a;
    font-family: 'TildaSans', Arial, sans-serif;
    padding: 10px 24px;
    font-weight: 400;
    background: transparent;
}

.btn-outline-custom {
    border: 2px solid #ffc20a;
    font-family: 'TildaSans', Arial, sans-serif;
    padding: 10px 24px;
    font-weight: 400;
    background: transparent;
}

.btn-outline-custom:hover {
    background-color: #ffc20a;
    font-family: 'TildaSans', Arial, sans-serif;
    padding: 10px 24px;
    font-weight: 400;
}
.buttons-wrap {
    display: flex;
    gap: 12px;
}

/* 📱 Только самые маленькие мобилки (до 575px) */
@media (max-width: 575px) {
    .buttons-wrap {
        flex-direction: column;
        gap: 12px;
    }
    .buttons-wrap .btn {
        width: 100%;
        justify-content: center;
        display: flex;
        padding: 16px 20px !important;
        align-items: center;
    }
}

/* 💻 Все, что шире 576px (планшеты, десктопы) */
@media (min-width: 576px) {
    .buttons-wrap {
        flex-direction: row;
    }
    .buttons-wrap .btn {
        width: auto;
    }
}

/*Gallery*/
.gallery {
    position: relative;
    min-height: 100vh;
    background: #f3f3f3;
    overflow: hidden;
}

.gallery-photo-btn {
    position: absolute;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 1;
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform .2s ease;
}

.gallery-photo-btn:hover .gallery-photo {
    transform: scale(1.03);
}

#centerBox {
    z-index: 20;
}
/*БЛОГ*/

.blog-img-lg {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: bottom;
    border-radius: 16px;
}

.blog-img-sm {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: bottom;
    border-radius: 12px;
}

.blog-card,
.blog-main {
    transition: 0.25s;
}

.blog-card:hover,
.blog-main:hover {
    transform: translateY(-4px);
}

.blog-link {
    font-size: 14px;
    text-decoration: none;
    color: #6c757d;
}

.blog-link:hover {
    color: #000;
}

.blog-img-sm {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

/* Карточки */
.blog-card,
.blog-main {
    transition: 0.25s;
}

.blog-card:hover,
.blog-main:hover {
    transform: translateY(-4px);
}

/* Категория */
.blog-category {
    font-size: 13px;
    color: #E30613;
    font-weight: 500;
}

/* Теги */
.blog-tag {
    display: inline-block;
    font-size: 12px;
    color: #6c757d;
    margin-right: 6px;
}

/* Ссылка */
.blog-link {
    font-size: 14px;
    text-decoration: none;
    color: #6c757d;
}

.blog-link:hover {
    color: #000;
}


/*footer*/

.footer-mak {
    background: #f2f2f2;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-mak a {
    text-decoration: none;
    color: #6c757d;
    font-size: 14px;
}

.footer-mak a:hover {
    color: #000 !important;
}

.footer-bottom {
    border-top: 1px solid #e5e5e5;
}
.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-contact .icon {
    font-size: 16px;
    opacity: 0.7;
}


/*Бложек*/

.blog-card {
    height: 100%;
}

.blog-list-img {
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.blog-show-img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.blog-category {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #E30613;
}

.blog-title-link {
    color: #111;
    text-decoration: none;
}

.blog-title-link:hover {
    color: #E30613;
}

.blog-link,
.blog-back-link {
    color: #6c757d;
    text-decoration: none;
}

.blog-link:hover,
.blog-back-link:hover {
    color: #111;
}

.blog-content {
    line-height: 1.8;
    color: #222;
}

.blog-content p {
    margin-bottom: 1rem;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
