@font-face {
  font-family: Magistral;
  src: url(/assets/fonts/Magistral/Magistral-Book.woff);
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Magistral;
  src: url(/assets/fonts/Magistral/Magistral-Bold.woff);
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: Magistral;
  src: url(/assets/fonts/Magistral/Magistral-Medium.woff);
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: Magistral;
  src: url(/assets/fonts/Magistral/Magistral-Light.woff);
  font-weight: 200;
  font-style: normal;
}

:root {
  --main-background-color: #fff;
  --main-typography-color: #181618;
  --button-background-grad: linear-gradient(
    90deg,
    rgb(156, 215, 255),
    rgb(180, 225, 255) 100%
  );
  --contrast-typography-color: #ff9f00;
  --highlight-typography-color: #1a7bd0;
  --highlight-typography-color1: #1e96fc;
  --progress: 0%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 110px;
  scrollbar-gutter: stable;
  font-size: 10px;
  line-height: 100%;
}

body {
  width: 100%;
  background-color: var(--main-background-color);
  font-family: Magistral, Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
  margin: 0;
  padding: 0;
  color: var(--main-typography-color);
  position: relative;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--main-typography-color);
}

.feedbackButton {
  font-family: Magistral, Arial, Helvetica, sans-serif;
  width: 200px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px;
  border-radius: 14px;
  background: var(--button-background-grad);
  color: var(--main-background-color);
  font-size: 16px;
  text-align: center;
  animation-delay: 3s;
  cursor: pointer;
  border: 0px;
}

.feedbackButton:hover {
  background-color: #7ec4ff;
  color: var(--main-background-color);
  animation: none;
  cursor: pointer;
}

@keyframes backgroundAnimation {
  0% {
    background-color: #f4ffff;
    color: #181618;
  }

  25% {
    background-color: #a7dcff;
    color: #181618;
  }

  40% {
    background-color: #a7dcff;
    color: #181618;
  }

  50% {
    background-color: #f4ffff;
    color: #181618;
  }

  100% {
    background-color: #f4ffff;
    color: #181618;
  }
}

.header {
  width: 100%;
  position: absolute;
  padding: 8px 0;
  top: 0;
  background-color: #ffffff4f;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
  z-index: 1000000;
  display: flex;
  justify-content: center;
}

.header.is-sticky {
  position: fixed;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(50px);
  animation: slideDown 0.35s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.header__wrap {
  min-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__logo {
  display: block;
  width: 153px;
  height: 84px;

  img.logo__dentservice {
    height: 100%;
    width: 100%;
  }
}

.header__container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.header-nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 30px;
}

.nav-list {
  display: flex;
  flex-direction: row;
  font-size: 1.8rem;
  font-weight: 400;
  gap: 30px;
  color: var(--main-typography-color);
  padding: 0px;
}

.nav-list-item-link {
  transition: color 0.3s ease-in-out;
}

.nav-list-item-link:hover {
  color: var(--contrast-typography-color);
}

.button-number {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.header__number {
  font-size: 2rem;
  line-height: 100%;
  color: var(--highlight-typography-color1);
}
.header__containerm {
  display: none;
}

.header__box__locationm {
  display: none;
}

.yasenevo__metro {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tepliy__metro {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.location__metro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.location__addres {
  text-align: center;
}

address {
  font-style: normal;
}

a[href^="tel"] {
  text-decoration: none;
}

.main__wrapper {
  width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding-top: 120px;
  gap: 120px;
}

.promo__information {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: end;
  position: relative;
  gap: 15px;
}

.promo__medals {
  width: 100%;
  height: 90px;
  border-radius: 22px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(
    90deg,
    rgb(196, 231, 255, 0.4),
    rgb(156, 215, 255, 0.4) 100%
  );
}

.promo__medalsm {
  display: none;
}

.medal__image {
  display: flex;
  align-items: center;
  width: 60px;
  height: 60px;
}

.first__medal__img {
  width: 100%;
  height: 100%;
}

.first__medal {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  width: max-content;
  height: max-content;
}

.first__medal__name {
  width: 179px;
  line-height: 105%;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
}

.first__medal__namem {
  display: none;
}

.second__medal__name {
  width: 179px;
  line-height: 105%;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
}

.second__medal__namem {
  display: none;
}

.main__promo__text {
  font-weight: 700;
  line-height: 77px;
  text-align: right;
  height: 150px;
}

h1 {
  margin: 0;
  font-size: 6.4rem;
  line-height: 100%;
  text-align: right;
}

.price {
  color: var(--contrast-typography-color);
}

.shine-text {
  font-size: 5rem;
  font-weight: 500;
  color: #333;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #333, #333);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow: hidden;
}

.shine-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  /* Исходная позиция блика за пределами текста */
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.096),
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.1)
  );
  transform: skewX(-20deg);
}

/* Анимация движения блика */
.shine-text::before {
  animation: shine 5s infinite;
}

/* Определение анимации */
@keyframes shine {
  0% {
    left: -120%;
    /* Начало за текстом */
  }

  100% {
    left: 120%;
    /* Проход через текст */
  }
}

ul.advantages__list {
  font-size: 2.6rem;
  font-weight: 400;
  text-align: right;
  line-height: 115%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.garanty {
  color: var(--highlight-typography-color);
}

.other {
  color: #3d3d3d;
}

.promo__image {
  position: absolute;
  top: 220px;
  left: calc(100% / 7.98);
}

.main__button {
  width: 400px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: Magistral, Arial, Helvetica, sans-serif;
  padding: 0px;
  border-radius: 20px;
  color: var(--main-background-color);
  font-size: 3.2rem;
  text-align: center;
  margin-right: 0px;
  margin-top: 15px;
}

.price-note {
  font-size: 1.6rem;
  line-height: 100%;
  color: #333;
}

.price-calculator {
  margin-top: 120px;
  padding-top: 30px;
  padding-bottom: 30px;
  background: url(../assets/images/bgpattern.png),
    var(--highlight-typography-color1);
  background-size: cover;
  width: 100%;
  position: relative;
}

.calculator__wrapper {
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 0 auto;
  padding: 20px;
  background: url(../assets/images/bgpattern.png),
    linear-gradient(90deg, rgb(196, 231, 255), rgb(156, 215, 255) 100%);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.calculator-steps {
  width: 100%;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.progress-container {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #f1f1f1;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #1e96fc;
  width: var(--progress);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 1.6rem;
  color: #666;
  font-weight: 400;
  line-height: 100%;
}

.calculator-step {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  flex: 1;
  width: 90%;
  margin: 0 auto;
}
.calculator-step__title {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 100%;
  color: var(--main-typography-color);
}

.calculator-step.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.3s ease forwards;
}

.step-navigation {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 20px;
  transform: none;
  pointer-events: none;
  gap: 20px;
}

.nav-button {
  width: auto;
  height: 40px;
  border: none;
  border-radius: 20px;
  background-color: #fff;
  color: #1e96fc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  padding: 0 20px;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-button.next-step::after {
  content: "Дальше";
  font-size: 16px;
  font-weight: 500;
}

.nav-button:hover:not(:disabled) {
  background-color: #1e96fc;
  color: #fff;
  transform: scale(1.1);
}

.nav-button:disabled {
  background-color: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

.nav-button svg {
  width: 24px;
  height: 24px;
}

.teeth-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.teeth-selection {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 15px;
}

.teeth-image-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border: 2px solid #e6e6e6;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: white;
}

.teeth-image-container:hover {
  border-color: #1e96fc;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(30, 150, 252, 0.1);
}

.teeth-image-container.selected {
  border-color: #1e96fc;
}

.teeth-image {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.teeth-label {
  font-family: "Manrope", sans-serif;
  font-size: 1.8rem;
  color: var(--highlight-typography-color);
  text-align: center;
  font-weight: 500;
}

@media (max-width: 768px) {
  .teeth-selection {
    flex-direction: column;
    gap: 15px;
  }

  .teeth-image-container {
    width: 100%;
    padding: 10px;
  }
}

.jaw-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
}

.jaw-selection {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.jaw-image-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border: 2px solid #e6e6e6;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: white;
}

.jaw-image-container:hover {
  border-color: #1e96fc;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(30, 150, 252, 0.1);
}

.jaw-image-container.selected {
  border-color: #1e96fc;
}

.jaw-image {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.jaw-label {
  font-family: "Manrope", sans-serif;
  font-size: 1.8rem;
  color: var(--highlight-typography-color);
  text-align: center;
  font-weight: 500;
}

@media (max-width: 768px) {
  .jaw-selection {
    flex-direction: column;
    gap: 20px;
  }

}

.xray-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin: 30px 0;
}

.xray-button {
  min-width: 160px;
  height: 50px;
  border: 2px solid #e6e6e6;
  border-radius: 25px;
  background-color: white;
  color: #666;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xray-button:hover {
  border-color: #1e96fc;
  color: #1e96fc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 150, 252, 0.1);
}

.xray-button.selected {
  background-color: #1e96fc;
  border-color: #1e96fc;
  color: white;
  box-shadow: 0 4px 12px rgba(30, 150, 252, 0.2);
}

.xray-button.selected:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 150, 252, 0.3);
}


.treatment-time-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 30px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.treatment-button {
  min-width: 160px;
  height: 50px;
  border: 2px solid #e6e6e6;
  border-radius: 25px;
  background-color: white;
  color: #666;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.treatment-button:hover {
  border-color: #1e96fc;
  color: #1e96fc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 150, 252, 0.1);
}

.treatment-button.selected {
  background-color: #1e96fc;
  border-color: #1e96fc;
  color: white;
  box-shadow: 0 4px 12px rgba(30, 150, 252, 0.2);
}

.treatment-button.selected:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 150, 252, 0.3);
}

@media (max-width: 768px) {
  .treatment-time-buttons {
    padding: 0 20px;
  }
  
  .treatment-button {
    font-size: 1.6rem;
  }
}

.calculator-form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-group input {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border: 2px solid #e6e6e6;
  border-radius: 25px;
  font-size: 16px;
  color: #333;
  background-color: white;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #1e96fc;
  box-shadow: 0 4px 12px rgba(30, 150, 252, 0.1);
}

.form-group input::placeholder {
  color: #999;
}

.submit-button {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(90deg, #1e96fc, #4ba9ff);
  color: white;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 30px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 150, 252, 0.3);
}

.submit-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(30, 150, 252, 0.2);
}

.privacy-policy{
  line-height: 115%;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
  .calculator-form {
    padding: 0 20px;
  }

  .form-group input {
    font-size: 14px;
  }

  .submit-button {
    font-size: 16px;
  }
}

.setup__implants {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: self-start;
  position: relative;
  gap: 24px;
}

.setup__implants_h {
  font-weight: 700;
  text-align: left;
  height: auto;
}

h2 {
  margin: 0;
  font-size: 4rem;
  font-weight: 500;
  line-height: 100%;
}

h4 {
  margin: 0;
  font-weight: 500;
  line-height: 100%;
}

.setup__wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.setup__implants__info {
  max-width: 700px;
  text-align: justify;
  font-weight: 400;
  font-family: "Manrope", sans-serif;
  font-size: 2.4rem;
  line-height: 115%;
  text-wrap: pretty;
}

.info__cards {
  width: 100%;
  height: auto;
  display: flex;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  margin-top: 120px;
}

.card {
  width: 332px;
  height: 336px;
  background: linear-gradient(
    90deg,
    rgb(196, 231, 255, 0.4),
    rgb(156, 215, 255, 0.4) 100%
  );
  background-size: cover;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  position: relative;
  border-radius: 11.8px;
  justify-content: space-evenly;
  align-content: center;
}

.first__card__info {
  margin-left: 15px;
  text-align: center;
  font-size: 2.2rem;
  line-height: 100%;
  max-width: 199px;
}

.first__card__img {
  height: 150px;
}

.second__card__info {
  text-align: center;
  font-size: 2.2rem;
  line-height: 100%;
  max-width: 199px;
}

.second__card__img {
  width: 119px;
  height: 175px;
  margin-left: 42px;
}

.third__card__info {
  text-align: center;
  font-size: 2.2rem;
  line-height: 100%;
  max-width: 199px;
}

.third__card__img {
  width: 142px;
  height: 130px;
  margin-left: 28px;
}

.implanting__types {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: -96px;
  position: relative;
}
.types-bg {
  position: absolute;
  width: 150%;
  z-index: -1;
}

.implanting__types_h {
  font-weight: 700;
  text-align: left;
  height: auto;
}

.first__big__card {
  width: 100%;
  height: max-content;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-top: 8px;
  gap: 24px;
  margin-bottom: 30px;
  padding: 20px;
  background: #d6edfca8;
  border-radius: 35px;
}

.big__card__title {
  font-size: 2.6rem;
  width: auto;
  height: min-content;
  margin-right: auto;
  color: var(--highlight-typography-color);
  font-weight: 500;
}

.two__step__image {
  width: 940px;
  height: 322px;
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.big__card__info {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  text-align: left;
  color: var(--main-typography-color);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 2.4rem;
  line-height: 115%;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  text-wrap: pretty;
}

.big__card__infom {
  display: none;
}

.twostep__text__hil {
  font-weight: 500;
  color: var(--highlight-typography-color);
}
.twostep__text__hil1 {
  font-weight: 700;
  color: var(--highlight-typography-color);
}
.advantages__m {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  line-height: 100%;
  padding-left: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 400;
}

.one__adv {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}

.adv__one {
  width: 35px;
  height: 35px;
}

.one__adv__text {
  font-size: 2.4rem;
  line-height: 100%;
}

.second__big__card {
  width: 1040px;
  height: max-content;
  margin-top: 8px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 24px;
  padding: 20px;
  background: #8bd1ffa8;
  border-radius: 35px;
}

.one__step__image {
  width: 940px;
  height: 326px;
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.types__button {
  width: 400px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: Magistral, Arial, Helvetica, sans-serif;
  padding: 0px;
  border-radius: 20px;
  color: var(--main-background-color);
  font-size: 3.4rem;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  margin-top: 20px;
}

.implantation__steps {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: self-start;
  position: relative;
  gap: 16px;
}

.implantation__steps_h {
  font-weight: 700;
  text-align: left;
  height: auto;
  line-height: 100%;
}

.first__stage__content {
  height: max-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  justify-items: center;
}

.step__one {
  display: flex;
  flex-direction: column;
  width: 200px;
}

.step__one2 {
  display: flex;
  flex-direction: column;
  width: 200px;
}

.step__one1 {
  display: none;
  flex-direction: column;
  width: 32%;
  gap: 5px;
}

.stage__one__step__one {
  width: 100%;
  height: max-content;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.arrow__step__one {
  position: relative;
  left: -10%;
  display: none;
}

.stage__one__step__two {
  width: 100%;
  height: max-content;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.arrow__step__two {
  display: none;
  position: relative;
  right: -10%;
}

.step__one__text {
  font-weight: 500;
  width: 200px;
  font-size: 2.4rem;
  line-height: 100%;
}

.step__one__text2 {
  font-weight: 500;
  width: 200px;
  font-size: 2.4rem;
  line-height: 100%;
}

.step__one__info {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  line-height: 115%;
  font-size: 2.4rem;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.speci {
  font-weight: 700;
}

.risks1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  margin-bottom: 120px;
}

.risks_h {
  font-weight: 700;
  text-align: left;
  height: auto;
}

.infograph__wrapper {
  margin-top: 8px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.infograph__table {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.infograph__row {
  width: 532px;
  display: flex;
  height: max-content;
  flex-direction: row;
  justify-content: space-around;
}

.infograph {
  max-width: 220px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.infograph__spec {
  max-width: 220px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.infograph__spec2 {
  width: 220px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.inf__min {
  display: none;
}

.info__big {
  line-height: normal;
  height: auto;
  font-weight: 500;
  font-size: 5rem;
  color: var(--highlight-typography-color1);
}

.info__small {
  line-height: 100%;
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--main-typography-color);
  font-family: "Manrope", sans-serif;
  font-weight: 400;
}

.info__big__spec {
  display: flex;
  align-items: center;
  height: 62px;
}

.inf__min {
  display: none;
}

.inf__big {
  display: block;
}
.kavo__sheer {
  z-index: 2;
}

.send-request-line-form {
  width: 100%;
  background: url(../assets/images/pattfaq.svg),
   #a2d6f9;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.marquee-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  margin: 0 auto;
}

.form-fields {
  display: flex;
  gap: 20px;
  width: auto;
}

.form-fields input {
  width: 400px;
  height: 70px;
  padding: 0 30px;
  border: 2px solid #7ec4ff;
  border-radius: 20px;
  font-family: Magistral, Arial, Helvetica, sans-serif;
  font-size: 2.4rem;
  background: #ffffff;
}

.form-fields input::placeholder {
  color: #999;
}

.form-fields input:focus {
  outline: none;
  border-color: var(--highlight-typography-color1);
}

@media (max-width: 768px) {
  .marquee-form {
    flex-direction: column;
    padding: 15px;
  }

  .form-fields {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .form-fields input {
    width: 100%;
  }
}

.marquee__button {
  width: 400px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: Magistral, Arial, Helvetica, sans-serif;
  padding: 0px;
  border-radius: 20px;
  color: var(--main-background-color);
  font-size: 3.4rem;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  background: var(--highlight-typography-color1);
}

.info__button {
  width: 400px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: Magistral, Arial, Helvetica, sans-serif;
  padding: 0px;
  border-radius: 20px;
  color: var(--main-background-color);
  font-size: 3.4rem;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

@keyframes marquee-horizontal {
  0% {
    transform: translateX(0%);
  } /* Начинаем текст в исходном положении */
  100% {
    transform: translateX(-50%);
  } /* Сдвигаем влево на 50% ширины анимируемого элемента */
}

.animate-marquee {
  animation: marquee-horizontal 15s linear infinite; /* Анимация: 15 секунд, линейная, бесконечная */
  display: inline-block; /* Позволяет элементу занимать ширину по содержимому */
  white-space: nowrap; /* Предотвращает перенос текста */
  /* Ширина будет автоматически рассчитана браузером, так как контент продублирован */
}
.animate-marquee {
  display: flex;
  width: max-content;
  animation: scroll-left 30s linear infinite;
  background-color: var(--highlight-typography-color1);
  margin-bottom: 15px;
  margin-top: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.marquee-text {
  line-height: 100%;
  margin-right: 100px;
  font-size: 2.8rem;
  color: var(--main-background-color);
  white-space: nowrap;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.pluses {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pluses_h {
  font-weight: 700;
  text-align: left;
  min-height: 40px;
  height: auto;
}

.plus__cards {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.plus__cardsm {
  display: none;
}

.first__pluss {
  width: 331px;
  height: 336px;
  transition: transform 0.5s ease;
}

.first__pluss:hover {
  transform: scale(1.05);
}

.second__pluss {
  width: 331px;
  height: 336px;
  transition: transform 0.5s ease;
}

.second__pluss:hover {
  transform: scale(1.05);
}

.third__pluss {
  width: 331px;
  height: 336px;
  transition: transform 0.5s ease;
}

.third__pluss:hover {
  transform: scale(1.05);
}

.prices {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 24px;
}

.prices_h {
  font-weight: 700;
  text-align: left;
  height: auto;
}

.price__cards {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: space-around;
  gap: 24px;
}

.card__one__two {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.price__card__one {
  width: 500px;
  height: 550px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 10px;
  background-color: #d6edfca8;
}

.price__card__one::before {
  content: "";
  background-image: url(../assets/images/teeth1.png);
  background-repeat: no-repeat;
  z-index: -1;
  display: block;
  width: 285px;
  height: 336px;
  position: absolute;
}

.name_n_flag {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.name_n_country {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.name__astra {
  font-weight: 500;
  font-size: 3.4rem;
  line-height: 100%;
}

.country__astra {
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 100%;
}

.price__text {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-left: auto;
  margin-right: auto;
  gap: 4px;
}

.rassr {
  font-size: 1.8rem;
  line-height: 100%;
  font-weight: 400;
}

.good__price {
  font-size: 3.2rem;
  line-height: 100%;
  font-weight: 700;
  color: var(--contrast-typography-color);
}

.price__key {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 100%;
}

.full__price {
  font-size: 2rem;
  line-height: 100%;
  color: var(--highlight-typography-color1);
}

.bad__price {
  text-decoration: line-through;
  font-size: 1.6rem;
  margin-right: 10px;
  color: rgba(83, 83, 83, 0.918);
}

.in__price__text {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  width: 80%;
  font-size: 1.8rem;
  line-height: 125%;
  margin-left: auto;
  margin-right: auto;
}

.price__button {
  width: 80%;
  height: 45px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
}

.price__button2 {
  width: 80%;
  height: 45px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  background: #d6edfcda;
  color: var(--highlight-typography-color1);
}

.price__button__text {
  font-weight: 500;
  color: var(--main-typography-color);
  font-size: 1.9rem;
  text-align: center;
}

.price__card__two {
  width: 500px;
  height: 550px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 10px;
  background-color: #d6edfca8;
}

.price__card__two::before {
  content: "";
  background-image: url(../assets/images/teeth1.png);
  background-repeat: no-repeat;
  z-index: -1;
  display: block;
  width: 285px;
  height: 336px;
  position: absolute;
}

.name__straumann {
  font-weight: 500;
  font-size: 3.4rem;
  line-height: 100%;
}

.country__straumann {
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 100%;
}

.card__three__four {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.price__card__three {
  width: 500px;
  height: 550px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    90deg,
    rgb(196, 231, 255),
    rgb(156, 215, 255) 100%
  );
}

.name__osstem {
  font-weight: 500;
  font-size: 3.4rem;
  line-height: 100%;
}

.country__osstem {
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 100%;
}

.price__card__four {
  width: 500px;
  height: 550px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    90deg,
    rgb(196, 231, 255),
    rgb(156, 215, 255) 100%
  );
}

.name_n_country {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.name__ankylos {
  font-weight: 500;
  font-size: 3.4rem;
  line-height: 100%;
}

.country__ankylos {
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 100%;
}

.in__price__m {
  display: none;
}

.credit__info {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  margin-top: 0px;
  gap: 20px;
  font-size: 2.4rem;
}

.plus__credit {
  width: 80px;
  height: 80px;
}

.discount__svg {
  display: block;
}

.plus__svg {
  display: none;
}

.credit_h {
  color: var(--highlight-typography-color1);
  font-weight: 500;
  font-size: 3.6rem;
  margin: 0;
}

.credit__text {
  width: 95%;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  margin-left: 20px;
}

.percent {
  color: #ff9f00;
  font-weight: 500;
}

.clinic__cases {
  width: 100%;
  height: max-content;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 16px;
}

.clinic__cases_h {
  font-weight: 700;
  text-align: left;
  height: auto;
  line-height: 100%;
}

.hint__for__cases {
  color: #a1a1a1;
  font-size: 1.4rem;
  line-height: 100%;
  text-align: right;
  margin-bottom: -10px;
}

.hint__desk {
  display: none;
}

.cases-swiper {
  width: 100%;
  height: auto;
  overflow: visible;
}

.cases-slide {
  border-radius: 35px;
  background: var(--button-background-grad);
  padding: 15px;
  min-height: 575px;
}

.case-content {
  display: flex;
  gap: 40px;
  padding: 30px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.case-before-after {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-width: 400px;
}

.case-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.case-patient {
  display: flex;
  align-items: center;
  gap: 20px;
}

.patient-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}

.patient-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.patient-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.patient-name {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 100%;
}

.patient-service {
  font-size: 16px;
  color: #1e96fc;
  line-height: 100%;
}

.patient-review {
  position: relative;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.quote-icon {
  position: absolute;
  top: -12px;
  left: 20px;
}

.review-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.service-details {
  margin-top: auto;
}

.service-details h4 {
  font-size: 18px;
  color: #333;
  margin: 0 0 15px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;

}

.service-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 1.8rem;
  color: #666;
  line-height: 100%;
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1e96fc;
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 1024px) {
  .case-content {
    flex-direction: column;
  }

  .case-before-after {
    min-width: 100%;
  }
}

.cases-swiper-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  padding: 0 20px;
}

.cases-swiper-button-prev,
.cases-swiper-button-next {
  width: 44px;
  height: 44px;
  background: #1e96fc;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cases-swiper-button-prev:hover,
.cases-swiper-button-next:hover {
  background: #1570bd;
}

.cases-swiper-button-prev::after,
.cases-swiper-button-next::after {
  font-family: swiper-icons;
  font-size: 24px;
  color: #ffffff;
}

.cases-swiper-button-prev::after {
  content: "prev";
}

.cases-swiper-button-next::after {
  content: "next";
}

@media (max-width: 768px) {
  .cases-swiper-nav {
    padding: 0 10px;
  }

  .cases-swiper-button-prev,
  .cases-swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .cases-swiper-button-prev::after,
  .cases-swiper-button-next::after {
    font-size: 18px;
  }
}

.cases__gallery {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
}

.second__gallery__row {
  display: none;
}

.case1 {
  overflow: hidden;
  width: 450px;
  height: max-content;
  border-radius: 12px;
  /* Color of the track & thumb */
  --accent-colour: #c02222;
  /* Or you can set the two independently: */
  --track-color: var(--contrast-typography-color);
  --thumb-color: var(--main-background-color);
  /* Background of the thumb */
  --thumb-background: var(--highlight-typography-color);
  /* Size of the thumb */
  --thumb-size: 50px;
  /* Thickness of the bar */
  --bar-size: 5px;
  /* Touch-thickness of the bar */
  --bar-touch-size: 30px;
}

.case1 img {
  width: 100%;
  height: auto;
}

.case2 {
  overflow: hidden;
  width: 450px;
  height: max-content;
  border-radius: 12px;
  /* Color of the track & thumb */
  --accent-colour: #c02222;
  /* Or you can set the two independently: */
  --track-color: var(--contrast-typography-color);
  --thumb-color: var(--main-background-color);
  /* Background of the thumb */
  --thumb-background: var(--highlight-typography-color);
  /* Size of the thumb */
  --thumb-size: 50px;
  /* Thickness of the bar */
  --bar-size: 5px;
  /* Touch-thickness of the bar */
  --bar-touch-size: 30px;
}

.case2 img {
  width: 100%;
  height: auto;
}

.case3 {
  overflow: hidden;
  width: 450px;
  height: max-content;
  border-radius: 12px;
  /* Color of the track & thumb */
  --accent-colour: #c02222;
  /* Or you can set the two independently: */
  --track-color: var(--contrast-typography-color);
  --thumb-color: var(--main-background-color);
  /* Background of the thumb */
  --thumb-background: var(--highlight-typography-color);
  /* Size of the thumb */
  --thumb-size: 50px;
  /* Thickness of the bar */
  --bar-size: 5px;
  /* Touch-thickness of the bar */
  --bar-touch-size: 30px;
}
.case3 img {
  width: 100%;
  height: auto;
}

.case4 {
  overflow: hidden;
  width: 450px;
  height: max-content;
  border-radius: 12px;
  /* Color of the track & thumb */
  --accent-colour: #c02222;
  /* Or you can set the two independently: */
  --track-color: var(--contrast-typography-color);
  --thumb-color: var(--main-background-color);
  /* Background of the thumb */
  --thumb-background: var(--highlight-typography-color);
  /* Size of the thumb */
  --thumb-size: 50px;
  /* Thickness of the bar */
  --bar-size: 5px;
  /* Touch-thickness of the bar */
  --bar-touch-size: 30px;
}

.case4 img {
  width: 100%;
  height: auto;
}

.case5 {
  overflow: hidden;
  width: 450px;
  height: max-content;
  border-radius: 12px;
  /* Color of the track & thumb */
  --accent-colour: #c02222;
  /* Or you can set the two independently: */
  --track-color: var(--contrast-typography-color);
  --thumb-color: var(--main-background-color);
  /* Background of the thumb */
  --thumb-background: var(--highlight-typography-color);
  /* Size of the thumb */
  --thumb-size: 50px;
  /* Thickness of the bar */
  --bar-size: 5px;
  /* Touch-thickness of the bar */
  --bar-touch-size: 30px;
}

.case5 img {
  width: 100%;
  height: auto;
}

.case6 {
  overflow: hidden;
  width: 450px;
  height: max-content;
  border-radius: 12px;
  /* Color of the track & thumb */
  --accent-colour: #c02222;
  /* Or you can set the two independently: */
  --track-color: var(--contrast-typography-color);
  --thumb-color: var(--main-background-color);
  /* Background of the thumb */
  --thumb-background: var(--highlight-typography-color);
  /* Size of the thumb */
  --thumb-size: 50px;
  /* Thickness of the bar */
  --bar-size: 5px;
  /* Touch-thickness of the bar */
  --bar-touch-size: 30px;
}

.case6 img {
  width: 100%;
  height: auto;
}

.about__doctor_h {
  font-weight: 700;
  text-align: left;
  height: auto;
}

.losung {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  background: linear-gradient(
    90deg,
    rgb(138, 208, 255),
    rgb(121, 201, 255) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.8rem;
  line-height: 105%;
}

span.stepovoy {
  color: #181618;
  font-size: 35px;
}

span.stepovoy__spec {
  color: #1a7bd0;
  font-size: 25px;
}

span.stepovoy__staj {
  color: #181618;
  font-size: 22px;
}

.spec__list__treg {
  width: 100%;
  list-style: disc;
  text-align: left;
  margin: 0;
  margin-right: 15px;
  font-size: 16px;
}

.second__doc__head {
  text-align: center;
  align-items: center;
  font-weight: 500;
  width: 508px;
  height: max-content;
  color: #181618;
  font-size: 28px;
  margin-block-start: 300px;
}

span.novik {
  color: #181618;
  font-size: 35px;
}

span.tregubenko {
  color: #181618;
  font-size: 35px;
  line-height: 100%;
}

span.stepovoy {
  color: #181618;
  font-size: 35px;
  line-height: 115%;
}

span.novik__spec {
  color: #ff9f00;
  font-size: 25px;
}

span.fom__spec {
  color: #ff9f00;
  font-size: 25px;
}

.sertificates {
  width: 100%;
  height: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  background-color: #ffffff;
  border: 2px solid #60bfff;
  border-radius: 20px;
}

.sertificatestreg {
  width: 100%;
  height: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  background-color: #ffffff;
  border: 2px solid #60bfff;
  border-radius: 20px;
}

.sertificatesmtreg {
  display: none;
}

.thumbnail {
  cursor: pointer;
  transition: 0.3s;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
}

.overlay img {
  max-width: 90%;
  max-height: 90%;
}

.overlay1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.overlay1 img {
  max-width: 90%;
  max-height: 90%;
}

.no-scroll {
  overflow-y: hidden;
}

.doctor__button {
  width: 420px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: Magistral, Arial, Helvetica, sans-serif;
  padding: 0px;
  border-radius: 50px;
  border-color: #7ec4ff;
  background-color: #f4ffff;
  color: #181618;
  font-size: 28px;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  margin-top: 20px;
}

.about__doctor-new {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doctors-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
}

.doctor-card {
  width: 235px;
  height: 343px;
  position: relative;
}

.doctor-photo {
  width: 235px;
  height: 343px;
}

.doctor-button-info {
  width: 100%;
  height: 20%;
  background: var(--button-background-grad);
  position: absolute;
  bottom: 0px;
  left: 0px;
  border-radius: 0px 0px 11px 12.5px;
  border: none;
  cursor: pointer;
  display: grid;
  overflow: hidden;
  place-items: center;
  font-family: "Manrope", sans-serif;
  font-weight: 300;
}

.doctor-button-info div {
  transition: opacity 0.3s ease-in-out;
  grid-column: 1 / -1;
  /* Обе картинки будут в одном месте */
  grid-row: 1 / -1;
}

.doctor-button-info div.doctor-fio {
  text-align: center;
  color: #fff;
  opacity: 1;
  display: flex;
  align-items: center;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.doctor-name {
  width: 175px;
  font-size: 20px;
  line-height: 100%;
}

.doctor-arrow {
  width: 28px;
  height: 28px;
}

.doctor-button-info div.doctor-readmore {
  opacity: 0;
  text-align: center;
  font-size: 2.4rem;
  color: #fff;
}

.doctor-button-info:hover .doctor-fio {
  opacity: 0;
  text-align: center;
}

.doctor-button-info:hover .doctor-readmore {
  opacity: 1;
  text-align: center;
}

#doctor_info {
  width: 600px;
  height: 200px;
}

dialog {
  border: none;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  width: 50%;
  min-width: 360px;
  position: fixed;
  animation: fadeIn 0.5s ease;
  opacity: 0;
  /* Начальное состояние для анимации */
  pointer-events: none;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(
    90deg,
    rgb(196, 231, 255),
    rgb(156, 215, 255) 100%
  );
}

dialog.showing {
  opacity: 1; /* Конечное состояние */
  pointer-events: auto; /* Разрешаем взаимодействие */ /* Позиция для отображения */
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

dialog.showing::backdrop {
  background: rgba(0, 0, 0, 0.5); /* Затемнённый фон */
}

.doctorInfo__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: #aaa;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeOut {
  opacity: 0 !important;
  /* Уменьшаем прозрачность */
  pointer-events: none;
  /* Отключаем взаимодействие во время анимации */
}

.doctor__photo {
  width: 50%;
  border-radius: 20px;
}

.doctor-dialog-wrapper {
  display: flex;
  justify-content: space-between;
}

.doctor-dialog__info {
  display: flex;
  width: 45%;
  flex-direction: column;
  gap: 20px;
  line-height: 100%;
  font-size: 2.4rem;
}

.specialization {
  color: #3d3d3d;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.spec__list {
  list-style-type: circle;
  width: 100%;
  text-align: left;
  margin: 0;
  font-size: 16px;
  padding: 0px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dialog__button {
  width: 100%;
  bottom: 0;
  border-radius: 12px;
  color: #181618;
  background: #e0f1ff;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
}

.about-clinic-new {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 16px;
  margin-top: -96px;
}

.photos-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.photos-wrapper-mob {
  display: none;
}

.first-column {
  width: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 100px;
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 115%;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.second-column {
  width: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.second-column img {
  width: 330px;
}

.third-column {
  width: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.risks-bg {
  position: absolute;
  left: 20%;
  z-index: -1;
  width: 150%;
  top: -5%;
}

.faq {
  width: 100%;
  height: max-content;
  background: url("/assets/images/pattfaq.svg") repeat,
    linear-gradient(
      90deg,
      rgba(26, 123, 208, 1) 0%,
      rgba(180, 225, 255, 1) 100%
    );
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 15px;
  padding-bottom: 25px;
  gap: 15px;
  position: relative;
  overflow: hidden;
  margin-top: 120px;
}

.header-faq {
  width: 80%;
  max-width: 1040px;
  margin: 0;
  font-size: 4rem;
  font-weight: 500;
  line-height: 100%;
  color: #ffeff8;
  z-index: 3;
}

.faq-container {
  max-width: 1040px;
  width: 80%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 3;
}

.faq-item {
  border-bottom: 1px solid #eaeaea;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 400;
  font-size: 2.8rem;
  line-height: 100%;
  transition: background-color 0.3s ease;
  color: var(--highlight-typography-color1);
}

.faq-question:hover {
  background-color: #fae4c0;
  color: var(--highlight-typography-color);
}

.faq-question.active {
  background-color: #fae4c0;
  color: var(--highlight-typography-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-answer-content {
  font-family: "Manrope", sans-serif;
  padding: 20px 0 20px;
  line-height: 100%;
  color: var(--main-typography-color);
  font-size: 2.4rem;
  font-weight: 200;
}

.icon {
  transition: transform 0.3s ease;
  font-size: 20px;
  font-weight: bold;
}

.faq-question.active .icon {
  transform: rotate(180deg);
}

.map__widget {
  min-width: 1040px;
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 16px;
  padding-bottom: 20px;
  position: relative;
  overflow: visible;
  margin-top: 100px;
}

.map-widget-background {
  position: absolute;
  top: -8px;
  width: 100%;
  background: #f7f7f7;
  height: 110%;
  z-index: -3;
}

.map_h {
  font-weight: 700;
  text-align: left;
  min-height: 40px;
  height: auto;
  width: 1040px;
  margin: 0 auto;
}

.map__wrapper {
  display: none;
  width: 100%;
  height: 400px;
  box-shadow: 4px 8px 8px 8px rgba(0, 0, 0, 0.15);
}

#yandex-map {
  width: 100%;
  height: 500px;
  box-shadow: 4px 8px 8px 8px rgba(0, 0, 0, 0.15);
}

.map-widget__wrapper {
  width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.howtodirect {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 15px;
  width: 40%;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgb(196, 231, 255, 0.4),
    rgb(156, 215, 255, 0.4) 100%
  );
}

.metro-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

.first__metro {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 10px;
}

.logo__name {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: flex-end;
}

.logo__text {
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 100%;
}

.buses {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.buses__numbers {
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 100%;
}

.best__place {
  display: flex;
  justify-content: center;
}

.map__adres {
  text-align: center;
  width: 100%;
  font-size: 2.4rem;
  line-height: 100%;
  font-weight: 500;
}

.work-time {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 15px;
  width: 55%;
  padding: 10px 0px 10px 0px;
  border-top: 2px solid #abd7fc;
  border-bottom: 2px solid #abd7fc;
}

.work-time-adv {
  display: flex;
  justify-content: space-between;
  height: max-content;
}

.good__place {
  padding: 8px;
  background: #a2d4fd;
  border-radius: 12px;
  font-size: 2.4rem;
  line-height: 100%;
  width: 290px;
  position: relative;
  color: var(--main-background-color);
}

.good-place__span {
  display: flex;
  gap: 8px;
}

.good-place__span::after {
  content: "";
  display: block;
  background-image: url(/assets/images/yandex.svg);
  width: 60px;
  height: 60px;
  background-repeat: no-repeat;
  position: absolute;
  right: -20px;
  z-index: 10;
  top: -30%;
}

.free-parking {
  padding: 8px;
  background: #a2d4fd;
  border-radius: 12px;
  font-size: 2.4rem;
  line-height: 100%;
  width: max-content;
  position: relative;
  color: var(--main-background-color);
}

.work-time-descr {
  display: flex;
  font-size: 2.4rem;
  line-height: 100%;
  justify-content: space-evenly;
  padding: 8px;
  background: #a2d4fd;
  border-radius: 12px;
  color: var(--main-background-color);
}

.reviews {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}
.reviews-mobile {
  display: none;
}

.reviews_h {
  font-weight: 700;
  text-align: left;
  min-height: 40px;
  height: auto;
}

.reviews__wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  margin: 0 auto;
}

.reviews__wrap {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.services-reviews {
  width: 50%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
}

.services-reviews_row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.service-review {
  display: flex;
  justify-content: space-evenly;
  width: 48.2%;
  border-radius: 12px;
  height: 100px;
  padding: 10px 2px 10px 2px;
  background: linear-gradient(
    90deg,
    rgb(196, 231, 255, 0.4),
    rgb(156, 215, 255, 0.4) 100%
  );
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-review:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-review__logo {
  width: 46%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.service-review__logo__img {
  width: 100%;
}

.rev-count {
  font-size: 1.8rem;
  line-height: 100%;
}

.rev-number {
  margin-top: 10px;
  font-size: 3.2rem;
  line-height: 100%;
}

.stars {
  width: 100%;
  height: auto;
}

.service-review__mark {
  width: 46%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.mobilerev {
  display: none;
}

.reviews__swiper {
  width: 500px;
  box-sizing: border-box;
  margin: 0px;
}

.slide1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.first__review {
  width: 495px;
  height: 880px;
  border-radius: 25px;
}

.slide2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.second__review {
  width: 495px;
  border-radius: 25px;
}

.slide3 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.third__review {
  width: 495px;
  border-radius: 25px;
}

.footer {
  width: 100%;
  background-color: #2a272a;
}

.footer__wrapper {
  width: 1040px;
  height: 300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 20px;
  justify-content: space-between;
}

.footer-logo {
  width: 189px;
  height: 100px;
}

.logo-and-numbers {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-and-numbersm {
  display: none;
}

.numbers {
  display: flex;
  flex-direction: column;
  color: var(--main-background-color);
  font-size: 2.4rem;
  line-height: 100%;
  gap: 15px;
  justify-content: space-evenly;
  padding: 10px;
  background: var(--button-background-grad);
  border-radius: 15px;
}

.first__number {
  transition: color 0.3s ease-in-out;
}

.first__number:hover {
  color: var(--contrast-typography-color);
}

.questions-contacts {
  width: 100%;
}

.questions__form {
  width: 30%;
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.footer__button {
  display: flex;
  border-radius: 20px;
  width: 420px;
  height: 60px;
  background-color: #f4ffff;
  border: none;
  line-height: 100%;
  font-size: 28px;
}

.questions__button__svg {
  width: 100%;
  height: 100%;
}

.questions__form_h {
  font-weight: 700;
  text-align: left;
  width: 100%;
  height: auto;
  text-align: center;
  line-height: 100%;
  color: #ffffff;
  margin: 0;
  font-size: 32px;
}

.contacts {
  min-width: 1040px;
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  align-items: center;
  gap: 40px;
  color: #ffffff;
}

.social_media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.licence-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}
.licence-copyright {
  font-size: 2.4rem;
  line-height: 115%;
  color: #fff;
}
.licence-copyright:hover {
  color: var(--contrast-typography-color);
}

.copyright__block {
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.616);
  font-size: 1.6rem;
  text-align: center;
  line-height: 100%;
  color: rgba(255, 255, 255, 0.747);
  height: max-content;
}

.policy {
  color: #60bfff;
}

.hidden__header {
  display: none;
}

.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 999999999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.formheader {
  font-size: 3.4rem;
  line-height: 100%;
  font-weight: 500;
  margin-bottom: 8px;
  color: #f3f3f3;
}

.modal-content {
  padding: 30px;
  margin-top: -11%;
  background: var(--button-background-grad);
  width: 600px;
  height: auto;
  position: relative;
  border-radius: 18px;
  transform: translateY(20%);
  /* Исходное положение - скрыто */
  transition: transform 1s ease, opacity 1s ease;
}

#feedbackModal.active {
  opacity: 1;
  pointer-events: auto;
}

#feedbackModal.active .modal-content {
  transform: translateY(0);
  /* Поднимаем окно в исходное положение */
}

.modal-teeth {
  display: block;
  background-image: url(/assets/images/icon__logo.png);
  width: 180px;
  position: absolute;
  right: -50px;
  top: -30px;
  height: 180px;
  z-index: -2;
  rotate: 30deg;
  transition: opacity 0.5s ease;
}

.close {
  color: #aaa;
  float: right;
  font-size: 40px;
  height: 30px;
  width: 40px;
  font-weight: bold;
  line-height: 100%;
  text-align: right;
}

.close:hover,
.close:focus {
  color: var(--contrast-typography-color);
  text-decoration: none;
  cursor: pointer;
}

.thank-you-message {
  color: #fbfdff;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  display: none;
  line-height: 100%;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.label-name {
  display: flex;
  flex-direction: column;
  line-height: 100%;
  font-size: 2.4rem;
  gap: 4px;
  color: #2A272A;
}

input {
  padding: 10px;
  border: 1px solid #60BFFF;
  border-radius: 12px;
}

input:focus {
  outline: red;
}


.submit__button {
  padding: 10px;
  background-color: #d6edfcda;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  text-align: center;
}

button.submit__button {
  padding: 10px;
  background-color: #7EC4FF;
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-family: Magistral, Arial, Helvetica, sans-serif;
  font-size: 20px;
}

.formpolicy {
  font-size: 14px;
  color: #888;
  text-align: center;
  line-height: 100%;
  margin-top: 10px;
}

#wrongnumber {
  display: none;
  font-size: 14px;
  color: #cf2b33;
  line-height: 100%;
  margin-top: -12px;
}

/* Когда модальное окно активно, блокируем взаимодействие с основным контентом */
.no-scroll {
    overflow: hidden;
}

.no-scroll main,
.no-scroll header,
.no-scroll footer {
    filter: blur(3px);
    pointer-events: none;
}

.calculator-modal {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

.close-calculator {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 30px;
  color: #666;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-calculator:hover {
  background-color: #f5f5f5;
  color: #333;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .calculator-modal {
    width: 95%;
    padding: 20px;
  }

  .close-calculator {
    right: 15px;
    top: 15px;
  }
}

.warranty {
  width: 100%;
  background:
   url(../assets/images/bgpattern.png),
   var(--highlight-typography-color);
  padding: 20px 0;
  overflow: hidden;
  margin-top: 120px;
}

.warranty__content {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
}

.warranty__info {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  color: #FFFFFF;
  z-index: 2;
}

.warranty__stamp {
  position: absolute;
  width: 220px;
  height: auto;
  z-index: 2;
  right: 0;
}

.warranty__text {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.warranty__text h2 {
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
}

.warranty__text h3 {
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.3;
  color: #FFFFFF;
  margin: 0;
}

.warranty__description {
  font-size: 2rem;
  line-height: 1.5;
}

.warranty__description p {
  margin: 0;
}

.warranty__image {
  z-index: 1;
  position: relative;
}

.warranty__jaw-img {
  width: 600px;
  height: auto;
}

.warranty__implants-img {
  position: absolute;
  left: -80px;
  bottom: -40px;
  width: 200px;
  height: auto;
}

@media (max-width: 1200px) {
  .warranty__content {
    padding: 0 20px;
  }
  
  .warranty__image {
    right: -200px;
  }
}

@media (max-width: 768px) {
  .warranty {
    padding: 40px 0;
  }

  .warranty__content {
    flex-direction: column;
  }

  .warranty__info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .warranty__text h2 {
    font-size: 3.2rem;
  }

  .warranty__text h3 {
    font-size: 2.4rem;
  }

  .warranty__description {
    font-size: 1.8rem;
  }

  .warranty__image {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 30px;
  }

  .warranty__jaw-img {
    width: 100%;
    max-width: 400px;
  }

  .warranty__implants-img {
    width: 120px;
    left: -40px;
    bottom: -20px;
  }
}

.final-step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    text-align: center;
}

.thank-you-text {
    font-size: 2rem;
    line-height: 1.4;
    color: var(--main-typography-color);
    margin: 0;
    font-weight: 500;
}

.calculator-form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.error-message {
    color: #ff0000;
    font-size: 1.4rem;
    margin-top: 5px;
    display: none;
    text-align: left;
    padding-left: 20px;
}

.privacy-policy {
    font-size: 1.4rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
}

.privacy-policy a {
    color: var(--highlight-typography-color1);
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

.success-checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    margin: 0 auto;
    z-index: 10;
}

.checkmark {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 60px #4bb71b;
    }
}

.final-form-section {
    width: 100%;
    padding: 40px 0;
    margin-top: 40px;
}

.final-form-container {
    max-width: 1040px;
    height: 600px;
    margin: 0 auto;
    background: var(--highlight-typography-color1);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    padding: 20px;
    position: relative;
}
.final-form-img{
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 35%;
  height: auto;
  z-index: 0;
}

.final-form-content {
    flex: 1;
    color: #fff;
    max-width: 600px;
}

.final-form-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 115%;
    margin-bottom: 20px;
}

.final-form-subtitle {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 115%;
    margin-bottom: 30px;
    font-family: "Manrope", sans-serif;
}

.final-form-subtitle p {
    position: relative;
    padding-left: 25px;
    margin: 10px 0;
}

.final-form-subtitle p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--contrast-typography-color);
    border-radius: 50%;
}

.final-form-wrapper {
    flex: 1;
    max-width: 400px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.final-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.final-form-input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 2px solid #e6e6e6;
    border-radius: 25px;
    font-size: 1.8rem;
    color: #333;
    transition: all 0.3s ease;
}

.final-form-input:focus {
    border-color: var(--highlight-typography-color1);
    outline: none;
}

.final-form-submit {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 25px;
    background: var(--button-background-grad);
    color: #fff;
    font-size: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.final-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 150, 252, 0.3);
}

.final-form-policy {
    font-size: 1.4rem;
    color: #666;
    text-align: center;
}

.final-form-policy a {
    color: var(--highlight-typography-color1);
    text-decoration: none;
}

.final-form-policy a:hover {
    text-decoration: underline;
}

.final-form-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.8rem;
}

.feature-item img {
    width: 24px;
    height: 24px;
}


