header {
}

.header-top {
  padding-top: 31px;
  padding-bottom: 26px;
  border-bottom: 1px solid #0000001a;
}

.header-top__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header-top__row svg {
  width: auto;
  height: 20px;
}

.header-top__logo {
}

.header-top__logo img {
  width: auto;
}

.header-top__left {
  margin-left: auto;
  display: flex;
  gap: 50px;
  justify-content: space-between;
  align-items: flex-start;
}

.header-top__item {
  display: flex;
  flex: 1 1 auto;
  gap: 80px;
  justify-content: space-between;
}

.header-top__contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 0 0 auto;
}

.header-top__contact {
}

.top-contact {
}

.top-contact__top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-contact__bottom {
  padding-left: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}

.top-contact__bottom p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
}

a.top-contact__link {
  position: relative;
  color: var(--gray-text-color);
  font-size: 16px;
  line-height: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-contact__link svg {
  width: auto;
  height: 100%;
}

.header-top__time {
  flex: 0 0 auto;
}

.header-top__button {
  font-size: 24px;
}

.header {
  padding: 35px 0;
}

.header__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header__logo {
}

.header__nav {
  margin-right: 13%;
}

.header__ul {
  display: flex;
  gap: 60px;
}

.header__li {
  font-size: 30px;
  line-height: 30px;
}

.header__link {
}

@media (max-width: 1220px) {
  .header-top__button {
    font-size: 18px;
  }

  .header-top__item {
    gap: 40px;
  }

  .header__nav {
    margin-right: 0;
  }
}

@media (max-width: 991px) {
  .header-top__logo {
    display: none;
  }

  .header-top__item {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .header {
    padding: 10px 0;
  }

  .header__logo {
    width: 150px;
  }

  .header__nav {
    display: none;
  }

  .header-top__button {
    display: none;
  }

  .header-top__left {
    margin: 0;
    flex: 1 1 auto;
  }

  .header-top__item {
    justify-content: space-between;
  }

  .header-top__time,
  .header-top__contacts {
    flex: 1 1 auto;
  }

  .top-contact__bottom {
    justify-content: flex-start;
  }

  .header__ul {
    flex-direction: column;
    gap: 30px;
  }

  .header__li {
  }

  a.header__link {
    color: #fff;
  }

  .header-menu__button {
    margin-top: 20px;
    font-size: 24px;
  }
}

.header__menu {
  display: none;
}

@media (max-width: 767px) {
  .header__menu {
    display: flex;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .icon-menu {
    display: block;
    position: relative;
    width: 40px;
    height: 14px;
    cursor: pointer;
    z-index: 50;
    background: transparent;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    transition: all 0.3s ease 0s;
    left: 0px;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--gray-color);
  }

  .icon-menu::before {
    top: 0px;
    margin: 0;
    width: 30px;
    background: var(--primary-color);
  }

  .icon-menu::after {
    bottom: 0px;
    width: 30px;
    background: var(--primary-color);
    bottom: -2px;
  }

  .menu-open .icon-menu span {
    background-color: #fff;
  }
}

.menu__body {
  left: -100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 767px) {
  .menu__body {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    padding: 220px 15px 30px 15px;
    transition: all 0.3s ease 0s;
    z-index: 40;
    left: -100%;
    top: 0;
  }

  .menu__body::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 70px;
    top: -100%;
    left: -20px;
  }

  .menu-open .menu__body {
    left: 0;
  }

  .menu-open .menu__body::before {
    left: 0;
  }
}

.lock body {
  overflow: hidden;
  touch-action: none;
}

/* //======================================================================================================================================================== */

.hero {
  padding: 0;
  margin: 0;
  position: relative;
  height: 80vh;
}

.hero .container {
  height: 100%;
}

.hero__row {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero__img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .hero__img img::before {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

.hero__text {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero__h1 {
  color: #524747;
  margin-bottom: 29px;
}

.hero__descript {
  color: #524747;
  margin-bottom: 45px;
  font-size: 25px;
  line-height: 25px;
}

.hero__button {
  padding: 10px 20px;
}

@media (max-width: 767px) {
}

/* //======================================================================================================================================================== */

.about {
  padding-top: 76px;
}
.about-us {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
  gap: 20px;
}
.about__row__clinic {
  font-size: 28px;
  text-align: center;
  max-width: 85%;
}
.about__row__clinic__2 {
  font-size: 16px;
  text-align: center;
  max-width: 85%;
}
.about__h2 {
  margin-bottom: 90px;
}

.about__row {
}

.about__advant {
}

.advant-about {
}

.advant-about__item {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 30px;
  color: #483632;
}

.advant-about__item svg {
  width: 40px;
  height: 40px;
}

.about__images {
  margin-top: 60px;
}

.about__img {
  border-radius: 30px;
  overflow: hidden;
}

.about__img img {
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .advant-about.grid {
    grid-column-gap: 20px;
    grid-row-gap: 60px;
  }
}

@media (max-width: 767px) {
  .about {
    padding-top: 2rem;
  }

  .about__h2 {
    margin-bottom: 20px;
  }

  .advant-about__item {
    gap: 10px;
    font-size: 20px;
  }

  .advant-about__item svg {
    width: 30px;
    height: 30px;
  }

  .about__images {
    margin-top: 30px;
  }
}

/* //======================================================================================================================================================== */

.usluga {
  padding-top: 10px;
}

.usluga__title {
}

.usluga__row {
}

.usluga__item {
  position: relative;
  display: flex;
  gap: 30px;
  background: #dce5e5;
  border-radius: 8px;
  overflow: hidden;
  min-height: 270px;
}

.usluga__item:hover .usluga__text::before {
  transform: scaleX(1.2) translateX(10%);
}

.usluga__item:hover .usluga__image img {
  transform: scaleX(-1.2) scaleY(1.2);
}

.usluga__image {
  flex: 1 1 40%;
  overflow: hidden;
}

.usluga__image img {
  object-fit: cover;
  height: 100%;
  transform: scaleX(-1);
  transition: all 0.3s ease 0s;
}

.usluga__text {
  position: relative;
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.usluga__text::before {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='88' height='9' viewBox='0 0 88 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M87.3308 4.83353C87.5261 4.63827 87.5261 4.32169 87.3308 4.12643L84.1488 0.944447C83.9536 0.749184 83.637 0.749184 83.4417 0.944447C83.2465 1.13971 83.2465 1.45629 83.4417 1.65155L86.2702 4.47998L83.4417 7.30841C83.2465 7.50367 83.2465 7.82025 83.4417 8.01551C83.637 8.21078 83.9536 8.21078 84.1488 8.01551L87.3308 4.83353ZM0.613647 4.97998H86.9773V3.97998H0.613647V4.97998Z' fill='%23483632'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}

.usluga__subtitle {
  font-size: 60px;
  color: #483632;
}

@media (min-width: 768px) {
  .usluga__row.grid {
    grid-column-gap: 42px;
    grid-row-gap: 30px;
  }
}

@media (max-width: 767px) {
  .usluga__subtitle {
    font-size: 30px;
    color: #483632;
  }
}

/* //======================================================================================================================================================== */

.our-works {
  padding-top: 90px;
  padding-bottom: 0;
  background: #f6f6f6;
  overflow: hidden;
}

.our-works__title {
}

.our-works__row {
}

.our-works__swiper {
}

.our-works__wrapper {
    max-height: 500px;
}

.our-works__slide {
  height: auto;
  overflow: hidden;
  border-radius: 20px;
}

.our-works__slide img {
  height: 100%;
  object-fit: cover;
}

.our-works__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.our-works__text {
  font-size: 50px;
}

.our-works__pagination {
  display: flex;
  gap: 75px;
}

.our-works__pagination .swiper-button-prev,
.our-works__pagination .swiper-button-next {
  position: relative;
  height: 100%;
  width: auto;
}

.our-works__pagination .swiper-button-prev {
}

.our-works__pagination .swiper-button-next {
}

@media (max-width: 767px) {
  .our-works {
    padding-top: 30px;
  }

  .our-works__text {
    font-size: 30px;
  }
}

.container_about_us {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.doctor-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 10px;
  padding: 20px 15%;
  text-align: center;
  width: 80%;
}

.doctor-photo {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.doctor-name {
  font-size: 35px;
  font-weight: bold;
  margin: 10px 0 5px;
}

.doctor-description {
  font-size: 20px;
  color: #666;
}

@media (max-width: 767px) {
  .doctor-card {
    padding: 20px 0;
  }

  .doctor-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }
}

/* //======================================================================================================================================================== */

.footer {
  padding: 42px 0;
  background: #f6f6f6;
}

.contacts {
}

.contacts__row {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
}

.contacts__left {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
}

.contacts__title {
}

.contacts__wrap {
}

.contacts__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 30px;
}

.contacts__link {
  color: #7c7c7c;
  font-size: 30px;
}

.contacts__time {
  color: #7c7c7c;
  font-size: 22px;
  display: flex;
  justify-content: center;
  gap: 32px;
}

a.contacts__button {
  margin: 0 auto;
  margin-top: 47px;
  padding: 15px 20px;
}

.contacts__map {
  flex: 1 1 50%;
}

@media (max-width: 991px) {
  .contacts__row {
    flex-direction: column;
    gap: 50px;
  }

  .contacts__map iframe {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .contacts__item {
    font-size: 18px;
  }

  .contacts__link,
  .contacts__time {
    font-size: 25px;
    text-align: center;
  }
  .phone_number {
    font-size: 30px;
  }
}

/* //======================================================================================================================================================== */

.table__h1 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 3.5vw;
}

.table td {
  font-size: 3vw;
}

.table td:nth-child(2) {
  text-align: center;
  width: 30%;
}

.table__bottom {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

a.table__button {
  padding: 10px 40px;
  font-size: 2vw;
  color: #fff;
}

.carousel-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  overflow-x: auto;
}

.carousel {
  display: flex;
  gap: 25px;
  padding-bottom: 20px;
}

/* Стили карточки */
.card {
  min-width: 280px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.card-content {
  padding: 20px;
  text-align: center;
}

.card h3 {
  margin: 0 0 10px;
  color: #333;
}

.card p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* Скрыть scrollbar */
.carousel-container::-webkit-scrollbar {
  display: none;
}

@media (max-width: 767px) {
  .table__h1 {
    font-size: 30px;
  }

  .table td {
    font-size: 18px;
  }

  .table__bottom {
    margin-top: 30px;
  }

  a.table__button {
    font-size: 18px;
  }

  /* .h2 {
        display: flex;
        justify-content: center;
    } */
}

.bottom_text {
  color: grey;
  text-align: center;
  margin: 30px;
}
