@font-face {
    font-family: "Nunito";
    src: url("../fonts/Nunito-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: "Nunito";
    src: url("../fonts/Nunito-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
  color: #47a0ff;
}

h1.title {
    font-size: clamp(1.625rem, 1.4086538462rem + 0.9615384615vw, 2.25rem);
    font-weight: 700;
    text-transform: uppercase;
    margin: 20px 20px 20px 0;
}

h1 {
  font-size: clamp(2rem, 2rem + 0vw, 2rem);
  font-weight: 400;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

h2, h3 {
  font-size: clamp(1.5rem, 1.5rem + 0vw, 1.5rem);
  font-weight: 400;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.sub-title {
  font-size: clamp(1.5rem, 1.3924731183rem + 0.5376344086vw, 1.8125rem);
  font-weight: 400;
}

body {
    background-color: #ffffff;
    color: #000;
    font-family: "Nunito", sans-serif;
    font-size: clamp(1rem, 1rem + 0vw, 1rem);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 10px;
}

.section {
    margin-top: 30px;
    margin-bottom: 60px;
}

.header {
    margin-bottom: 30px;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
}

.nav__menu__list-desktop {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.nav__menu__link {
   display: block;
   padding: 31px 0;
}

.nav__menu__link:hover {
    color: #47a0ff;
 }

.banner__holder {
    width: 100%;
}

.main__banner {
    background-image: url('../img/banner__main.png');
    width: 100%;
    max-width: 1450px;
    height: 600px;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    padding: 20px;
}

.banner__content__block {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 550px;
    min-width: 300px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 30px;
    justify-content: space-between;
}

.banner__content__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 30px;
}

.banner__reviews {
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 15px;
}

.banner__content__body {
    max-width: 400px;
}

.banner__content__body p {
    margin-bottom: 30px;
}

.banner__buttons__holder {
    display: flex;
    column-gap: 5px;
}

.implantology__content__holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    row-gap: 20px;
}

.implantology__text__block__holder {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: column;
    width: 680px;
}

.implantology__text__block {
    background-color: #f9fafb;
    border-radius: 24px;
    padding: 61px 20px 20px;
}

.implantology__text__block p {
    color: #888888;
    max-width: 670px;
}

.implantology__banner__holder {
  background-image: url('../img/banner__implantology.webp');
  width: 100%;
  max-width: 480px;
  min-width: 300px;
  height: 376px;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
}

.implantology__content__block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 20px 30px;
}

.implantology__content__block h3 {
  color: #ffffff;
  margin: 0;
}

.title__nav__holder-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.title__implantology {
    max-width: 495px;
}

.services__title__holder {
    display: flex;
    flex-wrap: wrap;
    gap: 0 40px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

h2.services__title {
    margin: 0;
}

.services__item {
  padding: 10px 20px;
  background: linear-gradient(360deg, rgba(240, 245, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
  border-radius: 12px;
  border: 2px solid #e5e6e7;
  align-items: center;
  margin: 0 4px;
  min-height: 240px;
}

.services-item__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.services__list--modal .services__item {
  min-height: auto;
  margin: 0;
}
.services__list--modal .services__name {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-right: 10px;
}

.services__name {
  font-size: 24px;
}

.services__cost {
  background-color: #47A0FF;
  padding: 10px 16px;
  border-radius: 12px;
  color: #FFF;
  width: fit-content;
}

.services__cost svg {
  width: 15px;
  height: 15px;
}

.experts__photos__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  row-gap: 30px;
  column-gap: 16px;
}

.expert__photo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 440px;
}

.expert__photo__holder {
 position: relative;
 height: 368px;
 border-radius: 20px;
}

.expert__photo__holder img {
  border-radius: 20px;
  border: 2px solid #e5e6e7;
  background: linear-gradient(360deg, rgba(240, 245, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.expert__photo__holder img:hover {
  border-radius: 20px;
  border: 2px solid #47a0ff; 
}

.expert__photo__holder .review__name__service {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: auto;
  padding: 0 15px;
}

.nav__container {
  display: flex;
  gap: 5px;
  align-items: center;
}

.expert__name {
  font-weight: 600;
}

.circle__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
}

.reviews__title__text-transfer {
    max-width: 505px;
}

.reviews__text span {
    font-size: 35px;
    font-weight: 700;
    color: #01cf8e;
}

.reviews__text-transfer {
    max-width: 255px;
}

.reviews__slider__holder-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.reviews__score__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    max-width: 300px;
    min-width: 260px;
    height: 400px;
    padding: 0 20px;
}

.reviews__slider__holder {
    width: 100%;
    max-width: 880px;
}

.reviews__date, .reviews__description {
    color: #888888;
}

.reviews__slider__content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.reviews__slider__content__inside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f9fafb;
    border-radius: 20px;
    padding: 20px;
    max-width: 272px;
    height: 400px;

}

.slick-list {
    padding-left: 0!important;
}

.review__name__service {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 20px;
    width: fit-content;
    padding: 0 20px;
    height: 46px;
}

.btn {
    background-color: #47a0ff;
    color: #ffffff;
    border: none;
    border-radius: 12px;
}

.banner__buttons__holder a.btn-circle {
  color: #000;
}
.banner__buttons__holder a.btn-circle:hover {
  color: #ffffff;
}

a.btn {
  display: flex;
  color: #ffffff;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  opacity: 0.8;
}

.header__button {
  width: 120px;
  height: 42px;
}

.banner__button {
  width: 250px;
  height: 60px;
}

.services__button {
  width: 172px;
  height: 40px;
  margin-right: 27px;
}

.btn-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: #000000;
    border: 1px solid #e3e3e3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.btn-circle:hover {
    background-color: #47a0ff;
    color: #ffffff;
    border: 1px solid #47a0ff;
}

.contacts__bg-grey {
  background-color: #f9fafb;
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.contacts__holder {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  margin-bottom: 20px;
  gap: 20px;
}

p.contact-adress {
  font-size: 18px;
}

.contact-adress i {
  margin-right: 10px;
}

.contact-number {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.soc1als-holder {
  display: flex;
  gap: 10px;
}

.maps__slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.maps__holder {
  width: calc(50% - 10px);
}

.maps__holder iframe {
  border: none;
  border-radius: 20px;
  width: 100%;
  height: 100%;
}

.contacts__slider__holder {
  width: calc(50% - 10px);
}

.contacts__slider__items.slick-slide {
  display: flex!important;
  justify-content: center!important;
}

.contacts__slider__items.slick-slide img {
  border-radius: 20px;
}

.contacts__slider__list button {
  position: absolute;
  bottom: 20px;
  z-index: 10;
  font-size: 0;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 12px;
  width: 50px;
  height: 50px;
}

.contacts__slider__list .slick-next:hover {
  background: url('../img/arrow-right-hover.svg') 10px 10px / 50% no-repeat;
  border: 1px solid #47a0ff;
}

.contacts__slider__list .slick-prev:hover {
  background: url('../img/arrow-left-hover.svg') 10px 10px / 50% no-repeat;
  border: 1px solid #47a0ff;
}

.contacts__slider__list button.slick-next {
  right: 20px;
  background: url('../img/arrow-right.svg') 10px 10px / 50% no-repeat;
}

.contacts__slider__list button.slick-prev {
  left: 20px;
  background: url('../img/arrow-left.svg') 10px 10px / 50% no-repeat;
}

.copiright {
  padding: 20px 0;
  text-align: center;
  color: #888888;
}

.visible-score {
  display: none;
}

.contact-number .btn-circle {
  background: #0277FF;
  color: #ffffff;
}

.contact-number .btn-circle:last-child {
  background: #70D772;
  color: #ffffff;
}

@media screen and (max-width: 1455px) {
  .implantology__content__holder {
      justify-content: center;
  }
  .implantology__text__block__holder {
      width: 100%;
  }
  .implantology__banner__holder { 
    max-width: none;
  }
}
@media screen and (max-width: 1352px) {
  .reviews__slider__holder {
      max-width: 682px;
  }
}

@media screen and (max-width: 1002px) {
  .reviews__slider__holder {
      max-width: 325px;
  }

  .services__list__holder {
      flex-direction: column;
  }

  .services__item {
      width: 100%;
  }

  .maps__slider {
    flex-direction: column-reverse;
    
  }
  .maps__holder {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .maps__holder iframe {
    min-height: 350px;
    max-width: 695px;
  }
  .contacts__slider__holder {
    width: 100%;
  }
  .contacts__slider__list button {
    display: none!important;
  }
  .contacts__holder {
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
  }
  .contact-number {
    align-content: flex-start;
    align-items: center;
  }
  .services__item {
    min-height: auto;
    margin: 0 0 10px 0;
  }
  .services-item__body {
    min-height: auto;
    flex-direction: row;
  }
  .services__name {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-right: 10px;
  }
  .services__cost {
    min-width: fit-content;
  }
  .services__title__holder,.services-prev-btn,.services-next-btn {
    display: none;
  }
}

@media screen and (max-width: 811px) { 
  .modal__body {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 645px) {

  span.transfer {
    display: inline-block;
    width: 100%;
  }

  .header-flex {
    justify-content: center;
  }

  .header .header__button {
    display: none;
  }

  .nav__menu__list-desktop {
      display: none;
  }

  .main__banner {
    background-image: url('../img/Hero-block-min.webp');
    min-height: 662px;
    padding: 20px 15px;
  }

  .banner__content__block {
    background: none;
    justify-content: flex-end;
    row-gap: 20px;
    padding: 0;
    min-width: auto;
  }

  .banner__reviews {
    display: none;
  }

 .banner__buttons__holder a.btn-circle {
    color: #ffffff;
  }

  .banner__content__body {
    color: #ffffff;
  }

  .banner__content__body h1 {
    max-width: 295px;
  }

  .banner__content__body p {
    max-width: 300px;
  }

  .banner__button {
    width: 100%;
    background-color: #ffffff;
    color: #47a0ff;
  }

  .reviews__slider__holder {
    max-width: 300px;
  }
  .reviews__slider__holder-flex {
    flex-direction: column-reverse;
    justify-content: center;
  }
  .reviews__score__item {
    height: auto;
    margin-bottom: 30px;
    padding: 0;
  }

  .title__nav__holder-flex {
    align-items: flex-start;
    flex-direction: column;
  }

  .experts__photos__list {
    justify-content: center;
  }

  .text__conteiner {
      margin-bottom: 30px;
  }

  .visible-score {
    display: flex;
  }
  
  .hide-score {
    display: none;
  }
}

@media screen and (max-width: 450px) { 
  /*
  .services__name {
    font-size: 14px;
  }
  .services__cost {
    font-size: 12px;
  }
  */
}

/* Модалки */
.modal-overlay {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay.hide-anim {
  opacity: 0 !important;
}

.modal {
  position: relative;
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  transform: scale(0.95);
  opacity: 0;
  animation: slideIn 0.3s ease forwards;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal__body {
  display: flex;
  gap: 20px;
}

.modal__content__holder .services__list__holder {
  max-width: 532px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.modal__image__holder {
  position: relative;
  height: 368px;
  border-radius: 20px;
 }
 
 .modal__image__holder img {
  border-radius: 20px;
  border: 2px solid #e5e6e7; 
  background: linear-gradient(360deg, rgba(240, 245, 251, 1) 0%, rgba(255, 255, 255, 1) 100%);
 }

.modal h2 {
  margin: 20px 0 0 0;
}

.modal .activity {
  margin-bottom: 20px;
  color: #13141D73;
}

.modal .sub-title {
  font-size: 16px;
  margin: 20px 0;
}

.services__item.full {
  min-width: 100%;
}

.services__item.half {
  min-width: calc(50% - 4px);
  padding: 10px;
}

@keyframes slideIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #000;
}

@media (max-width: 600px) {
  .modal {
    width: 90%;
    padding: 40px 10px;
  }
}