/* Главный экран Главной страницы */
.hero .container {
    display: flex;
    justify-content: space-between;
}
.hero-discr {
    max-width: 712px;
    width: 100%;
    margin-top: 14.33px;
}
.hero__subtitle {
    max-width: 365px;
}
.hero__title {
    margin-top: 96px;
    color: var(--black);
    position: relative;
    margin-bottom: 34px;
}
.hero__title h1 {
    margin: 0;
    color: inherit;
}
.hero__title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 18px;
    background-image: url(../img/petli-main.svg);
    background-repeat: no-repeat;
    background-position: bottom left;
}
.hero-discr .btn {
    max-width: 219px;
    margin-top: 16px;
}
.hero-advantages {
    width: 732px;
    height: 732px;
    position: relative;
    flex-shrink: 0;
}
.hero-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hero-circle {
    position:absolute;
    top: 210px;
    display:block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--blue-light);
    background-size: contain;
    z-index: 1;
}
.hero-img img {
    position: absolute;
    /*bottom: 0;
    left: 50px;
    width: 652px;
    height: 652px;*/
bottom: -50px;
    left: 120px;
    width: 580px;
    height: 580px;
    object-fit: contain;
    z-index: 2;
}
.advantages-item {
    background-color: var(--blue);
    color: var(--white);
    display: flex;
    flex-direction: column;
    width: fit-content;
    height: fit-content;
    padding: 12px 20px;
    border-radius: 28px;
    z-index: 3;
}
.hero .advantages-item {
    position: absolute;
}
.hero .advantages-item:nth-child(1) {
    bottom: 20px;
    left: 0px;
}
.hero .advantages-item:nth-child(2) {
    bottom: 320px;
    left: 0px;
}
.hero .advantages-item:nth-child(3) {
    top: 165px;
    left: 150px;
}
.hero .advantages-item:nth-child(4) {
    top: 300px;
    right: 0px;
}
.advantages-item:nth-child(5) {
    bottom: 100px;
    right: 0;
}
.advantages-item .number {
    font-family:'Baloo-Cyrillic';
    font-weight: 400;
    font-size: 42px;
    line-height: 44px;
    letter-spacing: 0%;
}
.advantages-item .txt {
    font-family:'Baloo-Cyrillic';
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
}
/* Услуги на Главной */
.services {
   padding-bottom: 90px;
}
.services__wrapper {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px;
}
.services-head {
    display: flex;
    align-items: baseline;
    margin-bottom: 56px;
}
.services-head h2 {
    display: flex;
    margin-right: 56px;
    position: relative;
    padding-bottom: 6px;
}
.services-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 198px;
    height: 6px;
    background-image: url(../img/petli.svg);
    background-repeat: no-repeat;
    background-position: bottom left;
}
/* Стили для навигации табов */
    .tabs-navigation {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .tab-link {
        background-color: var(--white);
        color: var(--black);
        border: 1.5px solid var(--blue-light);
        outline: none;
        cursor: pointer;
        padding: 20px;
        transition: 0.3s;
        font-family:'Roboto Condensed';
        font-weight: 700;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 0%;
        text-align: center;
        vertical-align: middle;
        border-radius: var(--radius-sm);
    }

    .tab-link:hover {
        background-color: var(--blue-light); 
        color: var(--blue);
    }

    .tab-link.active {
        background-color: var(--blue-light); /* Синий цвет для активного таба */
        color: var(--blue);
    }

    /* Стили для контента табов */
    .tab-content {
        display: none; /* Скрываем по умолчанию */
        animation: fadeEffect 0.6s;
    }

    /* Показываем активный таб */
    .tab-content.active {
        display: block;
    }

    /* Анимация появления */
    @keyframes fadeEffect {
        from {opacity: 0;}
        to {opacity: 1;}
    }

    /* Сетка для услуг */
    .services-grid {
        column-count: 2;
        column-gap: 40px; /* Расстояние между колонками */
        column-rule: 1px solid var(--blue-light);
    }

    .service-item {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        /* border-bottom: 1px solid var(--blue-light); */
        align-items: center;
        break-inside: avoid; /* Чтобы элемент не разрывался между колонками */
        page-break-inside: avoid;
    }
    /* .service-item:last-child {
        border-bottom: none;
    } */

    .service-name {
        font-family: 'Roboto Condensed';
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 0%;
        color: var(--black);
    }

    .service-price {
        padding: 4px 8px;
        border-radius: var(--radius-md);
        background-color: var(--blue-light);
        color: var(--blue);
        font-weight: 400;
        font-size: 12px;
        line-height: 18px;
        letter-spacing: 0%;
    }

    /* Адаптивность для мобильных устройств */
    @media (max-width: 768px) {
        .tab-link {
            flex: 1 0 45%; /* Чуть шире кнопки на мобильных */
            margin-bottom: 5px;
        }
    }
/* Стили для спецпредложений */
.special-offers {
    padding-bottom: 90px; /* Отступ до следующего блока */
}
.special-offers__wrapper {
    display: flex;
    gap: 40px;
}
.special-price, .special-asides {
    max-width: 50%;
    width: 100%;
}
.special-asides {
    position: relative;
}
.special-img {
    border-radius: var(--radius-lg);
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease;
	background: #C5D2E9;
	max-height: 768px;
    max-width: 660px;
}
.special-img.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
	display: flex;
}
.special-img img {
    border-radius: inherit;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.special-img .advantages-item {
    position: absolute;
    bottom: 40px;
    left: 40px;
    padding: 20px 32px;
}
.special-txt1 {
    font-family: 'Roboto Condensed';
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
}
.special-txt2 {
    font-family: 'Roboto Condensed';
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
}
.special-offers h2 {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: 56px;
}
.special-offers h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-image: url(../img/petli-special.svg);
    background-repeat: no-repeat;
    background-position: bottom left;
}
/* Навигация табов наследуется от .tabs-navigation, но можно задать конкретную ширину */
.special-offers .tabs-navigation {
    margin-bottom: 56px;
}

/* Контент табов спецпредложений выстроен в одну колонку */
.special-offer-content {
    display: none; /* Скрываем по умолчанию */
    animation: fadeEffect 0.6s; /* Используем существующую анимацию */
}

.special-offer-content.active {
    display: flex; /* Используем flex, чтобы выстроить элементы в колонку, если нужно, 
                      или просто block, если внутри уже свои сетки */
    flex-direction: column;
    gap: 20px; /* Отступ между элементами внутри активного таба */
}

/* Пример стилизации элементов внутри таба, если нужно */
.special-offer-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--blue-ultra-light);
}
.special-offer-item:last-child {
    border-bottom: none;
}

/* ... existing code ... */
/* Страница Врачи */
.page-header__items {
    display: flex;
    align-items: center;
    gap: 56px;
    margin-bottom: 56px;
}
.page-header h1 {
    position: relative;
    padding-bottom: 6px;
}
.page-header h1:after {
    content: '';
    position: absolute;
    width: 123px;
    height: 6px;
    bottom: 0;
    right: 0;
    background-image: url(../img/petli.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
}
.doctors {
    padding-bottom: 90px;
}
.doctor-title {
    position: relative;
}
.doctor-title::after {
    content: '';
    position: absolute;
    width: 123px;
    height: 6px;
    bottom: 0;
    right: 0;
    background-image: url(../img/petli.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
}
.filters-doctors {
    display: flex;
    align-items: center;
    gap: 16px;
}
/* Выбор врача начало */
.custom-select-wrapper {
  position: relative;
 /* width: 220px; */
	width: fit-content;
  font-family: system-ui, -apple-system, sans-serif;
}

.custom-select {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--blue-ultra-light);
    border: 1.5px solid var(--blue-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    user-select: none;
}

.custom-select .selected {
  color: var(--grey);
}
/* Стиль при выбранном значении */
.custom-select.has-value .selected {
  color: var(--dark); 
}
.custom-select.has-value { 
  border-color: var(--blue);
}
.custom-select .select-arrow {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.custom-select .arrow-icon {
  transition: transform 0.2s ease;
  color: #666;
}

.custom-select.open .arrow-icon {
    transform: rotate(180deg);
}

.options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    padding: 4px 0;
    background: var(--white-second);
    border: 1.5px solid var(--blue-light);
    border-radius: 16px;
    list-style: none;
    display: none;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.options li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--black);
    border-bottom: 1px solid var(--blue-light);
}
.options li:last-child {
    border-bottom: none;
}

.options li:hover {
  background-color: #f8f8f8;
}

.options li[data-value=""] {
  color: #888;
  font-weight: normal;
}

.options li.active {
  background-color: #e6f2ff;
  color: #0066cc;
  font-weight: 600;
}
/* Выбор врача конец */
/* Слайдеры */
.doctors .swiper-nav-wrapper,
.reviews .swiper-nav-wrapper,
.knowledge .swiper-nav-wrapper,
.news .swiper-nav-wrapper,
.articles .swiper-nav-wrapper,
.gallery .swiper-nav-wrapper {
    width: 104px;
    height: 44px;
    position: relative;
    margin-left: auto;
    gap:16px;
}
.benefice-photo .swiper-nav-wrapper {
    width: 104px;
    height: 44px;
    position: relative;
    margin: auto;
    gap:16px;
}
.doctors .swiper-button-next, 
.doctors .swiper-button-prev, 
.reviews .swiper-button-next,
.reviews .swiper-button-prev,
.knowledge .swiper-button-next,
.knowledge .swiper-button-prev,
.news .swiper-button-next,
.news .swiper-button-prev,
.articles .swiper-button-next,
.articles .swiper-button-prev,
.benefice-photo .swiper-button-next,
.benefice-photo .swiper-button-prev,
.gallery .swiper-button-next,
.gallery .swiper-button-prev { 
    color: var(--blue);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--blue);
}
.doctors .swiper-button-next:hover, 
.doctors .swiper-button-prev:hover, 
.reviews .swiper-button-next:hover,
.reviews .swiper-button-prev:hover,
.knowledge .swiper-button-next:hover,
.knowledge .swiper-button-prev:hover,
.news .swiper-button-next:hover,
.news .swiper-button-prev:hover,
.articles .swiper-button-next:hover,
.articles .swiper-button-prev:hover,
.benefice-photo .swiper-button-next:hover,
.benefice-photo .swiper-button-prev:hover,
.gallery .swiper-button-next:hover,
.gallery .swiper-button-prev:hover {
    background: var(--blue-light, #C5D2E9);
}
.doctors .swiper-button-next:focus, 
.doctors .swiper-button-prev:focus, 
.reviews .swiper-button-next:focus,
.reviews .swiper-button-prev:focus,
.knowledge .swiper-button-next:focus,
.knowledge .swiper-button-prev:focus,
.news .swiper-button-next:focus,
.news .swiper-button-prev:focus,
.articles .swiper-button-next:focus,
.articles .swiper-button-prev:focus,
.benefice-photo .swiper-button-next:focus,
.benefice-photo .swiper-button-prev:focus,
.gallery .swiper-button-next:focus,
.gallery .swiper-button-prev:focus {
    background: var(--blue);
    color: var(--white);
}
.doctors .swiper-button-next,
.reviews .swiper-button-next,
.knowledge .swiper-button-next,
.news .swiper-button-next,
.articles .swiper-button-next,
.benefice-photo .swiper-button-next,
.gallery .swiper-button-next {
    right:0;
} 
.doctors .swiper-button-prev,
.reviews .swiper-button-prev,
.knowledge .swiper-button-prev,
.news .swiper-button-prev,
.articles .swiper-button-prev,
.benefice-photo .swiper-button-prev,
.gallery .swiper-button-prev {
    left:0;
}
.doctors .swiper-button-next:after,
.doctors .swiper-button-prev:after,
.reviews .swiper-button-next:after,
.reviews .swiper-button-prev:after,
.knowledge .swiper-button-next:after,
.knowledge .swiper-button-prev:after,
.news .swiper-button-next:after,
.news .swiper-button-prev:after, 
.articles .swiper-button-next:after,
.articles .swiper-button-prev:after,
.benefice-photo .swiper-button-next:after,
.benefice-photo .swiper-button-prev:after, 
.gallery .swiper-button-next:after,
.gallery .swiper-button-prev:after  {
    font-size: 16px;
}
/* Врачи */
.doctors-items {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.doctors-card {
    width: 310px;
}
.doctors-card__img {
    width: inherit;
    overflow:hidden;
    margin-bottom: 12px;
    border-radius: var(--radius-lg);
}
.doctors-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: center top;
}
.doctors-card__discr {
    margin-bottom: 20px;
}
.doctors-card__discr .name {
    display:block;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--blue-dark)
}
.doctors-card__discr .post {
    display:block;
    margin-bottom: 16px;
    font-weight: 500;
    font-style: medium;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--grey-dark);
}
.doctors-card__discr .specialization {
    display:block;
    margin-bottom: 8px;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--grey-dark);
}
.doctors-card__discr .experience {
    display:block;
    color: var(--grey);
}
.doctors-card__btns {
    display:flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--blue-light);
}
.main .doctors .btn, .reviews .btn {
    width: 230px;
    margin: 0 auto;
    margin-top: 56px;
}
/* Отзывы на Главной */   
.main .reviews {
    margin-bottom: 150px;
}
.reviews-card {
    background-color:var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--blue-ultra-light);
    padding: 32px;
	height: auto;
}
.reviews-card__discr {
    margin-bottom: 20px;
    display:flex;
    flex-direction : column;
    gap: 16px;
}
.reviews-card__head {
    display: flex;
    align-items:center;
    gap: 16px;
}
.reviews-card__name {
    font-weight: 500;
}
.reviews-card__img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow:hidden;
}
.reviews-card__img img {
    width: inherit;
    height: inherit;
    object-fit: cover;
}
.reviews-card__discr .date {
    font-size: 12px;
    line-height: 18px;
    color: var(--grey);
}
.rewiews-card__bottom {
    display: flex;
    flex-direction:column;
    gap: 8px;
    padding-top: 17px;
    border-top: 1.5px solid var(--blue-ultra-light);
}
.rewiews-card__bottom span {
    display: block;
}
.rewiews-card__bottom .title {
    font-size: 14px;
    line-height: 18px;
    color: var(--grey);
    margin-bottom: 4px;
}
.rewiews-card__bottom .text {
    font-family: 'Roboto Condensed';
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: var(--blue-dark);
}
/* Страница Доктор */
.doctor {
    padding-bottom: 150px;
}
.doctor-cols {
    display:flex;
    gap: 135px;
}
.doctor-info {
    max-width: 325px;
}
.doctor-img {
    width:auto;
    margin-bottom: 40px;
}
.doctor .status-1 {
    display:block;
    width: fit-content;
    border-radius: var(--radius-md);
    padding: 4px 8px;
    background-color: var(--blue-light);
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--blue);
}
.fillial-title {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    margin-bottom: 4px;
    color: var(--grey);
}
.fillial-address {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 20px;  
    border-bottom: 1px solid var(--blue-light);
}
.fillial-address li {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--blue-dark);
    padding-bottom: 5px;
}
.fillial-address li:last-child {
    padding-bottom: 0;
}
.doctors-discript .btn {
    margin-top: 12px;
}
.doctor-name {
    margin-bottom: 4px;
}
.doctor .status-2 {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--blue);
    display: block;
    margin-bottom: 40px;
}
.doctor .advantages-items {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}
.bio-title {
    display:block;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--blue-dark);
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--blue-light);
}
.bio-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style-type: disc; 
    padding-left: 12px;
}
.bio-items li {
    list-style: disc;
    color: var(--grey-dark);
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
}
.bio-items li::marker {
    color: var(--blue-dark);
}
.doctor-reviews {
    padding-bottom: 90px;
}
.doctor-reviews .page-header__title {
    position: relative;
}
.doctor-reviews .page-header__title:after {
    content: '';
    position: absolute;
    width: 123px;
    height: 6px;
    bottom: 0;
    left: 0;
    background-image: url(../img/petli.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
}
/* Страница Наши курсы */
.training-cols {
    display: flex;
    gap: 24px;
    margin-bottom: 150px;
}
.training-col h1 {
    max-width: 70%;
}
.training-txt p {
    margin-bottom: 5px;
}
.courses h2 {
    position: relative;
    width: max-content;
    margin-bottom: 56px;
}
.courses h2:after {
    content: '';
    position: absolute;
    width: 123px;
    height: 6px;
    bottom: 0;
    right: 0;
    background-image: url(../img/petli.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
}
.courses-items {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 90px;
}
.courses-item {
    max-width: 410px;
    width:100%;
    background-color:var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--blue-ultra-light);
    padding: 32px;
}
.meta-category {
    display:block;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--blue);
    width: fit-content;
    border-radius: var(--radius-md);
    padding: 4px 8px;
    background-color:var(--blue-light);
    margin-bottom: 8px;
}
.course-name {
    min-height: 88px;
    display:block;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--blue-dark);
    margin-bottom: 16px;
    text-decoration: none;
}
a.course-name:hover {
    color: var(--blue);
}
.course-teacher {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.course-teacher__img {
    width : 117px;
    height: 157px;
    overflow: hidden;
    flex-shrink: 0;
	border-radius: 28px;
}
.course-teacher__img img {
    width : 100%;
    height: 100%;
    object-fit: cover;
	object-position: center top;
}
.course-teacher__name {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.course-teacher__name .fio {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--grey-dark);
}
.course-teacher__name .specialization {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--grey);
}
.courses-btns {
    border-top: 1px solid var(--blue-ultra-light); 
    padding-top: 5px;
}
.course-price {
    display: block;
    font-family: 'Baloo-Cyrillic';
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0%;
    color: var(--blue);
    margin-bottom: 4px;
}
.courses-btns .btn-second {
    margin-bottom: 12px;
}
.invitation {
    margin-bottom: 90px;
}
.invitation__text {
    margin: 0 auto;
    text-align:center;
}
.invitation-title {
    display:block;
    font-family: 'Baloo-Cyrillic';
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0%;
    text-align: center;
    color: var(--black);
    margin-bottom: 4px;
}
.invitation-txt {
    display: block;
    color: var(--grey-dark);
    margin-bottom: 20px;
}
.invitation .btn {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
}
/* Страница Курс */
.course .course-col:first-child {
    flex-shrink: 0;
}
.course .courses-item {
    position: sticky;
    top: 0;
    overflow: hidden;
}
.course .course-col:first-child .meta-category {
    margin-bottom: 16px;
}
.course .courses-btns {
    padding-top: 12px;
}
.course-price-ind {
    display: block;
    font-family: 'Roboto Condensed';
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--grey);
    margin-bottom: 12px;
}
.schedule-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.day-card {
    padding: 15px;
}
.day-title {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 4px;
    font-family: 'Roboto Condensed';
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--blue-dark);
    margin-bottom: 12px;
}
.day-title span {
    flex-shrink: 0;
}
.day-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--blue-light);
}
.services-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.services-list li {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--grey-dark);
    list-style: disc;
    margin-left: 12px;
}
.services-list .lunch-break {
    list-style: none;
}
.lunch-break {
    text-align: center;
}
.lunch-break span {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--grey);
    display: flex;
    align-items: center;
    gap: 8px;
}
.lunch-break span::after,
.lunch-break span::before {
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--blue-light);
}
@media (max-width: 768px) {
    .schedule-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .schedule-container {
        grid-template-columns: 1fr;
    }
}
/* Страница Услуга */
.service-cols, .course-cols {
    display: flex;
    gap: 135px;
    align-items: stretch;
}
.service-col:first-child, .course-col:first-child {
    position: relative;
    padding-bottom: 90px;
}
.service-img {
    position: sticky;
    top: 0;
    width: 325px;
    height: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service h1 {
    margin-bottom: 16px;
}
.course h1 {
    margin-bottom: 16px;
}
/* Страница Владельцам (Статьи и Новости) */
.knowledge, .news, .articles {
    margin-bottom: 90px;
}
.page-header__items {
    position: relative;
}
.knowledge h2, .news h2, .articles h2 {
    position: relative;
    padding-bottom: 6px;
}
.knowledge h2:after, .news h2:after, .articles h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    background-image: url(../img/petli.svg);
    background-repeat: no-repeat;
}
.knowledge h2:after {
    width: 123px;
    height: 6px;
    right: 0;
    background-image: url(../img/petli.svg);
    background-position: bottom right;
}
.news h2:after {
    width: 100%;
    height: 8px;
    left: 0;
    background-position: bottom center;
    background-size: cover;
}
.articles h2:after {
    width: 123px;
    height: 6px;
    left: 0;
    background-position: bottom left;
}
.knowledge-card, .news-card, .article-card {
    width: 310px;
    border: 1.5px solid var(--blue-ultra-light);
    border-radius: 16px;
    background-color: var(--white);
}
.card-img {
    width: inherit;
    min-height: 196px;
    overflow: hidden;
    border-radius: inherit;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-discr {
    padding: 16px 32px;
}
.knowledge-card .title, .news-card .title, .article-card .title {
    display: block;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
}
.news-card .title, .article-card .title {
    margin-bottom: 12px;
}
.discr-txt {
    margin-bottom: 20px;
}
.discr-txt p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.knowledge-card .date, .news-card .date, .article-card .date {
    display: block;
    width: 100%;
    border-top: 1px solid var(--blue-ultra-light);
    padding-top: 12px;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--grey);
}
/* Общие стили записи */
.content {
    margin-bottom: 90px;
}
.selected-block {
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--blue-ultra-light);
    padding: 32px;
    background-color: var(--white);
    margin-bottom: 40px;
}
.selected-block .title, .sub-title {
    display: block;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--blue-light);
    margin-bottom: 20px;
}
.text ul, .selected-block ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.text ul li, .selected-block ul li {
    list-style: disc;
    margin-left: 20px;
}
.text ul li::marker, .selected-block ul li::marker {
    color: var(--blue-dark);
    margin-right: 12px;
    width: 8px;
    height: 8px;
    
}
.content .text {
    margin-bottom: 40px;
}
.content img {
    border-radius: var(--radius-lg);
}
/* Страница Запись */
.content h1 {
    display: block;
    margin-bottom: 16px;
}
.content-items {
    display: flex;
    justify-content: space-between;
    gap: 84px;
}
.content__wrapper {
    max-width: 900px;
    width: 100%;
}
.content__sidebar {
    max-width: 378px;
    width: 100%;
    position: relative;
}
.sidebar {
    width: inherit;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    position: sticky;
    top: 0;
}
.sidebar-title {
    display: block;
    font-family: 'Roboto Condensed';
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--blue-dark);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--blue-ultra-light);
    margin-bottom: 20px;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sidebar-nav li {
    list-style: disc;
    margin-left: 18px;
}
.sidebar-nav li::marker {
    width: 6px;
    height: 6px;
    color: var(--blue-dark);
    margin-right: 12px;
}
.sidebar-nav li a {
    color: var(--blue-dark);
    font-family: 'Roboto Condensed';
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    text-decoration: none; 
}
.content-bottom {
    margin-top: 90px;
}
.content-bottom .btn {
    margin: 0 auto;
    max-width: 350px;
    width: 100%;
}
/* Благотворительность */
.benefice-first__cols, .benefice-second__cols, .benefice-third__cols {
    display: flex;
    gap: 40px;
    margin-bottom: 90px;
}
.benefice-col {
    max-width: 50%;
    width: 100%;
}
.benefice-col h1 {
    max-width: 600px;
}
.text-cols {
    display: flex;
    gap: 90px;
}
.text-cols ul {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    width: 100%;
    gap: 12px;
}
.text-cols ul li {
    list-style: disc;
    margin-left: 16px;
}
.text-cols ul li::marker {
    width: 6px;
    height: 6px;
    color: var(--blue-dark);
}
.text-cols span {
    display: block;
}
.ul-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
}
.benefice-col .selected-block .title {
    border-color: var(--blue-ultra-light);
}
.requisites-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.requisites-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid var(--blue-ultra-light);
    padding-bottom: 4px;
} 
.requisites-title {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--grey);
}
.requisites-txt {
    font-weight: 500;
    color: var(--blue-dark);
}
.benefice-photo {
    padding-bottom: 90px;
}
.benefice-photo .page-header__items {
    display: none;
}
.gallery {
    padding-bottom: 90px;
}
.gallery .item, 
.benefice-photo .item {
  /*  width: 310px;
    height: 240px; */
	height: stretch;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.gallery .item-img,
.benefice-photo .item-img {
    width: inherit;
    height: inherit;
    border-radius: inherit;
    object-fit: cover;
}
.gallery .item-img img,
.benefice-photo .item-img img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}
.benefice-docs {
    padding-bottom: 90px;
}
.benefice-docs .sub-title {
    width: fit-content;
    margin-bottom: 24px;
}
.benefice-docs__items {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.docs-item {
    width: 310px;
    display: flex;
    gap: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background-color: var(--white);
}
.doc-img {
    width: 40px;
    height: 48px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}
.doc-img img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}
.doc-txt {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.doc-title {
    font-weight: 500;
    color: var(--blue-dark);
}
.doc-size {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    color: var(--grey);
}
/* О клинике */
.about {
    padding-bottom: 90px;
}
.about .advantages-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
	max-width: 900px;
}
.advantages-item .txt {
    max-width: 283px;
    width: 100%;
}
.about-cols {
    display: flex;
    gap: 82px;
}
.about-col:last-child {
    max-width: 378px;
    width: 100%;
    position: relative;
}
.about .sub-title {
    margin-top: 16px;
}
.about .selected-block {
    margin-top: 40px;
}
.about-sidebar {
    position: sticky;
    top: 0;
}
.about-sidebar .selected-block .title {
    border-color: var(--blue-ultra-light);
}
.about-sidebar .sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.about-sidebar .list-title {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--blue-dark);
    position: relative;
    margin-bottom: 4px;
    margin-bottom: 12px;
}
.about-sidebar .list-title::after { 
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--blue-light);
    margin-left: 4px;
}
.about-sidebar .list-txt {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.about-sidebar .list-txt::before { 
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--blue-dark);
    flex-shrink: 0;
}
.about .advantages-item  {
    padding: 20px;
	height: auto;
}
.advantages-item .icon {
    width: 16px;
    height: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}
.advantages-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: container;
}
.licenses {
    margin-bottom: 90px;
}
.licenses-cols {
    display: flex;
    gap: 40px;
}
.licenses-col {
    max-width: 50%;
    width: 100%;
}
.licenses-col h2, .reviews h2 {
    position: relative;
    padding-bottom: 6px;
}
.licenses-col h2 {
    margin-bottom: 56px;
}
.licenses-col h2::after, .reviews h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 198px;
    height: 6px;
    background-image: url(../img/petli.svg);
    background-repeat: no-repeat;
    background-position: bottom left;
}
.licenses-imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.licenses-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 206.7px;
    height: 300px;
}
.licenses-img img {
    border-radius: inherit;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.licenses-img:nth-child(1), .licenses-img:nth-child(2) {
    width: 320px;
    height: 447px; 
}
.vacancy {
    padding-top: 90px;
}
.choosing-us {
    padding-bottom: 90px;
}
.choosing-us h2 {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: 56px;
    width: fit-content;
}
.choosing-us h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11.823vw;
    height: 12px;
    background-image: url(../img/petli.svg);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 11.823vw;
}
.choosing-us__items {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 20px;
}
.choosing-item {
    display: flex;
    max-width: 310px;
    width: 100%;
    height: 76px;
    gap: 12px;
    border-radius: var(--radius-md);
    padding: 16px;
    background-color: var(--white);
}
.choosing-item span {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    max-width: 230px;
    width: 100%;
}
.choosing-icon {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: inherit;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(../icons/pin-icon.svg);
    flex-shrink: 0;
}

/* Стили для контактов */
.contacts {
    padding-bottom: 157px;
}
.contacts h2 {
    position: relative;
    padding-bottom: 12px;
    margin-right: 56px;
}
.contacts h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 193px;
    height: 100%;
    background-image: url(../img/petli.svg);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
}
.contacts__controls {
  display: flex;
  align-items: center; /* Выровнять по вертикали по центру */
  gap: 20px; /* Отступ между навигацией и переключателем */
  margin-bottom: 20px; /* Отступ до контента */
}
.contacts-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.contacts-tab-link {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    transition: background 0.3s;
    border: 1.5px solid var(--blue-light);
    font-family: 'Roboto Condensed';
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    color: var(--black);
}

.contacts-tab-link.active {
    background: var(--blue-light); /* Или ваш основной цвет */
    color: var(--blue);
}

.contacts-tab-content {
    display: none; /* Скрыто по умолчанию */
}

.contacts-tab-content.active {
    display: block;
}

.contacts-view-switcher {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.view-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.contacts-view-switcher i {
    display: block;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    background-repeat: no-repeat;
    background-position: center;
}
.view-btn .icon-map {
    background-image: url(../icons/icon-map.svg);
}
.view-btn.active .icon-map {
    background-image: url(../icons/icon-map-active.svg);
}
.view-btn .icon-list {
    background-image: url(../icons/icon-spisok.svg);
}
.view-btn.active .icon-list {
    background-image: url(../icons/icon-spisok-active.svg);
}

/* Сетка карточек */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 40px;
}

.contact-card {
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    background: var(--white, #F8FAFF);
}

.contact-card__info {
    margin-bottom: 12px;
    position: relative;
    padding-left: 48px;
}
.contact-card__info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    background-image: url(../icons/pin-icon.svg);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
}
.contact-card__address {
    font-weight: bold;
    margin: 10px 0 5px;
}

.contact-card__schedule, 
.contact-card__phone {
    margin: 5px 0;
    color: #555;
}
.contact-card__phone {
    border-bottom: 1px solid;
    margin-bottom: 0;
}

.contact-card__no-appointment {
    color: #777;
    font-style: italic;
}

.contacts-view {
    display: none;
}

.contacts-view.active {
    display: block;
}
/* Адаптивность */
@media screen and (max-width: 1920px) {
    
}
@media screen and (max-width: 1700px) {
    
}
@media screen and (max-width: 1512px) {
    
}
@media screen and (max-width: 1280px) {
    .header nav ul {
        gap: 20px;
    }
}
@media screen and (max-width: 1024px) {
    .about-col:last-child {
        display: none;
    }
    .hero .container {
        flex-direction: column;
    }
    .hero-advantages {
        margin: 0 auto;
        width: 70vw;
        height: 80vw;
    }
    .hero-img img {
        left: 4.883vw;
        width: 63.672vw;
        height: 63.672vw;
    }
    .hero-discr {
        margin-bottom: 33px;
    }
    .hero-circle {
        top: 50%;
        height: 80%;
    }
    .hero .advantages-item:nth-child(1) {
        top: 96px;
        left: 106px;
    }
    .hero .advantages-item:nth-child(2) {
        top: 96px;
        left: 0;
    }
    .hero .advantages-item:nth-child(3) {
        top: 0;
        left: 0;
    }
    .hero .advantages-item:nth-child(4) {
        bottom: -30px;
        left: 0;
        top: auto;
    }
    .hero .advantages-item:nth-child(5) {
        bottom: -30px;
        left: 126px;
    }
    .services__wrapper {
        padding-top: 98px;
    }
    .header nav ul {
        gap: 10px;
    }
}
@media (max-width: 912px) {
    .content__sidebar {
        display: none;
    }   
    .service-cols {
        flex-direction: column-reverse;
        margin-bottom: 90px;
        gap: 40px;
    }
    .course-cols {
        margin-bottom: 40px;
        gap: 0px;
    }
    .course-col .courses-item {
        position: relative;
        margin-bottom: 40px;
    }
    .course .content {
        margin-bottom: 0px;
    }
    .course .course-col:first-child {
        display: none;
    }
    .service-col:first-child {
        padding-bottom: 0;
    }
    .service .content {
        margin-bottom: 0;
    }
    .training-cols {
        flex-direction: column;
        gap:4px;
        margin-bottom: 70px;
    }
    .benefice-first__cols, .benefice-second__cols {
        flex-direction: column;
    }
    .benefice-third__cols {
        flex-direction: column-reverse;
    }
    .benefice-col {
        max-width: 100%;
    }
    .benefice-first__cols {
        gap: 20px;
        margin-bottom: 24px;
    }
    .benefice-second__cols {
        gap: 4px;
        margin-bottom: 40px;
    }
    .benefice-third {
        gap: 40px;
        margin-bottom: 40px;
    }
    .benefice-photo {
        padding-bottom: 40px;
    }
    .licenses-cols {
        flex-direction: column;
    }
    .licenses-col {
        max-width: 100%;
    }
    .special-offers__wrapper {
        flex-direction: column;
    }
    .special-price, .special-asides {
        max-width: 100%;
    }
    .special-img {
        position: relative;
        opacity: 0;
        visibility: hidden;
        height: 0;
        overflow: hidden;
    }
    .special-img.active {
        opacity: 1;
        visibility: visible;
        height: auto;
        overflow: visible;
    }
    .special-img img {
        display: none;
    }
    .special-img .advantages-item {
        position: inherit;
        bottom: 0;
        left: 0;
        width: 100%;
    }
    .contacts__controls {
        flex-wrap: wrap;
    }
    .contacts__controls .title-wrap {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .services-head h2 {
        margin-right: 0;
    }
    .services-head h2::after {
        width: 100%;
    }
    .news h2:after {
        height: 5px;
    }
    .page-header__items {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 24px;
    }
    .page-header__title {
        width: 100%;
    }
    .doctor-reviews .page-header__items {
        flex-direction: row;
    }
    .custom-select-wrapper {
        width: fit-content;
    }
    .bio__wrapper {
        display: flex;
        flex-direction: column-reverse;
        gap: 24px;
    }
    .doctor .advantages-items {
        margin-bottom: 0;
    }
    .doctor {
        padding-bottom: 32px;
    }
    .advantages-items {
        flex-wrap: wrap;
    }
    .doctor-info {
        margin-bottom: 24px;
    }
    .benefice-photo .page-header__items {
        display: flex;
    }
	.courses-item {
		max-width: 327px;
	}
}
@media (max-width: 767.9px) {
    .licenses-img,.licenses-img:nth-child(1), .licenses-img:nth-child(2) {
        width: 100%;
        height: auto;
     }
     .hero .container {
        flex-direction: column;
     }
    .services-head {
        flex-wrap: wrap;
     }
     .tabs-navigation {
        flex-wrap: unset;
        overflow-x: auto; /* Включаем горизонтальный скролл */
        white-space: nowrap; /* Запрещаем перенос строк, если вкладки не помещаются */
        gap: 10px; /* Отступы между вкладками */
        
        /* Опционально: улучшаем вид скроллбара */
        -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
        scroll-behavior: smooth; /* Плавная прокрутка */
        
        /* Опционально: скрываем скроллбар визуально, но оставляем функционал */
        &::-webkit-scrollbar {
        height: 4px; /* Высота скроллбара */
        }
        &::-webkit-scrollbar-track {
        background: transparent;
        }
        &::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 4px;
        }
    }

    /* Убедитесь, что вкладки не сжимаются и идут в строку */
    .tabs-navigation > * {
        flex: 0 0 auto; /* Не сжимать, не растягивать, фиксированная ширина */
    }
    .services__wrapper {
        padding: 20px;
        padding-top: 98px;
    }
    .services-head {
        gap: 24px;
        margin-bottom: 24px;
    }
    .services-grid {
        column-count: 1;
    }
    .hero-advantages {
        width: 80vw;
        height: 110vw;
    }
}
