/* Обнуление и базовые настройки */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0 !important;
}

body, html {
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #132D3A;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

h2 {
  font-size: clamp(30px, 3.2vw, 36px);
} 

p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  list-style-type: none;
  color: inherit;
}

/* Контейнер */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.menu ul,
.navigation ul {
  list-style: none;
  padding-left: 0;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 16px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
  cursor: pointer;
  line-height: 1;
}

.btn--primary {
  background-color: #1B98D2;
  color: white !important;
  border: none;
  font-size: 16px;
  font-family: inherit;
}

.btn--primary:hover {
  background-color: #198cc2;
}

button {
  border: none;
  font-size: 16px; 
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

/* Хлебные крошки */
.breadcrumbs {
  margin-top: 10px;
  margin-bottom: 50px;
}

.breadcrumbs__block {
  display: flex;
  column-gap: 4px;
  font-size: 14px;
}

.breadcrumbs__block a {
  color: #1B98D2;
}

.breadcrumbs__block span {
  color: #59666c8a;
}

/* Header */
.header {
  padding: 16px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 15px;
}

.header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  border-bottom: 1px solid #B6C3C9;
  padding-bottom: 15px;
}
.header__top p {
  margin: 0;
}

.header__address,
.header__time,
.header__phone {
  display: flex;
  gap: 10px;
}

.header__phone {
  font-size: 20px;
  font-weight: 600;
}

.header__address p,
.header__time p,
.header__phone p {
  display: flex;
  flex-direction: column;
}

.header__social {
  gap: 15px;
  display: flex;
}

.header__social a {
  background-color: #EBF4F6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
}

.header__contacts a,
.header__email,
.header__phone {
  color: #132D3A;
  text-decoration: none;
  margin-right: 20px;
}

.header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  width: 100%;
}

.header__logo-mobile {
  display: flex;
  justify-content: center;
}

.header__logo-mobile img {
  width: 100%;
  margin-bottom: 30px;
}

.header__social-mobile {
  display: flex !important;
  justify-content: center;
}

.nav__list {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav__list a {
  color: #132D3A;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.header-btn {
  bottom: 16px;
  background-color: #1b98d2;
  color: white;
  font-weight: 500;
  text-align: center;
  padding: 12px 24px;
  transition: 0.3s;
  line-height: 24px;
  font-family: inherit;
}

/* Бургер-меню */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.header__burger:focus {
  outline: none;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #132D3A;
  border-radius: 2px; /* закругление краёв */
  transition: all 0.3s ease;
  position: relative;
}

/* Верхняя линия — полная длина */
.header__burger span:nth-child(1) {
  width: 100%;
}

/* Средняя линия — короче */
.header__burger span:nth-child(2) {
  width: 60%; /* можно регулировать: 50%–70% */
  align-self: end;
}

/* Нижняя линия — полная длина */
.header__burger span:nth-child(3) {
  width: 100%;
}

/* === Мобильное меню === */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-color: white;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 60px 40px 30px 40px;
  transform: translateX(100%);
  transition: transform 0.9s;
  /* -webkit-box-shadow: -50px 0px 32px 0px rgba(34, 60, 80, 0.14);
  -moz-box-shadow: -50px 0px 32px 0px rgba(34, 60, 80, 0.14);
  box-shadow: -50px 0px 32px 0px rgba(34, 60, 80, 0.14); */
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 44px;
  background: none;
  border: none;
  color: #132D3A;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mobile-menu__list a {
  font-size: 24px;
  font-weight: 600;
  color: #132D3A;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  display: block;
  transition: color 0.2s;
}

.mobile-menu__list a:hover {
  color: #1B98D2;
}

/* Анимация бургера → крестика */
.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.header__burger.active span:nth-child(2) {
  opacity: 0;
}
.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* === Модальное окно === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-open {
  overflow: hidden;
}

.modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* плавная прокрутка на iOS */
}

.modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2px 20px;
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.modal__content {
  position: relative;
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.active .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  line-height: 1;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
}

.modal__close:hover {
  color: #1B98D2;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 24px;
  color: inherit;
  text-align: center;
}

/* === Форма === */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
  color: #132D3A;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1B98D2;
  box-shadow: 0 0 0 3px rgba(27, 152, 210, 0.15);
}

.form-group--consent {
  margin-top: 8px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #4a5568;
}

.consent-label input {
  width: auto;
  margin-top: 4px;
}

.form button[type="submit"] {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  margin-top: 12px;
  font-weight: 600;
}

/* Общий стиль для чекбокса с текстом */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.form-checkbox input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    padding-left: 0;
}

.form-checkbox label {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    display: inline-block;
}

/* Стиль для ссылки в тексте согласия */
.form-checkbox label a {
    color: #1B98D2;
    text-decoration: underline;
}

.form-checkbox label a:hover {
    color: #0d7ab5;
}

/* === Кнопка - скролл вверх === */

.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #1B98D2;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(27, 152, 210, 0.3);
  z-index: 100;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: #157fbf;
  transform: translateY(-2px);
}

 
/* Текстовая страница */
.text-page-main {
  margin-top: 50px;
  margin-bottom: 30px;
}
.text-page {
  margin-top: 50px;
  margin-bottom: 90px;
  width: 70%;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.text-page p {
  padding-bottom: 10px;
}

.text-page h2 {
  font-size: 28px;
}

/* Блок - Новый слайдер */
.hero {
  display: flex;
  /* padding: 40px 0;
  background: #EBF4F6; */
  text-align: center;
  align-items: center;
  max-height: 460px;
}

.hero__block {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 15px;
}

.hero__left img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero__slider {
  width: 100%;
  height: auto;
  /* min-height: 360px; */
  border-radius: 20px;
  background-color: white;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.hero__slider .swiper-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  /* height: 460px !important; */
  padding: 0 !important;
  opacity: 0;
}

.hero__left {
  text-align: left;
  width: 100%;
  /* background-image: url(../img/header__slider/slide2.jpg);
  background-size: cover; */
}

/* Позволяет flex-элементам сжиматься ниже содержимого */
.slide-content,
.hero__left,
.hero__right {
  min-width: 0;
}

.hero__right img {
  max-width: 100%;
  height: auto;
  display: block;
}



a.hero__news-btn {
  position: absolute;
  background-color: #E8F1F4 !important;
  color: #1B98D2 !important;
  text-align: center;
  transition: 0.3s;
  font-size: clamp(14px, 1.2vw, 16px);
  bottom: 20px;
  left: 30px; 
  width: calc(100% - 45px); 
}

a.hero__news-btn:hover {
  background-color: #1B98D2 !important;
  color: white !important;
}

.arrow-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  stroke: #1B98D2;
  transition: 0.3s;
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
  stroke: white !important;
}

.hero p {
  font-size: 18px;
  margin-bottom: 24px;
  color: #4a6b7d;
}

.hero__slider-item {
  padding: 45px 20px 20px 40px;
  position: relative;
}

.hero__slider-item-btn {
  position: absolute;
  left: 3%;
  bottom: 10%;
}

.hero__slider-item-btn a {
  display: flex;
  column-gap: 6px;
  font-size: clamp(10px, 1.2vw, 16px);
  padding: clamp(12px, 4vw, 16px) clamp(16px, 6vw, 24px);
}

.hero__arrow {
  display: flex;
  gap: 26px;
  position: absolute;
  right: 30px;
  bottom: 20px;
}

.swiper-button-prev,
.swiper-button-next {
  background-color: #E8F1F4;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  align-items: center;
  display: flex;
  justify-content: center;
  color: transparent;
  position: relative;
}

.doctors-swiper-button-prev,
.doctors-swiper-button-next {
  background-color: #1B98D2;
  color: #E8F1F4 !important;
}

.doctors-swiper-button-prev::after,
.doctors-swiper-button-next:after {
  color: #E8F1F4 !important;
}

.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.5); Затемнение */
  /* z-index: 1; */
}



.swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 24px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    color: #1B98D2;
    text-decoration: none;
}

.slide-content {
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 2s ease-out, transform 2s ease-out;
  display: flex;
}


.swiper-pagination-bullet {
  background: rgb(110, 178, 209);
  width: 10px;
  height: 10px;
  transition: background 0.3s;
}

.swiper-pagination-bullet-active {
  background: #1B98D2;
}







/* Блок - Преимущества */

.advantages {
  margin-top: 50px;
}

.advantages__block {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.advantages__item {
  max-width: 23%;
  height: auto;
  position: relative;
  padding-left: 50px;
  padding-top: 16px;
}

.advantages__item-number {
  position: absolute;
  font-size: 75px;
  font-weight: 600;
  top: -25px;
  left: 0px;
  color: #E8F1F4;
  letter-spacing: 2%;
  z-index: -1;
}

.advantages__item-title {
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 12px;
}

.advantages__item-desc {
  color: #59666C;
  font-size: 14px;
  line-height: 24px;
}

/* Блок - О клинике */

.clinica {
  margin-top: 90px;
  position: relative;
}

.usluga-page {
  margin-top: 50px;
}

.clinica__block {
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
}

.clinica__block-left {
  width: 50%;
  z-index: 3;
}

.clinica__text-top {
  font-weight: 500;
  color: #B6C3C9;
  text-transform: uppercase;
}

.clinica__block h1 {
 font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  padding-top: 5px;
  line-height: 1.2;
  padding-bottom: 20px;
}

.clinica__block-text {
  padding-top: 20px;
}

.clinica__block-text h2 {
  font-size: 18px;
  font-weight: 600;
  padding-top: 20px;
}

.clinica__block-text p {
  padding-top: 15px;
  color: #59666C;
}

.clinica-btn {
  background-color: #1B98D2 !important;
  color: #E8F1F4 !important;
  text-align: center;
  transition: 0.3s;
  font-size: clamp(14px, 1.2vw, 16px);
  margin-top: 30px;
}

a.clinica-btn .arrow-icon {
  stroke: #E8F1F4 !important;
}

.clinica__block-right {
  position: relative;
}

.clinica__block-img img {
  position: absolute;
  bottom: 0;
  right: 50%;
}

.clinica__block::before {
  content: "";
  position: absolute;
  bottom: 0px; /* выходит за нижнюю границу */
  left: 0;
  width: 100%;
  height: 520px;
  background: url(../img/clinica/fon.svg) center bottom no-repeat;
  background-size: contain;
  z-index: 2;
}


.licenses-page__block img {
  width: 100%;
}

/* Модальное окно */
.license-modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: -1;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.4s ease;
}

.license-modal.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

.license-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border: 2px solid #fff;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.license-modal.active img {
  transform: scale(1);
}

.license-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 32px;
  cursor: pointer;
  user-select: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.license-modal.active .license-modal-close {
  opacity: 1;
}

.certificates-page__block {
  display: flex;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  column-gap: 19px;
  width: 100%;
  padding: 10px 0;
}

.certificates-page__block::-webkit-scrollbar {
  display: none;
}

.certificates-page__block img {
  min-width: 270px;
  height: auto;
  flex-shrink: 0;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: zoom-in;
}

#certificates-heading {
  margin-bottom: 50px;
}


/* Блок - Услуги */

.uslugi {
  margin-top: 90px;
}

.uslugi-page {
  margin-top: 50px;
}

.uslugi-gallery-page {
  margin-bottom: 90px;
  margin-top: 50px !important;
}

.uslugi-gallery-page h2 {
  font-size: 28px;
  padding-bottom: 10px;
}

.uslugi__block {
  margin-top: 50px;
  display: flex;
  justify-content: start;
  gap: 26px;
  flex-wrap: wrap;
}

.uslugi__item {
  width: 23%;
  height: auto;
  border-radius: 20px;
  border: 1px solid #CCDEE4;
  padding: 20px 20px 20px 30px;
  position: relative;
}

.uslugi__item-icon {
  position: absolute;
  top: 15px;
  left: 30px; 
  width: 40px;
  height: 40px;
  background-color: #E8F1F4;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.uslugi__item-icon img {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%) translateX(-60%);
  width: 36px;
  height: auto;
}

.uslugi__item h3 {
  padding-top: 64px;
  font-weight: 600;
}

.uslugi__item-desc {
  font-size: 14px;
  color: #59666C;
  padding-top: 24px;
  padding-bottom: 70px;
  line-height: 26px;
}

.uslugi__item-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #E8F1F4;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1B98D2;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

/* При наведении на карточку */
.uslugi__item:hover .uslugi__item-arrow {
  background-color: #1B98D2;
  color: white; 
  transform: scale(1.1);
}

.uslugi-btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content; 
  margin-top: 50px; 
}

/* Блок - документы для скачивания */
.documents__download {
  margin-top: 90px;
  margin-bottom: 90px;
}

.documents__download-block {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  row-gap: 15px;
}

.document__download::after {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background: url(../img/icon/pdf.svg) no-repeat center;
  background-size: contain;
  flex-shrink: 0; /* чтобы иконка не сжималась */
  margin-left: 10px;
}

/* Преимущества */

.advantages__new {
  margin-top: 90px;
}

.advantages__new__block {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  border-radius: 40px;
  padding: 50px 60px 50px 60px;
  background-color: #c1e5f6;;
  /* background:
    linear-gradient(222deg, #ffe0db 0%, #35abd0 100%); */
  background-size: cover !important;
  position: relative;
  z-index: -1;
}

.advantages__new__block h2 {
  text-align: left;
}

.advantages__new__block-items {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px; 
  width: 100%;
  padding-top: 50px;
  column-gap: 150px;
  background:
    url(../img/advantage/tooth.png) center center no-repeat;
  background-size: 40% !important;
}

.advantages__new__item {
  max-width: 350px;
  height: auto;
  position: relative;
  padding: 28px 10px 20px 46px;
}
.advantages__new__item-number {
  font-size: clamp(50px, 5vw, 60px);
  /* color: #f4f7f83d; */
  color: #f4f7f88c;
  font-weight: 700;
  letter-spacing: 2%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
.advantages__new__item-title h3 {
  font-size: clamp(20px, 3vw, 24px);
  color: #252e32;
  font-weight: 700;
}
.advantages__new__item-desc {
  font-size: clamp(14px, 2vw, 18px);
  color: #59666c;
  font-weight: 400;
  line-height: 30px;
  padding-top: 20px;
}



/* Популярные услуги */

.popular {
  margin-top: 90px;
  background-image: url(../img/popular_uslugi/popular-background.svg);
  background-repeat: no-repeat;
  background-position: left 100px;
  background-color: #F4F7F8;
  background-size: 60% 100%;
}

.popular__blok-main {
  width: 100%;
  height: auto;
  padding-top: 50px;
  position: relative;
}

.popular__block {
  display: flex;
  justify-content: space-between;
  padding-bottom: 50px;
}
.popular__block-left {
  padding-top: 50px;
  width: 34%;
  z-index: 1;
}
.popular__block-left-desc {
  color: #59666c;
  font-weight: 400;
  line-height: 30px;
}
.popular__block-left-btn {
  
}
.popular__block-right {
  width: 55%;
  background-color: white;
  border-radius: 20px;
  margin-top: 50px;
  background-color: #fffdfd;
  box-shadow: 0px 6.599999904632568px 13px #1d3d450a, 0px 33px 80px #1d3d4500;
}

.popular__block-right ul {
  padding: 40px;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.popular__block-right li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ccdee485;
  padding: 18px 15px 0 0;
  font-weight: 500;
}

.popular-price {
  white-space: nowrap;
}


/* Блок - Видео */

.video {
  margin-top: 90px;
}
.video__block-title {
  width: 60%;
}
.video__block {
  padding-top: 50px;
  display: flex;
  justify-content: space-between;
}
.video__block-left {
  line-height: 26px;
  width: 40%;
}

.video__block-right {
  align-items: center;
  width: 50%;
}

.video__block-right video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}


/* Блок - Запись к стоматологу онлайн */

.feedback {
  margin-top: 90px;
}

.feedback__block-main {
  display: flex;
  flex-direction: column;
  padding: 50px;
  background-color: #1B98D2;
  /* background:
    linear-gradient(222deg, #ffe0db 0%, #35abd0 100%); */
  background-size: cover !important;
  border-radius: 50px;
  color: white;
  position: relative;
}

.feedback__block-main::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(../img/popular_uslugi/popular-background.svg);
  background-repeat: no-repeat;
  background-position: right 175% top;
  background-size: 120% 120%;
  opacity: 0.09;
  z-index: 1;
  border-radius: 20px;
}

.feedback__block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 20px;
  z-index: 10;
}

.feedback__block-left {
  width: 50%;
}

/* .feedback__block-left h2 {
  font-size: clamp(24px, 5vw, 36px)
} */

.feedback__block-left-desc {
  padding-top: 10px;
  font-size: 20px;
  /* color: #59666C; */
  color: #c7e3e9;
}

.feedback__block-left-personal {
  padding-top: 0px;
  font-size: 12px;
  width: 50%;
}

.feedback__text-active {
  color: white;
}

.feedback__block-right {
  width: 100%;
  margin-top: 30px;
}

.feedback__block-right .form {
  display: flex;
  gap: 30px;
  align-items: center;
}

.feedback__block-right .form-group {
  width: 35%;
}

.feedback__block-right input {
  border-radius: 40px;
  height: 50px;
  background-color: #ebf4f6 !important;
}

.feedback__block-right label {
  padding-left: 20px;
  color: #ebf4f6 !important;
}

.btn__feedback {
  height: 50px !important;
  display: inline-block;
  width: 24% !important;
  margin-top: 0 !important;
  color: #1B98D2 !important;
  background-color: white !important;
}



/* Блок - Врачи */

.doctors {
  margin-top: 90px;
}
.doctors-page {
  margin-top: 50px;
  margin-bottom: 90px;
}
.doctors__block-title {
  display: flex;
  justify-content: space-between;
}

.doctors-swiper-wrapper {
  position: relative;
}

.doctors-swiper {
  padding: 50px 0 0 0;
}

.doctors-page__block-items {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  column-gap: 15px;
}

.doctor-page-item {
  display: flex;
  flex-direction: column;
  width: 24% !important;
  height: 470px;
  gap: 15px;
  padding: 30px 20px 30px 30px;
  position: relative;
  border-radius: 20px;
  border: 1px solid #CCDEE4;
  flex: 0 0 auto;
  align-items: start;
  justify-content: flex-start;
}

.doctor-page-item img {
  position: absolute;
  bottom: 0;
  right: 20px;
  width: 204px;
  height: auto;
  z-index: -1;
}

.doctor-item-post-page {
  font-size: 14px;
  color: #59666c;
  font-weight: 400;
}

/* .doctors__block-items {
  display: flex;
  padding-top: 50px;
  overflow-x: auto;
  column-gap: 20px;
  min-width: 100%;
} */
.doctor-item {
  display: flex;
  flex-direction: column;
  width: 320px !important;
  height: 465px;
  gap: 15px;
  padding: 30px 20px 30px 30px;
  position: relative;
  border-radius: 20px;
  border: 1px solid #CCDEE4;
  flex: 0 0 auto;
  align-items: start;
  justify-content: start;
  margin-right: 20px !important;
}

.doctors__block-page-desc {
  margin-top: 20px;
  width: 70%;
}

.doctor-item-title {
  display: flex;
}

.doctor-item-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer !important;
  z-index: 1;
}

.doctor-item-title a:hover {
  color: #1B98D2 !important;
}

.doctor-item h3 {
  font-size: 18px;
  display: flex;
}
.doctor-item-experience {
  padding: 2px 14px;
  background-color: #e8f1f4;
  border-radius: 20px;
  font-size: 14px;
  width: fit-content;
}

.doctor-item-post {
  font-size: 16px;
  color: #59666c;
  font-weight: 400;
}

.doctor-item img {
  position: absolute;
  bottom: 0;
  right: 20px;
  width: 204px;
  height: auto;
  z-index: -1;
}

.doctors-btn-up {
  background-color: #ebf4f6;
  color: #1b98d2;
  font-weight: 600;
  text-align: center;
  padding: 19px 24px 18px 24px;
  transition: 0.3s;
}

.doctors-btn-up:hover {
  background-color: #1b98d2;
  color: white;
}

.doctors-btn {
  position: absolute;
  bottom: 16px;
  background-color: #ebf4f6;
  color: #1b98d2;
  font-weight: 600;
  text-align: center;
  padding: 12px 24px;
  transition: 0.3s;
}

.doctors-btn:hover {
  background-color: #1b98d2;
  color: white;
}

.doctors-swiper-button-prev,
.doctors-swiper-button-next {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  z-index: 1000;
}

.reviews-doctor {
  margin-top: 90px;
}

.doctors-swiper-button-prev { 
  right: -22px !important;
  left: auto;
  transform: rotate(180deg);
  padding-right: 2px;
}
.doctors-swiper-button-next { 
  left: -22px !important; 
  transform: rotate(180deg);
  padding-left: 2px;
}

.medical__nurse {
  margin-top: 90px;
}

.medical-item {
  height: 370px !important;
}

.doctors-main-text {
  margin-top: 90px;
  margin-bottom: 90px;
}

.doctors-main-text__block {
  margin-top: 25px;
  padding-top: 30px;
  width: 70%;
}

.doctors-main-text__block h3 {
  font-size: 24px;
}

.doctors-main-text__block p {
  line-height: 28px;
  padding-top: 20px;
}

/* Страница - Врач */
.doctor-hero {
  margin-top: 50px;
  margin-bottom: 90px;
}

.doctor-hero__block {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #CCDEE4;
  column-gap: 50px;
}

.doctor-subtitle {
  font-size: 20px;
  padding-top: 10px;
}

.doctor-experience {
  font-size: 16px;
  padding-top: 20px;
}

.doctor-acc{
	display:inline-flex;
	align-items:center;
	gap:6px;
	width:fit-content;
	margin-top:12px;
	padding:6px 12px;
	border-radius:10px;
	background:#EBF4F6;
	color:#1e7a52;
	font-size:14px;
	line-height:18px;
}
.doctor-acc svg{ flex:none; }
.doctor-acc.acc-soon{ background:#fdf3e2; color:#a2680a; }
.doctor-acc.acc-over{ background:#fdeceb; color:#b3372f; }

.staff-acc{
	display:inline-flex;
	align-items:center;
	gap:0px;
	width:fit-content;
	margin:-8px 0 0;
	padding:4px 8px;
	border-radius:8px;
	background:#EBF4F6;
	color:#1e7a52;
	font-size:12px;
	line-height:16px;
}
.staff-acc svg{ flex:none; }
.staff-acc.acc-soon{ background:#fdf3e2; color:#a2680a; }
.staff-acc.acc-over{ background:#fdeceb; color:#b3372f; }

.doctor-desc {
  font-size: 16px;
  padding-top: 20px;
  line-height: 28px;
}

.doctor-subscription {
  padding-top: 20px;
  padding-bottom: 20px;
  line-height: 32px;
}

.doctor-subscription small {
  color: #1B98D2;
  font-size: 20px;
}

.doctor__btn {
  padding-top: 20px;
  padding-bottom: 40px;
  display: inline-block;
}

.doctor-hero__block-right picture {
  display: flex;
  align-items: end;
}

.doctor-hero__block-right {
  display: flex;
  align-items: end;
}

.doctor-hero__block-right img {
  width: 350px;
  height: auto;
}

.doctor-about {
  margin-top: 90px;
}

.doctor-about__block {
  display: flex;
  column-gap: 40px;
}

.doctor-about__bloc-left {
  width: 50%;
}

.doctor-about__bloc-right {
  width: 50%;
}

.doctor-title {
  font-size: 28px;
}

.education {
  margin-top: 90px;
}

.education__block {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 50px;
  line-height: 28px;
  row-gap: 15px;
  padding: 30px;
  background-color: #F4F7F8;
  border-radius: 30px;
}

.education__block small {
  color: #1B98D2;
  font-size: 20px;
}

.doctor-price {
  margin-top: 90px;
}

.doctor-price h2 {
  margin-bottom: 30px;
}

.doctor-info {
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #c0e5f7;
  border-radius: 20px;
  font-size: 14px;
}

.review_doctor-page {
  margin-top: 90px;
}


/* Блок - Новости */

.news {
  margin-top: 90px;
}

.news__block-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.news-swiper-wrapper {
  position: relative;
}

.news-swiper {
  padding: 50px 0 0 0;
}

.news-item {
  display: flex;
  flex-direction: column;
  width: 350px !important;
  height: auto;
  position: relative;
  border-radius: 20px;
  flex: 0 0 auto;
  align-items: start;
  justify-content: start;
  margin-right: 20px !important;
  text-decoration: none;
  list-style-type: none;
  font-family: inherit;
}

.news-item data {
  padding-top: 6px;
  font-size: 14px;
  color: #59666C;
}

.news-title p {
  font-weight: 500;
  color: #B6C3C9;
  text-transform: uppercase;
}

.news-item h3 {
  font-size: 18px;
  padding: 10px 20px 10px 0px;
  color: #252E32;
}

.news-item-post {
  font-size: 16px;
  color: #59666c;
  font-weight: 400;
  padding: 8px 20px 0px 0px;
}

.news-item img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.news-btn-up {
  background-color: #ebf4f6;
  color: #1b98d2;
  font-weight: 600;
  text-align: center;
  padding: 19px 24px 18px 24px;
  transition: 0.3s;
}

.news-btn-up:hover {
  background-color: #1b98d2;
  color: white;
}

.news-swiper-button-prev,
.news-swiper-button-next {
  position: absolute;
  top: 43%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  z-index: 1000;
}

.news-swiper-button-prev { 
  right: -22px !important;
  left: auto;
  transform: rotate(180deg);
  padding-right: 2px; 
}
.news-swiper-button-next { 
  left: -22px !important;
  right: auto;
  transform: rotate(180deg);
  padding-left: 2px;  
}

.news-swiper-button-prev,
.news-swiper-button-next {
  background-color: #1B98D2;
  color: #E8F1F4 !important;
}

.news-swiper-button-prev::after,
.news-swiper-button-next:after {
  color: #E8F1F4 !important;
}

.news-page {
  margin-top: 50px !important;
}

.news__block-items-page {
  display: grid;
  column-gap: 20px;
  row-gap: 40px;
  margin-top: 50px;
  margin-bottom: 90px;
}

/* Десктоп: 3 карточки (ширина ≥ 992px) */
@media (min-width: 992px) {
  .news__block-items-page {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Планшет: 2 карточки (600px – 991px) */
@media (min-width: 481px) and (max-width: 991px) {
  .news__block-items-page {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Мобильный: 1 карточка (< 600px) */
@media (max-width: 480px) {
  .news__block-items-page {
    grid-template-columns: 1fr;
  }
}

.news-item-page {
  display: flex;
  flex-direction: column;
  height: auto;
  border-radius: 20px;
  text-decoration: none;
  color: inherit; /* чтобы наследовать цвет текста */
  transition: transform 0.2s;
}

.news-item-page img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin-bottom: 12px;
  display: block;
}

.news-item-page h2 {
  font-size: 18px;
}

/* Блок - Отызвы */

.reviews {
  margin-top: 90px;
}

.reviews__block-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.reviews-title p {
    font-weight: 500;
    color: #B6C3C9;
    text-transform: uppercase;
}

.reviews-swiper-wrapper {
  padding-top: 50px;
  position: relative;
}

.reviews-item {
  margin-right: 16px !important;
  position: relative;
} 

.reviews-left {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  width: 49%;
  line-height: 26px;
}

.reviews-item-up {
  background-color: #F4F7F8;
  border-radius: 20px;
  padding: 25px 20px;
  color: #59666C;
  height: auto;
  min-height: 427px;
  font-size: 14px;
}

.review__block-title {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.review__date {
  font-size: 14px;
  color: #B6C3C9;
}

.review__author {
  color: #252E32;
  font-weight: 600;
  padding-bottom: 14px;
}

.review__rating {
  text-align: right;
  width: 100%;
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.stars {
  font-size: 24px;
  color: #FCAF17;
  position: absolute;
  right: 10px;
  bottom: -5px;
}

.video-review {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #F4F7F8;
  border-radius: 20px;
  /* padding: 25px 20px 0; */
  color: #59666C;
  width: 50%;
  height: auto;
}

.review-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 10px 20px 0;
}

.review-transcript {
  background-color: #F4F7F8;
  border-radius: 20px;
  color: #59666C;
}

video {
  border-radius: 20px;
} 

video[poster] {
  width: 100%;
  height: auto;
}

.reviews-swiper-button-prev,
.reviews-swiper-button-next {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  z-index: 1000;
}

.reviews-swiper-button-prev { 
  right: -22px !important; 
}
.reviews-swiper-button-next { 
  left: -22px !important; 
}

.reviews-swiper-button-prev,
.reviews-swiper-button-next {
  background-color: #1B98D2;
  color: #E8F1F4 !important;
}

.reviews-swiper-button-prev::after,
.reviews-swiper-button-next:after {
  color: #E8F1F4 !important;
}

/* Блок - Примеры наших работ */

/* .works {
  margin-top: 90px;
}

.works__block-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.works-title p {
  font-weight: 500;
  color: #B6C3C9;
  text-transform: uppercase;
}

.works__block-filter {
  display: flex;
  column-gap: 40px;
  border-bottom: 1px solid #CCDEE4;
  padding-bottom: 12px;
  padding-top: 35px;
  font-weight: 500;
  text-decoration: none !important;
  list-style-type: none;
}

.works__block-filter a::after {
  background-image: url(../img/uslugi/1.svg) left no-repeat;
  width: 18px;
  height: auto;
}

.works__block-filter a {
  transition: 0.3s all;
  padding-bottom: 12px;
}

.works__block-filter a:hover {
  color: #1B98D2;
  border-bottom: 2px solid #1B98D2;
}

.works__block {
  display: flex;
  justify-content: space-between;
  padding-top: 35px;
  column-gap: 27px;
}

.work__block-item img {
  padding-bottom: 10px;
} */


/* === Галерея "до/после" === */
.gallery {
  margin-top: 90px;
}

.gallery-subtitle p {
  margin-bottom: 50px;
  padding-top: 10px;
  font-weight: 400;
  color: inherit !important;
  text-transform: inherit !important;
  font-size: 16px !important;
}

.gallery__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.gallery__header p {
  font-weight: 500;
  color: #B6C3C9;
  text-transform: uppercase;
  font-size: 14px;
}

/* Фильтры */

.gallery__filters-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
}

.gallery__page-wrapper {
  padding-bottom: 50px;
}

.gallery__filters-wrapper::-webkit-scrollbar {
  display: none; /* скрыть скроллбар в WebKit */
}

.gallery__filters {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 0px 0 5px;
  border-bottom: 1px solid #CCDEE4;
  margin-bottom: 32px;
  min-width: max-content; /* ← КЛЮЧЕВОЕ: не сжимать содержимое */
  white-space: nowrap; /* запретить перенос текста */
}

.filter-btn {
  background: none;
  border: none;
  font-weight: 600;
  color: #59666C;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  position: relative;
  font-size: 16px;
  font-family: inherit;
  transition: 0.3s all;
  position: relative;
  z-index: 1;
  flex-shrink: 0; /* ← не сжимать кнопки */
}

.filter-btn:hover,
.filter-btn.active {
  color: #1B98D2;
}

.filter-btn.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #1B98D2;
}

figure {
  margin: 0;
  border-radius: 20px;
}

/* Слайдер "до/после" */
.before-after-slider {
  position: relative;
  width: 379px;
  height: 0;
  padding-bottom: 64%; /* Соотношение 4:3 — измените при необходимости */
  overflow: hidden;
  border-radius: 20px;
  cursor: ew-resize;
  touch-action: none;
}

.before-after-slider img.before,
.before-after-slider img.after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.before-after-slider img.after {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  transform: translateX(-50%);
  z-index: 10;
}

.handle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* центрируем + поворачиваем */
  width: 40px;
  height: 40px;
  background-image: url('../img/works/icon2.svg'); /* ← ваша иконка */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none; /* чтобы не мешала перетаскиванию */
}

.handle-icon span {
  font-size: 20px;
}

.labels {
  position: absolute;
  top: 12px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  color: white;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  pointer-events: none;
  font-family: inherit;
}

.label-before,
.label-after {
  background: rgba(0,0,0,0.5);
  padding: 4px 10px;
  border-radius: 8px;
}

/* Галерея сетка */

.gallery__grid-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gallery__grid-wrapper::-webkit-scrollbar {
  display: none;
}

.gallery__grid {
  display: flex;
  padding: 12px 0;
  gap: 16px;
  min-width: max-content; /* ← не сжимать сетку */
}

.scroll-container {
  cursor: grab;
}

.scroll-container.active {
  cursor: grabbing;
}

.gallery-item figcaption {
  margin-top: 12px;
  font-weight: 600;
  color: #132D3A;
  text-align: left;
}

/* Мобильные */
@media (max-width: 768px) {
  .gallery__header {
    align-items: flex-start;
    display: grid;
  }

  .gallery__filters {
    gap: 16px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* Блок - Подписаться на ВК */

.subscription {
  margin-top: 90px;
  color: white;
}

.subscription__block {
  background-color: #1B98D2;
  background-size: 60% 100%;
  border-radius: 20px;
  padding: 30px 40px;
  width: 100%;
  height: auto;
  position: relative;
}

.subscription__block::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(../img/popular_uslugi/popular-background.svg);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 90% 100%;
  opacity: 0.09; /* ← прозрачность от 0 (невидимо) до 1 (полностью непрозрачно) */
  z-index: 1; /* чтобы был под контентом */
  border-radius: 20px; /* чтобы совпадал с родителем */
}

.subscription-title {
  padding-bottom: 20px;
  width: 70%;
}

.subscription-desc {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  font-size: 20px;
  padding-bottom: 30px;
}

.subscription-btn {
  background-color: white;
  color: #1b98d2;
  font-weight: 600;
  text-align: center;
  padding: 19px 24px 18px 24px;
  transition: 0.3s;
  text-decoration: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.subscription-img {
  position: absolute;
  bottom: 0;
  right: 0px;
  display: flex;
  width: 40%;
}

.subscription-img img {
  width: 390px;
  height: auto;
}


/* Блок - Полезные стаьи */

.blog-item img {
  width: 350px !important;
  height: 210px !important;
  border-radius: 20px !important;
}

.blog-item-post {
  font-size: 16px;
  color: #132D3A;
  font-weight: 400;
  padding: 0px 20px 0px 0px;
}

.blog-swiper {
  padding: 50px 0 0 0;
}

.blog-swiper-button-prev,
.blog-swiper-button-next {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  z-index: 10000;
}

.blog-swiper-button-prev { 
  right: -22px !important;
  left: auto; 
  padding-right: 2px;
}
.blog-swiper-button-next { 
  left: -22px !important;
  right: auto; 
  padding-left: 2px;
}

.blog-swiper-button-prev,
.blog-swiper-button-next {
  background-color: #1B98D2;
  color: #E8F1F4 !important;
  transform: rotate(180deg);
}

.blog-swiper-button-prev::after,
.blog-swiper-button-next:after {
  color: #E8F1F4 !important;
}

.blog-btn-up {
  background-color: #ebf4f6;
  color: #1b98d2;
  font-weight: 600;
  text-align: center;
  padding: 19px 24px 18px 24px;
  transition: 0.3s;
}

.blog-btn-up:hover {
  background-color: #1b98d2;
  color: white;
}

.blog__block-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.blog-page {
  margin-top: 50px;
  margin-bottom: 90px;
}

.blog-page h2 {
  font-size: 24px;
}

.blog-header p {
  width: 70%;
  padding-top: 10px;
}

.blog-header {
  margin-bottom: 0px;
}

.blog-category {
  width: 70%;
  margin-top: 50px;
}

.blog-posts {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  margin-top: 20px;
}

.blog-posts h3 {
  font-size: 18px;
  font-weight: 400;
}

.blog-posts a {
  border-bottom: 1px solid;
}

/* Страница - статья блога */
.blog-post-page {
  margin-bottom: 90px;
}

.post-header h1 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 16px;
  width: 70%;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  color: #64748b;
  font-size: 14px;
}

.post-featured-image {
  margin: 32px 0;
  text-align: center;
  width: 70%;
}

.post-featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.post-content {
  line-height: 1.7;
  width: 70%;
}

.post-content h2 {
  margin: 32px 0 16px;
  font-size: 24px;
}

.post-content p {
  margin-bottom: 16px;
}

.blog-single {
  margin-top: 50px;
  margin-bottom: 90px;
}

.blog-single-title,
.blog-single__block {
  width: 70%;
  padding-bottom: 10px;
}

.blog-single h2 {
  font-size: 24px;
  margin-top: 30px;
}

.blog-single-item-desc {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.blog-single-item-data {
  font-size: 14px;
  color: #4a5568;
}

.blog__block-item-img {
  width: 100%;
  height: auto;
}

.blog__block-item-img img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 20px;
}



/* Блок - Ответы на вопросы */
.faq__header {
  text-align: left;
  margin-bottom: 50px;
  margin-top: 90px;
  align-items: flex-start;
}

.faq__header p {
  font-weight: 500;
  color: #B6C3C9;
  text-transform: uppercase;
}

.faq__header h2 {
  font-size: 32px;
  color: #132D3A;
}

/* Аккордеон */
.accordion {
  max-width: 900px;
  text-align: left;
}

.accordion-item {
  background-color: #F4F7F8;
  margin-bottom: 10px;
  border-radius: 20px;
  padding: 25px 30px 7px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
  padding-left: 0;
}

#heading-1 {
  padding-top: 0;
}

.accordion-title {
  font-size: 20px;
  font-weight: 500;
  color: #132D3A;
  flex: 1;
  padding-right: 16px;
}

.accordion-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #1B98D2;
}

/* Открытый элемент */
.accordion-item[open] .accordion-icon,
.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(90deg);
}

.accordion-header:hover .accordion-title {
  color: #1B98D2;
}

/* Контент */
.accordion-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-top: 15px;
}

.accordion-content p {
  padding: 0 0 5px 0;
  color: #4a5568;
  line-height: 1.8;
  font-size: 16px;
}

/* Блок - Важное */

.important {
  margin-top: 90px;
}

.important__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
  padding: 50px 0 0px 0;
  scrollbar-width: none; /* скрыть скроллбар в Firefox */
}

.important__wrapper::-webkit-scrollbar {
  display: none; /* скрыть в Chrome/Safari */
}

.important__block {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  width: fit-content; /* ← важно: не 100% */
  min-width: 100%; /* но не меньше ширины контейнера */
  padding: 0 0px; /* отступы слева/справа для скролла */
}

.important-item {
  flex-shrink: 0; /* ← запрещает сжатие */
  width: 23%; /* фиксированная ширина */
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: transparent;
  padding: 0;
}

.important-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
}

.important-item p {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

/* Блок - Оставить отзыв */

.leave-review {
  margin-top: 90px;
  margin-bottom: 90px;
}

.leave-review__block {
  background-color: #c0e5f7;
  background-size: 60% 100%;
  border-radius: 20px;
  padding: 30px 40px;
  width: 100%;
  height: auto;
  position: relative;
}

.leave-review__block::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(../img/popular_uslugi/popular-background.svg);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 95% 100%;
  opacity: 0.3; /* ← прозрачность от 0 (невидимо) до 1 (полностью непрозрачно) */
  z-index: 1; /* чтобы был под контентом */
  border-radius: 20px; /* чтобы совпадал с родителем */
}

.leave-review-title {
  padding-bottom: 20px;
  width: 70%;
  position: relative;
  z-index: 1;
}

.leave-review-desc {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  font-size: 16px;
  padding-bottom: 50px;
  width: 66%;
  z-index: 1;
  position: relative;
}

.leave-review-btn {
  background-color: #1b98d2;
  color: white;
  font-weight: 600;
  text-align: center;
  padding: 19px 24px 18px 24px;
  transition: 0.3s;
  text-decoration: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.leave-review-img {
  position: absolute;
  bottom: 0;
  right: 0px;
  display: flex;
  width: 30%;
}

.leave-review-img img {
  width: 235px;
  height: auto;
}


/* Блок - Оставить отзыв */

.licenses {
  margin-top: -60px;
}

.licenses__block {
  background-color: #f1e2f4;
  background-size: 60% 100%;
  border-radius: 20px;
  padding: 30px 40px;
  width: 100%;
  height: auto;
  position: relative;
}

.licenses__block::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 95% 100%;
  opacity: 0.5; /* ← прозрачность от 0 (невидимо) до 1 (полностью непрозрачно) */
  z-index: 1; /* чтобы был под контентом */
  border-radius: 20px; /* чтобы совпадал с родителем */
}

.licenses-title {
  padding-bottom: 20px;
  width: 70%;
  position: relative;
  z-index: 1;
}

.licenses-desc {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  font-size: 16px;
  padding-bottom: 50px;
  width: 66%;
  z-index: 1;
  position: relative;
}

.licenses-btn {
  background-color: #1b98d2;
  color: white;
  font-weight: 600;
  text-align: center;
  padding: 19px 24px 18px 24px;
  transition: 0.3s;
  text-decoration: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.licenses-img {
  position: absolute;
  bottom: 0;
  right: 30px;
  display: flex;
  width: 30%;
}

.licenses-img img {
  width: 350px;
  height: auto;
}


/* === Модальное окно - Оставить отзыв === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.modal__content {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 32px;
  max-width: 490px;
  width: 90%;
  max-height: 94vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin: auto;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 45px;
}

.modal__close:hover {
  background: #f1f5f9;
}

.modal__content h2 {
  margin: 15px 0 12px;
  font-size: 24px;
  color: #132D3A;
  text-align: center;
}

.modal__desc {
  margin: 0 0 24px;
  color: #4a5568;
  text-align: center;
}

/* === Форма === */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 500;
  color: #132D3A;
  font-size: 14px;
  padding-left: 20px;
  margin: 0;
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1B98D2;
  box-shadow: 0 0 0 3px rgba(27, 152, 210, 0.15);
}

.form-checkbox {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.review-agree {
  width: 14px;
}

.form-checkbox input {
  margin-top: 4px;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 14px;
  line-height: 1.4;
  color: #4a5568;
  padding-left: 0;
}

.form-checkbox a {
  color: #1B98D2;
  text-decoration: underline;
}

.btn--primary {
  background: #1B98D2;
  color: white;
  padding: 16px 24px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn--primary:hover {
  background: #157fbf;
}

/* === Мобильные === */
@media (max-width: 600px) {
  .modal__content {
    padding: 15px;
    width: 100%;
  }

  .modal__content h2 {
    font-size: 20px;
  }

  .form-group input,
  .form-group textarea,
  .btn--primary {
    font-size: 16px; /* предотвращает zoom на iOS */
  }
}


/* Блок - Контакты клиники */

.contacts {
  margin-top: 90px;
}

.contacts__block {
  display: flex;
  margin-top: 50px;
  justify-content: space-between;
}

.contacts__block h3 {
  font-size: 18px;
  padding-bottom: 6px;
  font-weight: 600;
}

.contacts__block p {
  line-height: 26px;
  color: #59666C;
}

.contacts__block-left,
.contacts__block-right {
  display: flex;
  flex-direction: column;
  padding: 40px;
  row-gap: 20px;
  border-radius: 20px;
  background-color: #F4F7F8;
  width: 50%;
}

.contacts__block-right {
  margin-left: 20px;
}

.contacts-page {
  margin-top: 50px;
}

/* Блок - карта в футере */
.map-section {
  margin: 20px 0;
}

.map-wrapper {
  position: relative; /* ← обязательно для наложения карты */
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background: #F4F7F8 url(../img/map/map.jpg) no-repeat center center;
  background-size: cover;
}

#ymap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Когда карта загружена — она появляется и перекрывает фон */
.map-wrapper.loaded #ymap {
  opacity: 1;
}

/* Страница - Вакансии */

.job-page {
  margin-top: 50px;
}

.job-page h2 {
  font-size: 24px;
}

.job__block-title {
  width: 100%;
  padding-bottom: 10px;
}

.job__block-title p {
  padding-top: 10px;
  width: 70%;
}

.job_block-main-text {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  width: 100%;
  font-size: 14px;
}

.job__block-items-page {
  display: grid;
  column-gap: 20px;
  row-gap: 40px;
  margin-top: 50px;
  margin-bottom: 90px;
}

.job-item-page {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 200px;
  border-radius: 20px;
  border: 1px solid #CCDEE4;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
  padding: 20px 30px;
  position: relative;
}

.job-item-page h2,
.job_block-form h2 {
  font-size: 18px;
  padding-bottom: 10px;
}

.job-item-post {
  font-size: 16px;
  color: #59666c;
  font-weight: 400;
  padding: 0px 20px 0px 0px;
}

.job-item-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #E8F1F4;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1B98D2;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.job-item-page:hover .job-item-arrow {
  background-color: #1B98D2;
  color: white; 
  transform: scale(1.1);
}

@media (min-width: 992px) {
    .job__block-items-page {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 481px) and (max-width: 991px) {
    .job__block-items-page {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .job__block-items-page {
        grid-template-columns: 1fr;
    }
}

.job__block {
  display: flex;
  column-gap: 20px;
  row-gap: 30px;
  margin-bottom: 90px;
}

.job_block-text {
  margin-top: 50px;
}

.job_block-text small {
  color: #1B98D2;
  font-size: 20px;
}

.job_block-text h2 {
  font-size: 24px;
}

.job_block-text ul {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  padding-left: 20px;
}


.job_block-form {
  background: #F4F7F8;
  padding: 32px;
  border-radius: 20px;
  max-width: 600px;
  height: fit-content;
  margin: 0 auto;
}

.job_block-form h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: #132D3A;
}

.job_block-form p {
  margin: 0 0 24px;
  color: #4a5568;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-weight: 400;
  color: #132D3A;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 20px; /* ← ваши 20px */
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1B98D2;
  box-shadow: 0 0 0 3px rgba(27, 152, 210, 0.15);
}

/* Стиль загрузки файла */
.file-upload {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-btn {
  display: inline-block;
  padding: 10px 16px;
  background: #1B98D2;
  color: white;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 20px;
  margin-bottom: 10px;
  font-size: 14px;
}

.file-btn:hover {
  background: #157fbf;
}

/* Скрытый input — не удаляйте! */
.file-input {
  display: none;
}

.file-name {
  color: #4a5568;
  font-size: 14px;
}

/* Чекбокс */
.form-checkbox {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.form-checkbox input {
  margin-top: 4px;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 14px;
  line-height: 1.4;
  color: #4a5568;
}

.form-checkbox a {
  color: #1B98D2;
  text-decoration: underline;
}

/* Кнопка */
.btn--primary {
  background: #1B98D2;
  color: white;
  padding: 14px 20px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 16px;
  border: none;
  cursor: pointer;
  /* width: 100%; */
  transition: background 0.2s;
  display: block;
  width: 100%;
}

.btn--primary:hover {
  background: #157fbf;
}

/* Мобильные */
@media (max-width: 600px) {
  .job_block-form {
    padding: 24px;
  }

  .form-group input,
  .form-group textarea,
  .btn--primary {
    font-size: 16px;
  }
}


/* Страница - Отзывы */
.reviews__block {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  margin-bottom: 90px;
}

.reviews_block-video-items {
  display: grid;
  column-gap: 20px;
  row-gap: 40px;
  margin-top: 50px;
}

.video-review-page {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #F4F7F8;
  border-radius: 20px;
  /* padding: 25px 20px 0; */
  color: #59666C;
  width: 100%;
  height: auto;
}

@media (min-width: 769px) {
    .reviews_block-video-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    .reviews_block-video-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

.reviews-page__block-items {
  display: grid;
  column-gap: 20px;
  row-gap: 40px;
}

.reviews-item-page {
  display: flex;
  row-gap: 20px;
  line-height: 26px;
  position: relative;
}

.review__content-page {
  padding-bottom: 70px;
  font-size: 14px;
}

.reviews-item-up-page {
  background-color: #F4F7F8;
  border-radius: 20px;
  padding: 25px 20px;
  color: #59666C;
  height: auto;
  position: relative;
}

.review-header-page {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 10px 20px 10px 20px;
}

@media (min-width: 992px) {
    .reviews-page__block-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .reviews-page__block-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    .reviews-page__block-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

.reviews-page {
  margin-top: 50px;
}

.review__doctor-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  position: absolute;
  bottom: 30px;
}

.review__doctor-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review__doctor-name-page {
  color: #1B98D2;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.review__doctor-name {
  color: #1B98D2;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.review__doctor-name:hover {
  text-decoration: underline;
}

.reviews_block-video {
  margin-top: 90px;
}

.reviews_block-video h2 {
  font-size: 28px;
}

/* Страница - Услуга */

.usluga-title-page p {
  padding-top: 10px;
  width: 70%;
}

.usluga-page-text {
  margin-bottom: 90px;
}

.usluga-title-page {
  padding-bottom: 50px;
}

.usluga__block-1 {
  display: flex;
  gap: 40px;
}

.usluga__block-1-left {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  width: 50%;
  line-height: 28px;
}

.usluga__block-1 img {
  width: 450px;
  height: auto;
}

.usluga-page-text h2 {
  font-size: 28px;
}

.usluga-main-text__block {
  width: 70%;
}

.usluga-main-text__block:not(:last-child) {
  padding-bottom: 50px;
}

.price-list {
  margin: 60px 0;
}

.price-list h2 {
  font-size: 28px;
  color: #132D3A;
  margin-bottom: 32px;
}

/* Список цен */
.price-items {
  display: flex;
  flex-direction: column;
  gap: 0; /* бордеры будут между строками */
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #BEC7D5;
}

.price-title {
  flex: 1;
  color: #132D3A;
  font-size: 16px;
  line-height: 1.4;
}

.price-value {
  flex-shrink: 0;
  font-size: 16px;
  min-width: 80px;
  text-align: right;
}

/* Мобильные устройства */
@media (max-width: 600px) {
  .price-item {
    flex-direction: column;
    gap: 8px;
  }

  .price-value {
    text-align: left;
  }
}

.service-info {
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #c0e5f7;
    border-radius: 20px;
    font-size: 14px;
}

.service-title {
  font-size: 28px;
}


/* Страница - О клинике */
.licenses-page {
  margin-top: 90px;
}

.licenses-page h2 {
  margin-bottom: 50px;
}

.licenses-page__block {
  display: flex;
  overflow-x: auto;
  -ms-overflow-style: none;  /* скрывает скроллбар в IE/Edge */
  scrollbar-width: none;     /* скрывает скроллбар в Firefox */
  column-gap: 15px;
  width: 100%;               /* важно: фиксированная ширина */
  max-width: 100%;           /* не выходит за пределы контейнера */
  white-space: nowrap;       /* не даёт flex-элементам "сжиматься" */
}

/* Скрываем скроллбар в Chrome/Safari */
.licenses-page__block::-webkit-scrollbar {
  display: none;
}

.licenses-page__block img {
  width: auto;        /* не растягиваем автоматически */
  height: auto;       /* сохраняем пропорции */
  min-width: 220px;   /* минимальная ширина для прокрутки */
  max-width: 375px;    /* отключаем max-width, если он есть глобально */
  object-fit: contain; /* или cover, если нужно заполнить */
  flex-shrink: 0;     /* ЗАПРЕЩАЕМ сжатие в flex-контейнере */
}

.license-image {
  max-width: 280px;
  height: auto;
  display: block;
}

.clinica-doctors {
  margin-top: 90px;
}

.clinica-title-page p {
  padding-top: 10px;
  margin-bottom: 50px;
  color: #59666c8a;
  font-size: 20px;
}

.equipment {
  margin-bottom: 90px;
}

.equipment-title {
  margin-bottom: 20px;
}

.equipment-title p {
  font-weight: 500;
  color: #B6C3C9;
  text-transform: uppercase;
}

.equipment-photo img {
    width: 100%;
    height: auto;
    min-height: 250px;
    display: block;
    border-radius: 20px;
    object-fit: cover;
  }

/* .equipment__block {
  display: grid;
  gap: 20px;
  padding: 40px 0;
} */

.equipment-photos-wrapper {
  display: grid;
  gap: 20px;
  padding: 50px 0 0 0;
  grid-template-columns: repeat(3, 1fr);
}

.equipment-desc {
  width: 70%;
}



/* Мобильные: текст + горизонтальный скролл фото */
@media (max-width: 991px) {

  /* Текст — обычный блок */
  .equipment-desc {
    width: 80%;
  }

  /* Обёртка для фото */
  .equipment-photos-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    scrollbar-width: none; /* скрыть скроллбар в Firefox */
  }

  .equipment-photos-wrapper::-webkit-scrollbar {
    display: none; /* скрыть в Chrome/Safari */
  }

  /* Каждое фото — фиксированной ширины, не сжимается */
  .equipment-photo {
    flex-shrink: 0;
    width: 300px; /* или другая ширина по вашему макету */
  }

  .equipment-photo img {
    width: 100%;
    height: auto;
    min-height: 200px;
    display: block;
    border-radius: 20px;
    object-fit: cover;
  }
}



/* Footer */
footer {
  /* background-color: #F4F7F8; */
  color: #59666C;
  text-align: left;
  border-top: 1px solid #CCDEE4;
}

.footer__block {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 50px 0 0px 0;
  border-bottom: 1px solid #CCDEE4;
  column-gap: 40px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  width: 30%;
}

.footer-phone {
  display: flex;
  flex-direction: column;
}

.footer__column-left {
  width: 30%;
}

.footer__column-title {
  font-size: 16px;
  font-weight: 600;
}

.footer__column a {
  color: #132D3A;
  row-gap: 10px;
}

.footer__column-list-item {
  padding-bottom: 12px;
  font-size: 14px;
  transition: 0.3s all;
}

.footer__column-list a {
  display: flex;
  padding-bottom: 12px;
  font-size: 14px;
  transition: 0.3s all;
  row-gap: 10px;
}

.footer__column-list-item a:hover {
  color: #157fbf;
}

.footer-bottom-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer__column-logo img {
  width: 80%;
  height: auto;
}

.footer__column-contacts {
  border-bottom: 1px solid #ccdee494;
  padding-bottom: 10px;
}

.footer__column-contacts p {
  padding-bottom: 5px;
  font-size: 14px;
}

.footer__column-contacts a {
  font-size: 20px;
  font-weight: 600;
  color: #132D3A;
}

.footer-cards {
  display: flex;
  column-gap: 10px;
  border-bottom: none;
}

.footer-cards img {
  width: 40px;
  height: auto;
}

.footer__column-title {
  font-size: 16px;
  color: #132D3A;
}

.footer-social {
  gap: 15px;
  display: flex;
  padding-bottom: 10px;
}

.footer-social a {
  background-color: #EBF4F6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
}

.footer-text {
  font-size: 14px;
}

.footer__bottom-desc {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccdee494;
}

.footer-bottom-links {
  padding-top: 20px;
  padding-bottom: 20px;
}


/* Мобильные кнопки — только на малых экранах */
.mobile-actions {
  display: none;
}

@media (max-width: 600px) {
  .mobile-actions {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* background: white; */
    padding: 12px 16px;
    /* box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1); */
    z-index: 1000;
    gap: 12px;
  }

  .mobile-action-btn {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    color: white;
    transition: transform 0.15s, box-shadow 0.15s;
  }

  .mobile-call {
    background: #3aaf15; /* зелёный для звонка */
  }

  .mobile-call:hover {
    background: #257347;
  }

  .mobile-book {
    background: #1B98D2; /* ваш фирменный цвет */
  }

  .mobile-book:hover {
    background: #157fbf;
  }

  /* Эффект "нажатия" */
  .mobile-action-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  }
}



/* Медиазапросы для адаптивности */

@media (max-width: 1170px) {
  .doctor-page-item {
    width: 32% !important;
    height: 470px;
  }
}

@media (max-width: 1150px) {
  .nav__list {
    display: none; /* скрываем десктопное меню */
  }

  .header__burger {
    display: flex; /* показываем бургер */
  }

  .uslugi__item {
    width: 31%;
  }

  .uslugi__block {
    gap: 20px;
  }

  .doctors-swiper-button-prev { 
    right: 0px !important; 
  }
  .doctors-swiper-button-next { 
    left: 0px !important; 
  }

  .news-swiper-button-prev { 
    right: 0px !important; 
  }
  .news-swiper-button-next { 
    left: 0px !important; 
  }

  .reviews-item-up {
    min-height: 395px;
  }

  .leave-review-img {
    width: 30%;
  }

  .licenses-img {
    width: 36%;
  }
}

@media (max-width: 991px) {
  
  .hero__news {
    display: none;
  }

  .header__address {
    display: none;
  }

  .advantages__item {
    max-width: 47%;
  }

   .advantages__new__block-items {
    column-gap: 70px;
  }

  .popular__block-left {
    width: 70%;
  }

  .popular__block {
    flex-direction: column-reverse;
  }

  .popular__block-right {
    width: 100%;
  }

  .feedback__block-left {
    width: 100%;
  }

  .feedback__block-left-personal {
    width: 70%;
  }

  .reviews-item-up {
    min-height: 475px;
    font-size: 14px;
  }

  .subscription-img {
    width: 46%;
  }

  .subscription-img img {
    width: 334px;
    height: auto;
}

  .leave-review-img {
    width: 32%;
  }

  .leave-review-img img {
    width: 235px;
    height: auto;
}

  .contacts__block-left,
  .contacts__block-right {
    padding: 30px;
  }

  .licenses-img {
    width: 46%;
  }

  .footer__column {
    width: 44% !important;
  }
  .usluga__block-1 {
    flex-direction: column-reverse;
  }

  .usluga__block-1 img {
    width: 60%;
    height: auto;
  }

  .usluga__block-1-left {
    width: 75%;
  }

  .clinica__block-right {
    display: none;
  }

  .clinica__block-left {
    width: 70%;
  }

  
}

@media (max-width: 850px) {
  .header__social {
    display: none;
  }

  .doctor-page-item {
    width: 48% !important;
  }

}


@media (max-width: 768px) {
  .header__time {
    display: none;
  }

  .header__contacts {
    display: flex;
    gap: 16px;
  }

  .nav__list {
    flex-direction: column;
    gap: 12px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .header__burger {
    display: flex;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1.2rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .mobile-menu {
    width: 50%;
  }

  .uslugi__item {
    width: 48%;
  }

  .advantages__new__block-items {
    gap: 30px;
    column-gap: 20px;
    background: none;
  }

  .advantages__new__item-desc {
    line-height: 24px;
  }

  .popular__block-left {
    width: 80%;
  }

  .popular__block-right {
    width: 100%;
  }

  .video__block {
    flex-direction: column-reverse;
    row-gap: 20px;
  }

  .video__block-left {
    width: 80%;
  }

  .video__block-right {
    width: 80%;
  }

  .video__block-title {
    width: 100%;
  }

  .scroll-to-top {
    bottom: 70px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .feedback__block {
    flex-direction: column;
    row-gap: 40px;
  }

  .feedback__block-left {
    width: 100%;
  }

  .feedback__block-right {
    width: 100%;
  }

  .popular__block-right {
    font-size: 14px;
  }

  .popular__block-right li {
    column-gap: 10px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .doctor-item {
    width: 285px !important;
    height: 485px;
    margin-right: 16px !important;
  }

  .news-item {
    margin-right: 16px !important;
    width: 320px !important;
  }

  .doctors-btn-up {
    padding: 15px 18px 15px 18px;
    font-size: clamp(14px, 3.2vw, 16px);
  }

  .news-btn-up {
    padding: 15px 18px 15px 18px;
    font-size: clamp(14px, 3.2vw, 16px);
  }

  .news-item h3 {
    font-size: 16px;
  }

  .news-item-post {
    font-size: 14px;
  }

  .news-title p,
  .reviews-title p {
    font-size: 14px;
  }

  .clinica__text-top {
    font-size: 14px;
  }

  .feedback__block-left-personal {
    width: 100%;
    padding-top: 10px;
  }

  .feedback__block-right .form {
    gap: 10px;
    flex-direction: column;
  }

  .feedback__block-right .form-group {
    width: 100%;
  }

  .btn__feedback {
    width: 100% !important;
  }

  .doctors__block-title,
  .reviews__block-title {
    flex-direction: column;
    row-gap: 20px;
    align-items: normal;
  }

  .subscription-img {
    display: none;
  }

  .blog-item img {
    width: 320px !important;
  }

  .blog-btn-up {
    padding: 15px 18px 15px 18px;
    font-size: clamp(14px, 3.2vw, 16px);
  }

  .leave-review-img {
    display: none;
  }

  .leave-review-title {
    width: 100%;
  }

  .leave-review-desc {
    width: 100%;
  }

  .contacts__block {
    flex-direction: column;
  }

  .contacts__block-left, 
  .contacts__block-right {
    width: 100%;
  }

  .contacts__block-right {
    margin-left: 0;
  }

  .contacts__block-left {
    margin-bottom: 20px;
  }

  .licenses-img {
    display: none;
  }

  .licenses-desc {
    width: 100%;
  }

  .important-item {
    width: 180px;
  }

   .hero__slider-item-btn a {
    padding: 16px 24px;
    font-size: 16px;
  }

  .doctors-page__block-items {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    overflow-y: hidden;
  }

  .doctor-page-item {
    width: 45% !important;
  }

  .doctors__block-page-desc {
    width: 100%;
  }

  .doctors-main-text__block {
    width: 100%;
  }

  .blog-header p {
    width: 100%;
  }

  .blog-category {
    width: 100%;
  }

  .blog-posts h3 {
    font-size: 16px;
  }

  .post-header h1 {
    width: 100%;
  }

  .post-featured-image {
    width: 100%;
  }

  .post-content {
    width: 100%;
  }

  .job__block-title {
    width: 100%;
  }

  .job_block-text {
    width: 100%;
  }

  .job__block-title p {
    width: 100%;
  }

  .job__block {
    flex-direction: column;
  }

  .job_block-form {
    background: #F4F7F8;
    padding: 32px;
    border-radius: 20px;
    max-width: 100%;
    height: fit-content;
    margin: 0;
  }

  .usluga__block-1 img {
    width: 80%;
    height: auto;
  }

  .usluga__block-1-left {
    width: 100%;
  }

  .equipment-desc {
    width: 100%;
  }

  .doctor-about__block {
    flex-direction: column-reverse;
    margin-top: 50px;
  }

  .doctor-about__bloc-left {
    width: 100%;
  }

  .doctor-about__bloc-right {
    width: 100%;
  }

  .blog-single-title,
  .blog-single__block {
    width: 100%;
  }

  .text-page {
    width: 100%;
  }

  .doctor-subscription {
    width: 100%;
  }

  .usluga-main-text__block {
    width: 100%;
  }
 
}

@media (max-width: 750px) {
  .doctor-hero__block {
    flex-direction: column-reverse;
    padding-top: 30px;
  }
}


@media (max-width: 600px) {
  .header__social {
    display: none;
  }

  .mobile-menu {
    width: 80%;
  }

  .header__phone {
    font-size: 18px;
  }

  .clinica__block-left {
    width: 100%;
  }

  .uslugi__item {
    width: 47%;
    padding: 15px 15px 15px 15px;
  }

  .uslugi__item-desc {
    padding-bottom: 60px;
  }

  .uslugi__item-icon {
    width: 34px;
    height: 34px;
    left: 12px;
  }

  .uslugi__item-icon img {
    width: 30px;
    height: auto;
  }

   .advantages__new__block-items {
    grid-template-columns: 1fr;
  }

  .popular__block-left {
    width: 100%;
  }

  .video__block-left {
    width: 100%;
  }

  .video__block-right {
    width: 100%;
  }

  .feedback__block {
    padding: 10px 0px 40px 0px;
  }

  .feedback__block-left-desc {
    font-size: 18px;
  }

  .feedback__block-main {
    padding: 35px;
  }

  .doctor-item {
    width: 260px !important;
    height: 420px;
    padding: 25px;
    margin-right: 12px !important;
  }

  .doctor-item-post {
    font-size: 14px;
  }

  .doctor-item img {
    width: 150px;
  }

  .subscription__block {
    padding: 20px 20px;
  }

  .subscription-title {
    width: 100%;
  }

  .subscription-desc {
    font-size: 16px;
  }

  .blog__block-title {
    flex-direction: column;
    row-gap: 20px;
    align-items: normal;
  }

  .footer__column {
    width: 49%;
  }

  .footer__column-left {
    width: 44%;
  }

  .doctor-page-item {
    width: 64% !important;
  }


   
}

@media (max-width: 560px) {
  .footer__column {
    width: 100% !important;
  }

  .footer__column-left {
    width: 100%;
  }

  .clinica,
  .uslugi,
  .advantages__new,
  .popular,
  .video,
  .feedback,
  .doctors,
  .news,
  .reviews,
  .gallery,
  .subscription,
  .faq,
  .important,
  .leave-review,
  .licenses,
  .contacts,
  footer {
    margin-top: 50px;
  }

  .hero__slider-item-btn a {
    padding: 16px 24px;
    font-size: 16px;
  }

}

@media (max-width: 480px) {
  .header__top {
    display: none;
  }

  .mobile-menu {
    width: 100%;
  }

  .header__main {
    z-index: 100001 !important;
  }

  .advantages__item {
    max-width: 100%;
  }

  .advantages__item-number {
    font-size: 62px;
  }

  .uslugi__item {
    width: 48%;
  }

  .uslugi__block {
    gap: 10px;
    justify-content: space-between;
  }

  .uslugi__item-desc {
    font-size: 13px;
    padding-top: 6px;
    padding-bottom: 50px;
    line-height: 22px;
  }

  .uslugi__item h3 {
    padding-top: 32px;
    padding-bottom: 10px;
    word-break: break-word;
  }

  .uslugi__item {
    width: 48%;
    padding: 40px 20px;
  }

  .uslugi__item-icon::before {
    top: 12px;
    left: 20px;
    width: 44px;
    height: 33px;
  }

  .popular__block-right ul {
    padding: 16px;
  }

  .popular__block-right li {
    padding: 18px 0px 0 0;
  }

   .feedback__block-main {
    padding: 30px;
  }

  .btn__feedback {
    width: 100% !important;
  }

  .advantages__new__block {
    padding: 30px;
  }

  /* .advantages__new {
    padding: 50px 10px;
    background: linear-gradient(222deg, #ffe0db 0%, #35abd0 100%);
    z-index: -1;
    position: relative;
  } */

  /* .advantages__new__block {
    border-radius: 0px;
    padding: 0;
    background: none;
  } */

  .news-item {
    margin-right: 12px !important;
    width: 250px !important;
  }

   .reviews-item-up {
    min-height: 580px;
  }

   figure {
    width: 280px;
    height: auto;
  }

  .before-after-slider {
    width: 286px;
    padding-bottom: 60%;
  }

  .gallery__filters-wrapper {
    padding-bottom: 0;
  }

  .subscription-btn {
    display: block;
  }

  .blog-item img {
    width: 255px !important;
    height: 160px !important;
  }

  .blog-item-post {
    font-size: 14px;
  }

  .leave-review-btn {
    display: block;
  }

  .leave-review__block {
    padding: 20px 20px;
  }

  .licenses__block {
    padding: 30px 20px;
  }

  .footer__column-logo img {
    width: 90%;
    height: auto;
  }

  .doctor-page-item {
    width: 75% !important;
  }

  .usluga__block-1 img {
    width: 100%;
    height: auto;
  }


}

@media (max-width: 420px) {
  .header__logo img {
    width: 80%;
  }

  .uslugi__item-desc {
    display: none;
  }

  .uslugi__item-arrow {
    bottom: 10px;
  }

  .uslugi__item {
    padding: 50px 20px;
  }

  .uslugi__item h3 {
    font-size: 14px;
  }

  .doctor-page-item {
    width: 82% !important;
  }

 
}

