@charset "UTF-8";

@font-face {
  font-family: Raleway;
  font-display: swap;
  src: url("../fonts/Raleway-Black.woff2") format("woff2"), url("../fonts/Raleway-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: Raleway;
  font-display: swap;
  src: url("../fonts/Raleway-Italic.woff2") format("woff2"), url("../fonts/Raleway-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: Raleway;
  font-display: swap;
  src: url("../fonts/Raleway-Bold.woff2") format("woff2"), url("../fonts/Raleway-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: Raleway;
  font-display: swap;
  src: url("../fonts/Raleway-Light.woff2") format("woff2"), url("../fonts/Raleway-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: Raleway;
  font-display: swap;
  src: url("../fonts/Raleway-Medium.woff2") format("woff2"), url("../fonts/Raleway-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: Raleway;
  font-display: swap;
  src: url("../fonts/Raleway-MediumItalic.woff2") format("woff2"), url("../fonts/Raleway-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: Raleway;
  font-display: swap;
  src: url("../fonts/Raleway-Regular.woff2") format("woff2"), url("../fonts/Raleway-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Raleway;
  font-display: swap;
  src: url("../fonts/Raleway-SemiBold.woff2") format("woff2"), url("../fonts/Raleway-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

.ui-widget{
  font-family: Raleway !important;
  font-size: 14px !important;
}
.ui-widget.ui-widget-content{
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}
.ui-menu .ui-menu-item-wrapper{
  padding: 0; !important
}
.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover {
    border: 0 !important;
    background: #f5f7fa !important;
    color: var(--orange) !important;
}
.mse2-ac-item {
    padding: 6px 15px;
    font-size: 14px;
    text-transform: lowercase;
    cursor: pointer;
    border-bottom: 1px solid rgb(240, 240, 240);
    transition: background 0.2s;
    background: transparent;
}
.mse2-ac-item:hover{
  color: var(--orange);
  background-color: #f5f7fa;
}

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scroll-padding-top: calc(var(--header-height, 60px) + var(--anchors-offset) + 20px);
  height: 100%;
}

body {
  width: 100%;
  word-wrap: break-word;
}

.body-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  overflow-x: clip;
}

.main-menu-is-open .body-wrapper {
  margin-top: calc(var(--menu-height, 46px) + 6px);
}

.footer,
.header {
  flex: 0 0 auto;
}

.main {
  flex: 1 0 auto;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: normal;
  color: inherit;
}

input,
textarea,
select {
  width: 100%;
}

input::-ms-clear {
  display: none;
}

input::placeholder {
  font-family: inherit;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

button {
  cursor: pointer;
  background-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

ul li {
  list-style: none;
}

ol {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
  word-break: break-word;
}

input:focus,
input:focus-visible,
a:focus,
button:focus,
button:focus-visible {
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

hr {
  height: 1px;
  background-color: var(--border-color);
  margin-top: 30px;
}

strong {
  font-weight: 700;
}

input[type=text]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

input[type=text]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  display: none;
}

html,
body,
* {
  scrollbar-color: #cbd5e1 #f1f5f9;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-left: 1px solid #e2e8f0;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 100px;
  border: 2px solid #f1f5f9;
  transition: background 0.2s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

::-webkit-scrollbar-thumb:active {
  background: #64748b;
}

.f-caption{
  color: var(--text-color) !important;
}

.metro{
    display: inline-block;
}

html.with-fancybox body.hide-scrollbar {
  margin-right: 0 !important;
}

#mse2_mfilter .btn-bigger.btn_more{
    width: 100%;
}

.modal {
  display: none;
  width: 90%;
  max-width: 800px;
  padding: 0;
}

.modal iframe,
.modal video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#popup-video {
  background: transparent;
  max-height: 630px;
  max-width: 320px;
  cursor: pointer;
}

#popup-video::before {
  content: "";
  display: block;
  padding-top: 75%;
}

/* Контейнер телефона внутри попапа */

.popup-phone-container {
  position: relative;
  margin: 0 auto;
  height: 85vh;
  max-height: 630px;
  aspect-ratio: 633/1280;
}

/* Картинка рамки (поверх видео/iframe) */

.popup-phone-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  z-index: 1;
  pointer-events: none;
  /* Клик проходит сквозь рамку */
}

/* Оболочка, которая встает ровно в границы экрана телефона */

.popup-phone-media-wrapper {
  position: absolute;
  /* НАСТРОЙКА РАМОК: подгоните эти % под вашу PNG-картинку */
  top: 2%;
  left: 5%;
  width: 91%;
  height: 97%;
  z-index: 2;
  overflow: hidden;
  /* Чтобы углы видео/iframe не вылезали за рамку */
  border-radius: 12.5%/6.5%;
  background-color: var(--text-color);
}

.popup-phone-play-btn {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(14, 69, 117, 0.7);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  transition: background-color 0.4s, opacity 0.4s;
  pointer-events: none;
  z-index: 3;
  backdrop-filter: blur(3px);
}

.popup-phone-play-btn svg {
  width: 18px;
  height: 22px;
}

.popup-phone-play-btn.is-hidden {
  opacity: 0;
}

.popup-phone-container:hover .popup-phone-play-btn {
  background-color: var(--blue);
}

/* Стили для видео и iframe внутри оболочки */

.popup-phone-media-wrapper video,
.popup-phone-media-wrapper iframe,
.popup-phone-media-wrapper object {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  object-fit: cover;
  /* Для видео */
}

.no-pb {
  padding-bottom: 0 !important;
}

.no-pt {
  padding-top: 0 !important;
}

.no-mt {
  margin-top: 0 !important;
}

.no-mb {
  margin-bottom: 0 !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.orange {
  color: var(--orange);
}

.blue {
  color: var(--blue);
}

.bold {
  font-weight: 600;
}

:root {
  --bg-color: #E7EDF2;
  --bg-color-rgba: rgb(231,237,242);
  --orange: #FF7B42;
  --orange-hover: #E15D24;
  --text-color: #363737;
  --half-text-color: #737373;
  --contacts-text-color: #716F6F;
  --gray-light: #484848;
  --blue: #0E4575;
  --white: #ffffff;
  --green: #057164;
  --violet: #5762D5;
  --radius: 10px;
  --anchors-offset: 0px;
  --arrow-target-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 13.5L13.5 2.5' stroke='%230E4575' stroke-width='1.5'/%3E%3Cpath d='M3.59961 2.5L14.5996 2.5' stroke='%230E4575' stroke-width='1.5'/%3E%3Cpath d='M13.8496 12.75L13.8496 1.75' stroke='%230E4575' stroke-width='1.5'/%3E%3C/svg%3E");
  --arrow-target-gray: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 13.5L13.5 2.5' stroke='%239F9E9A' stroke-width='1.5'/%3E%3Cpath d='M3.59961 2.5L14.5996 2.5' stroke='%239F9E9A' stroke-width='1.5'/%3E%3Cpath d='M13.8496 12.75L13.8496 1.75' stroke='%239F9E9A' stroke-width='1.5'/%3E%3C/svg%3E");
  --arrow-target-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 13.5L13.5 2.5' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M3.59961 2.5L14.5996 2.5' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M13.8496 12.75L13.8496 1.75' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
  --arrow-target-orange: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 13.5L13.5 2.5' stroke='%23FF7B42' stroke-width='1.5'/%3E%3Cpath d='M3.59961 2.5L14.5996 2.5' stroke='%23FF7B42' stroke-width='1.5'/%3E%3Cpath d='M13.8496 12.75L13.8496 1.75' stroke='%23FF7B42' stroke-width='1.5'/%3E%3C/svg%3E");
}

.bvi-active .form-input{
  border: 2px solid;
  min-height: 40px;
}
.bvi-active textarea.form-input{
  min-height: 120px;
  resize: vertical;
}

body:not(.bvi-active) .form-field input:not(:placeholder-shown) ~ label,
body:not(.bvi-active) .form-field textarea:not(:placeholder-shown) ~ label,
body:not(.bvi-active) .form-field input:focus ~ label,
body:not(.bvi-active) .form-field textarea:focus ~ label {
  font-size: 0.75em;
  color: var(--text-color);
  top: -18px;
  transition: all 0.125s cubic-bezier(0.2, 0, 0.03, 1);
}

body:not(.bvi-active) .form-field {
  position: relative;
  color: var(--text-color);
  margin-bottom: 12px;
}

body:not(.bvi-active) .form-field:last-child {
  margin-bottom: 0;
}

body:not(.bvi-active) .form-field textarea {
  resize: none;
}

body:not(.bvi-active) .form-field input,
body:not(.bvi-active) .form-field textarea {
  background: #fff;
  border-radius: 12px;
  padding: 12px 26px;
  width: 100%;
  transition: 0.5s;
}

body:not(.bvi-active) .form-field input:focus,
body:not(.bvi-active) .form-field textarea:focus {
  outline: 0;
}

.form-field input.error,
.form-field textarea.error {
  border-color: #c42d00;
}

.error-lable {
    display: block;
  text-align: left;
  font-size: 12px;
  color: var(--orange);
  margin-left: 10px;
  height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.2s ease-in-out, margin-top 0.2s ease-in-out;
}

.error-lable.error-active {
  height: auto;
  margin-top: 4px;
  opacity: 1;
  overflow: visible;
}

body:not(.bvi-active) .form-lable {
  font-weight: 500;
  padding: 12px 26px;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.25s cubic-bezier(0.2, 0, 0.03, 1);
  pointer-events: none;
  color: #ccc;
}

body:not(.bvi-active) .form-lable span {
  color: var(--orange);
}

.form-agree-container {
  margin-bottom: 25px;
  margin-top: 25px;
}

.form__text,
.form-image-text {
  font-weight: 500;
  color: var(--half-text-color);
  margin-bottom: 12px;
}

.form-image-text {
  font-size: 14px;
}

.checkbox > span:not(.error-lable),
.radio > span:not(.error-lable) {
  display: inline-block;
  padding-left: 30px;
  position: relative;
  cursor: pointer;
  font-size: 14px;
  color: var(--half-text-color);
}

.checkbox > span:not(.error-lable) a,
.radio > span:not(.error-lable) a {
  text-decoration: underline;
}

.checkbox > span:not(.error-lable) a:hover,
.radio > span:not(.error-lable) a:hover {
  text-decoration: none;
}

.checkbox > span:not(.error-lable):before,
.radio > span:not(.error-lable):before {
  content: "";
  position: absolute;
  display: block;
  width: 19px;
  height: 19px;
  border: 1px solid var(--half-text-color);
  border-radius: 3px;
  top: 3px;
  left: 0;
  transition: border-color 0.15s;
}

.checkbox > span:after {
  content: "";
  position: absolute;
  display: inline-block;
  border: solid var(--half-text-color);
  border-width: 0 3px 3px 0;
  width: 7px;
  height: 12px;
  top: 5px;
  left: 6px;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s;
}

.checkbox > input:checked + span:after {
  transform: rotate(45deg) scale(1);
}

.checkbox > input.error + span:before {
  border-color: #c42d00;
}

.form-error-msg {
   border-radius: 3px; 
   border-radius: 3px;
   color: #fff;
   background: #c42d00;
   height: 0;
   overflow: hidden;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.2s ease-in-out;
  /* padding: 20px;
  margin-bottom: 20px;
  margin-top: 10px;
  position: fixed;
  width: 350px;
  top: 20px;
  right: 20px;
  z-index: 99999; */
  
}
.form-error-msg.show{
    padding: 20px;
    margin-bottom: 20px;
    opacity: 1;
    visibility: visible;
    height: auto;
}

.form-agree-container p {
  font-size: 12px;
  margin-top: 16px;
  color: var(--half-text-color);
}

.form-agree-container p svg {
  margin-left: 8px;
  margin-right: 8px;
  vertical-align: middle;
}

.form-agree-container p a {
  text-decoration: underline;
}

.form-agree-container p a:hover {
  text-decoration: none;
}

.fancybox-countdown {
  margin-top: 20px;
  font-size: 14px;
  color: var(--half-text-color);
}

.fancybox-countdown span {
  color: var(--orange);
}

.modal-text {
  margin-top: 40px;
  text-align: center;
  font-size: 20px;
}

.modal-text a {
  color: var(--orange);
  text-decoration: underline;
}

.modal-text a.display-block {
  display: block;
  margin-top: 10px;
}

.modal-text a:hover {
  text-decoration: none;
}

.form-modal {
  padding: 4% 6% !important;
}

.form__title {
  font-weight: 500;
  margin-bottom: 15px;
}

.form-button {
  width: 100%;
}

#thanks {
  width: 90%;
  max-width: 470px;
  border-radius: 10px;
  padding: clamp(26px, 3.44vw, 40px) 26px;
  justify-content: center;
  background: url(img/thanks-bg.png) center center no-repeat;
  background-size: cover;
}

.thanks-wrapper {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.thanks-wrapper .caption {
  color: var(--blue);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

.thanks-wrapper p {
  color: var(--half-text-color);
}

.contact-form-title {
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1;
  margin-bottom: 18px;
}

.form-image-section__wrapper {
  background-color: #f4f4f4;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  overflow: hidden;
}

.form-image-section__image {
  flex: 0 0 52.5%;
}

.form-image-section__form {
  flex: 0 0 45%;
}

.form-image-left__wrapper {
  padding-top: clamp(18px, 2.58vw, 30px);
  padding-bottom: clamp(18px, 2.58vw, 30px);
  padding-left: clamp(10px, 2.2vw, 25px);
  padding-right: clamp(10px, 3.5vw, 40px);
  background-image: url(img/form-image-left-bg-desctop.jpg);
}

.form-image-left__image {
  border-radius: 15px;
  overflow: hidden;
}

.form-image-left__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.form-image-left__image--bg {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.form-image-right__wrapper {
  background-image: url(img/form-image-right-bg-desctop.jpg);
}

.form-image-right__form {
  padding-left: 40px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.form-image-right__image {
  background-color: #f5f5f9;
  padding-top: 46px;
  padding-bottom: 30px;
  padding-left: 25px;
  padding-right: 46px;
  position: relative;
}

.form-image-left__image .contact-form-title,
.form-image-right__image .contact-form-title {
  display: none;
}

.form-image-right__image--bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url(img/form-image-right.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0% 50%;
}

.form-image-right__image--caption {
  font-weight: 500;
  line-height: 1.2;
  color: var(--half-text-color);
  position: relative;
  z-index: 1;
}

.form-image-bg .form-image-text {
  display: none;
}

.form-image-bg .form-image-right__wrapper {
  background-image: url(img/form-image-bg-desctop.jpg);
}

.form-image-bg .form-image-right__image {
  background-color: transparent;
}

.form-image-doctor {
  background: #f4f4f4 url(img/form-image-doctor-bg-desctop.jpg) center center no-repeat;
  background-size: cover;
  border-radius: 10px;
  padding: 50px 40px 70px;
  position: relative;
}

.form-image-doctor__title {
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 500;
  position: absolute;
  width: 33%;
  z-index: 1;
  max-width: 390px;
}

.form-image-doctor__content {
  display: flex;
  justify-content: flex-end;
}

.form-image-doctor__form {
  flex: 0 0 46%;
  position: relative;
  z-index: 1;
}

.form-image-doctor__photo--name {
  max-width: 346px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 16px;
  backdrop-filter: blur(8px);
  position: absolute;
  z-index: 1;
  left: 40px;
  bottom: 60px;
}

.form-image-doctor__photo--name .name {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0.5em;
  line-height: 1.1;
  width: 190px;
}

.form-image-doctor__photo--name .profile {
  color: var(--half-text-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2em;
}

.form-image-doctor__photo--photo {
  position: absolute;
  height: 96%;
  max-height: 515px;
  bottom: 0;
  left: 18.5%;
}

.form-image-doctor__photo--photo img {
  height: 100%;
}

.form-image-doctor._with-text .form-image-doctor__photo--photo {
  left: 11.5%;
}

.form-image-doctor._with-text .form-image-doctor__title {
  width: 45%;
}

.fancybox__backdrop {
  background: rgba(231, 237, 242, 0.5);
  opacity: 1;
  backdrop-filter: blur(12px);
}

.fancybox-inner {
  z-index: 1;
}

.f-button.is-close-button {
  border-radius: 8px;
  color: var(--text-color);
  width: 38px;
  height: 38px;
  background-color: #f4f4f4 !important;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

.f-button.is-close-button svg {
  width: 18px;
  height: 18px;
}

.f-button.is-close-button:hover {
  color: #fff;
  background-color: var(--blue) !important;
}

.modal-form {
  max-width: 790px;
  border-radius: 10px;
}

.modal-form .form-input {
  border-radius: 6px;
}

.modal-form .form-input,
.modal-form .form-lable {
  font-size: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.modal-form .checkbox > span:not(.error-lable),
.modal-form .radio > span:not(.error-lable) {
  font-size: 12px;
}

.modal-form .form-agree-container {
  margin-top: 15px;
  margin-bottom: 15px;
}

.modal-form__wrapper {
  padding: 25px 20px;
  border-radius: 10px;
  background-color: #f4f4f4;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  position: relative;
  /*align-items: center;*/
}

.modal-form__wrapper::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url(img/licenses-bg.svg) center center no-repeat;
  background-size: cover;
}

.modal-form__title{
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.modal-form__title.full-width{
  grid-column: 1 / -1;  
  position: relative;
}
.modal-form__description{
  margin-top: 15px;
  font-size: 14px;
  color: #737373;
  line-height: 1.2;
}
.modal-form__caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-form__image{
  margin-top: 15px;
  flex-grow: 1;
  position: relative;
}

/*.modal-form__caption {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-top: -6px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.modal-form__caption img {
  transform: translateY(10px);
}

.modal-form__caption p {
  position: absolute;
  top: 6px;
  left: 8px;
}*/

.modal-form__form {
  align-content: flex-end;
  position: relative;
}

.text-element {
  color: var(--half-text-color);
  line-height: 1.2em;
}

.text-element *:last-child {
  margin-bottom: 0 !important;
}

.text-element h2,
.text-element h3,
.text-element h4,
.text-element h5,
.text-element h6,
.text-element .title {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.9em;
  line-height: 1.2;
}

.text-element h2:not(:first-child),
.text-element h3:not(:first-child),
.text-element h4:not(:first-child),
.text-element h5:not(:first-child),
.text-element h6:not(:first-child),
.text-element .title:not(:first-child) {
  margin-top: 0.9em;
}

.text-element a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.text-element a:hover {
  text-decoration: none;
}

.text-element strong {
  font-weight: 600;
}

.text-element p {
  margin-bottom: 0.7em;
}

.text-element blockquote {
  color: var(--blue);
  background-color: var(--bg-color);
  border-radius: 6px;
  padding: 16px;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

.text-element blockquote strong {
  color: inherit;
}

.text-element blockquote p {
  margin-bottom: 0.45em;
}

.text-element ul,
.text-element ol {
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  padding-left: 9px;
}

.text-element ul li,
.text-element ol li {
  margin-bottom: 0.4em;
  position: relative;
}

.text-element ul li::before,
.text-element ol li::before {
  position: absolute;
  left: 0;
}

.text-element ul li:last-child,
.text-element ol li:last-child {
  margin-bottom: 0 !important;
}

.text-element ul li {
  padding-left: 14px;
}

.text-element ul li::before {
  content: "";
  top: 0.5em;
  background-color: currentColor;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.text-element ol {
  counter-reset: num;
}

.text-element ol li {
  padding-left: 16px;
}

.text-element ol li::before {
  content: counter(num) ".";
  counter-increment: num;
  top: 0;
}

.header-fixed {
  padding-top: 5px;
  padding-bottom: 3px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: transform 0.3s ease-out;
  transform: translateY(-100%);
  z-index: 20;
}

.header-fixed.visible {
  transform: translateY(0);
}

.header-fixed__container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-fixed__logo {
  flex: 0 0 240px;
}

.header-fixed__socials {
  display: inline-flex;
  gap: 10px;
}

.header-fixed__socials .socials__item:not(:hover) {
  background-color: transparent;
}

.header-fixed__actions {
  display: inline-flex;
  align-items: center;
  flex: 1;
  justify-content: space-evenly;
}

.header-fixed__site-version-toggle.site-version-toggle {
  width: 34px;
  height: 26px;
}

.header-fixed__phone.header-phone,
.header-fixed__phone.footer-phone {
  font-size: 20px;
}

.header-fixed__phone.header-phone::before,
.header-fixed__phone.footer-phone::before {
  width: 28px;
  height: 28px;
}

.header-fixed__menu-open-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #707070;
  flex-shrink: 0;
  transition: border-color 0.4s;
  position: relative;
}

.header-fixed__menu-open-button::before {
  content: "";
  width: 50%;
  height: 50%;
  display: inline-block;
  background: url(img/burger.svg) center center no-repeat;
  background-size: contain;
  transition: background-image 0.2s;
}

.header-fixed__menu-open-button:hover {
  border-color: var(--orange);
}

.header-fixed__menu-open-button:hover::before {
  background-image: url(img/burger-orange.svg);
}

.header-fixed__menu-open-button.open {
  border-color: var(--orange);
}

.header-fixed__menu-open-button.open::before {
  background-image: url(img/cross.svg);
  width: 14px;
  height: 14px;
}

body {
  font-family: Raleway, sans-serif;
  font-feature-settings: "lnum" 1;
  font-weight: 400;
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-color);
}

body.over {
  overflow: hidden;
}

.sticky-element {
  position: sticky !important;
  top: calc(var(--header-height, 60px) + var(--anchors-offset) + 20px);
}

#scrollup {
  background: var(--blue);
  position: fixed;
  z-index: 30;
  border-radius: 50%;
  right: 15px;
  bottom: 160px;
  width: 50px;
  height: 50px;
  display: none;
  transition: opacity 0.4s ease;
  opacity: 0.35 !important;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#scrollup:hover {
  opacity: 1 !important;
}

#scrollup img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  object-fit: contain;
}

#cookie_notification {
  display: none;
  align-items: center;
  position: fixed;
  z-index: 1000;
  bottom: 10px;
  right: 20px;
  width: 90%;
  max-width: 340px;
  padding: 20px;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 2px 4px 10px 0 rgba(0, 0, 0, 0.15);
}

#cookie_notification.show {
  display: block;
}

#cookie_notification p {
  font-size: 12px;
  color: #737373;
  line-height: 1.4;
}

#cookie_notification p a {
  text-decoration: underline;
}

#cookie_notification p a:hover {
  text-decoration: none;
}

#cookie_accept {
  margin-top: 16px;
  border-radius: 6px;
  font-size: 14px;
  height: 34px;
  padding: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.body-overlay {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease-in-out, visibility 0.15s ease-in-out;
  z-index: 20;
}

.over .body-overlay {
  visibility: visible;
  opacity: 1;
  backdrop-filter: blur(2px);
}

.container {
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

.btn {
  background-color: var(--orange);
  color: #fff;
  text-align: center;
  transition: 0.4s;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.btn-smaller {
  border-radius: 8px;
  font-size: 14px;
  padding: 0.9em 1em;
}

.btn.btn-bigger {
  border-radius: 10px;
  font-size: 16px;
  padding: 1.3em 12px;
}

.btn.btn-ghost {
  background-color: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

@media (hover: hover) and (pointer: fine){
    .btn:hover {
      background-color: #fff;
      color: var(--blue);
      border-color: var(--blue);
    }
    .btn.btn-ghost:hover {
      background-color: #fff;
    }
    .btn:active {
      background-color: var(--blue);
      color: #fff;
    }
}

.header-content {
  background-color: #fff;
  padding: 14px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: flex-end;
}

.header-logo-block {
  max-width: 364px;
  display: flex;
  align-items: center;
}

.header-search-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.header-socials {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.socials__item {
  border-radius: 50%;
  border: 1px solid var(--blue);
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  transition: background-color 0.4s;
}

.socials__item img {
  transition: filter 0.4s;
  width: 12px;
  height: 14px;
  object-fit: contain;
}

.socials__item .telegram {
  width: 11px;
  height: 10px;
}

.socials__item .vk {
  width: 12px;
  height: 8px;
}

.socials__item:hover {
  background-color: var(--blue);
}

.socials__item:hover img {
  filter: brightness(0) invert(1);
}

.search-form {
  position: relative;
  width: 100%;
}

.search-form:focus-within .search-button {
  background-image: url(img/search-blue.svg);
  opacity: 1;
}

.search-input {
  background-color: var(--bg-color);
  font-size: 14px;
  border-radius: 6px;
  padding: 7px 20px 7px 50px;
  border: 1px solid transparent;
}

.search-input:focus {
  border-color: var(--blue);
}

.search-input::placeholder {
  color: rgba(0, 0, 0, 0.25);
}

.search-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 14px;
  width: 19px;
  height: 19px;
  background: url(img/search.svg) center center no-repeat;
  background-size: contain;
  opacity: 0.25;
}

.header-address-block,
.footer-address-block {
  font-size: 14px;
  color: #4F5050;
  text-align: center;
}

.header-address {
  border-radius: 6px 6px 0 0;
  border: 2px solid var(--bg-color);
  padding: 0.5em;
}

.metro::before {
  content: "";
  width: 17px;
  height: 21px;
  display: inline-block;
  background: url(img/metro.png) center center no-repeat;
  background-size: contain;
  margin-right: 5px;
  vertical-align: middle;
}

.street {
  display: block;
}

.header-worktime {
  background-color: var(--bg-color);
  text-align: center;
  border-radius: 0 0 6px 6px;
  font-weight: 500;
  padding: 0.5em;
}

.header-contacts-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.site-version-toggle {
  width: 30px;
  height: 22px;
  background: url(img/eye.svg) center center no-repeat;
  background-size: contain;
  opacity: 0.5;
  transition: opacity 0.4s;
}

.site-version-toggle:hover {
  opacity: 1;
}

.header-phone,
.footer-phone {
  transition: color 0.4s;
  display: inline-flex;
  align-items: center;
}

.header-phone::before,
.footer-phone::before {
  content: "";
  display: inline-block;
  width: 23px;
  height: 21px;
  background: url(img/phone-tube.svg) center center no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-right: 10px;
  transition: background-image 0.4s, color 0.4s;
}

.header-phone:hover,
.footer-phone:hover {
  color: var(--blue);
}

.header-phone:hover::before,
.footer-phone:hover::before {
  background-image: url(img/phone-tube-blue.svg);
}

.header-btn {
  width: 100%;
  margin-top: 16px;
}

@keyframes showHeader {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

.swiper-pagination:not(:empty) {
  position: relative;
  margin-top: 18px;
  bottom: auto !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--orange);
}

.swiper-pagination._gray .swiper-pagination-bullet {
  background-color: #E7EDF2;
}

.swiper-pagination._gray .swiper-pagination-bullet-active {
  background-color: var(--orange);
}

.swiper-button-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.swiper-button-lock {
  display: none !important;
}

.swiper-slide {
  height: auto !important;
}

.slider-arrows._stroke .slider-arrow {
  border: 1px solid #14142F;
}

.slider-arrows._stroke .slider-arrow:hover {
  border: 0;
}

.slider-title {
  position: relative;
  padding-right: 140px;
}

.slider-arrows {
  display: inline-flex;
  position: absolute;
  right: 0;
  bottom: -6px;
}

.slider-arrow {
  cursor: pointer;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  transition: background-color 0.4s;
}

.slider-arrow:hover {
  background-color: var(--orange);
}

.slider-arrow:hover:before {
  background-image: url(img/slider-arrow-white.svg);
}

.slider-arrow:nth-child(2) {
  margin-left: 12px;
  transform: scaleX(-1);
}

.slider-arrow:before {
  content: "";
  width: 13px;
  height: 13px;
  background: url(img/slider-arrow.svg) center center no-repeat;
  background-size: contain;
  transition: background-image 0.3s;
}

.offer-slider {
  margin-top: 30px;
}

.offer-slider__item {
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.offer-slider__item img {
  border-radius: var(--radius);
}

.footer {
  background-color: #fff;
  margin-top: 60px;
}

.footer-header {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  justify-content: space-between;
}

.footer-header__logo {
  max-width: 380px;
  width: 50%;
}

.footer-header__actions {
  gap: 25px;
  display: grid;
  grid-template-columns: auto 42px 254px;
}

.footer-header__contacts,
.footer-header__socials {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-header__contacts {
  align-items: flex-end;
}

.footer-phone {
  font-size: 20px;
}

.footer-phone::before {
  width: 24px;
  height: 24px;
}

.footer-email {
  font-size: 14px;
  text-decoration: underline;
  margin-top: 10px;
  margin-bottom: 10px;
}

.footer-email:hover {
  text-decoration: none;
}

.footer-header__socials .socials__item {
  width: 42px;
  height: 42px;
}

.footer-header__socials .socials__item .telegram {
  width: 18px;
  height: 14px;
}

.footer-header__socials .socials__item .vk {
  width: 18px;
  height: 12px;
}

.footer-header__buttons .search-form {
  margin-top: 20px;
}

.footer-btn {
  width: 100%;
}

.footer-body {
  display: grid;
  grid-template-columns: auto 254px;
  gap: 20px;
  margin-top: 15px;
  margin-bottom: 30px;
}

.footer-body__main {
  display: flex;
  flex-direction: column;
}

.footer-body__sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.footer-menu {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr;
  gap: 15px;
  flex: 1 1 auto;
}

.footer-list--services {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 15px;
}

.footer-title {
  font-weight: 500;
  font-size: 14px;
  color: #4F5050;
  margin-bottom: 16px;
  display: block;
}

.footer-list {
  color: #707070;
  font-size: 12px;
}

.footer-list li {
  margin-bottom: 6px;
}

.footer-list li a {
  transition: color 0.3s;
}

.footer-list li a:hover {
  color: var(--orange);
}

.footer-add-menu {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
}

.footer-add-menu__item {
  font-size: 14px;
  font-weight: 500;
  color: #4F5050;
}

.footer-add-menu__item a {
  transition: color 0.3s;
}

.footer-add-menu__item a:hover {
  color: var(--orange);
}

.footer-rating-widgets {
  margin-top: 16px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1 1 auto;
}

.footer-rating-widgets a {
  width: 124px;
}

.footer-rating-widgets img {
  display: block;
  width: 100%;
}

.footer-legal-box {
  font-size: 12px;
  text-align: center;
  color: #707070;
}

.company-name {
  text-transform: uppercase;
  border-radius: 6px 6px 0 0;
  border: 2px solid var(--bg-color);
  padding: 0.65em;
}

.company-numbers {
  background-color: var(--bg-color);
  border-radius: 0 0 6px 6px;
  padding: 0.65em;
}

.company-numbers span {
  display: inline-block;
}
.company-numbers span:nth-child(1) {
  margin-right: 6px;
}

.footer-footer {
  background-color: var(--bg-color);
  color: #363737;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.footer-legal-links {
  margin-top: 12px;
  margin-bottom: 14px;
}

.footer-legal-links a {
  font-size: 12px;
  text-decoration: underline;
}

.footer-legal-links a:hover {
  text-decoration: none;
}

.footer-legal-links a:nth-child(2) {
  margin-left: 5%;
  margin-right: 5%;
}

.footer-disclaimer {
  font-size: 12px;
  color: #949494;
  line-height: 1.4em;
}

.main-page-title {
  font-weight: 500;
  text-align: center;
  font-size: 32px;
  margin-top: 30px;
  margin-bottom: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.main-page-title span {
  color: var(--blue);
}

.section {
  padding-top: 60px;
}

.section-title {
  font-size: clamp(28px, 3.3vw, 38px) !important;
}

.inner-page-h1 {
  font-size: clamp(38px, 4.2vw, 42px);
}

.section-undertitle {
  font-size: 16px;
  line-height: 1.3em;
  font-weight: 500;
  color: var(--half-text-color);
}

.section-title,
.inner-page-h1 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.6em;
}

.section-title-container {
  display: flex;
  align-items: center;
  font-size: clamp(28px, 3.3vw, 38px);
  margin-bottom: 0.55em;
}

.section-title-container .section-title {
  padding-right: 30px;
  margin-bottom: 0;
  width: 35%;
}

.section-title-container .section-undertitle {
  width: 65%;
}

#tooth-constructed .section-undertitle {
  max-width: 660px;
}

#how-to .section-title-container {
  justify-content: space-between;
  align-items: flex-end;
}

#how-to .section-title-container .section-title {
  width: auto;
  padding-right: 5%;
}

#how-to .section-title-container .section-undertitle {
  width: 35%;
  max-width: 400px;
}

.profits-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.profits-list__item {
  background-color: #fff;
  border-radius: 10px;
  padding: 24px;
  transition: box-shadow 0.3s;
}

.profits-list__item--icon {
  width: 80px;
  height: 80px;
  background-color: var(--bg-color);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.profits-list__item--icon img {
  width: 70%;
  height: 70%;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  transition: filter 0.3s;
}

.profits-list__item--icon.profits-inner__item--icon {
  width: 90px;
  height: 90px;
  background-color: transparent;
  mb15
}

.profits-list__item--icon.profits-inner__item--icon img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}

.profits-list__item--title {
  color: var(--text-color);
  font-weight: 600;
  line-height: 1.1em;
  font-size: clamp(18px, 6.24px + 1.53vw, 24px);
  letter-spacing: -0.02em;
  margin-bottom: 0.6em;
}

.profits-list__item--icon + .profits-list__item--title {
  margin-top: 1em;
}


.profits-list__item--title:not(:has(+ .profits-list__item--text)) {
  margin-bottom: 0;
}

.profits-list__item--text {
  font-size: clamp(14px, 1.5vw, 16px);
}

.profits-list__item--text ul {
  margin-bottom: 12px;
  margin-top: 0;
}

.profits-inner__item {
  display: flex;
  flex-direction: column;
}

.profits-inner__item .profits-list__item--text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.profits-inner__item .profits-list__item--text ul {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profits-list__item:not(.profits-inner__item):hover {
  box-shadow: 0 0 9px rgba(0, 0, 0, 0.17);
}

.profits-list__item:not(.profits-inner__item):hover .profits-list__item--icon {
  background-color: var(--blue);
}

.profits-list__item:not(.profits-inner__item):hover .profits-list__item--icon img {
  filter: brightness(0) invert(1);
}

.numbers-list,
.team-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.numbers-list__item,
.team-numbers__item {
  display: flex;
}

.numbers-list__item--number,
.team-numbers__item--number,
.numbers-list__item--text,
.team-numbers__item--text {
  display: flex;
  align-items: center;
}

.numbers-list__item--number,
.team-numbers__item--number {
  background-color: var(--blue);
  color: #fff;
  border-radius: 10px 0 0 10px;
  font-size: clamp(32px, 4vw, 46px);
  padding: 24px 14px;
  width: 45%;
  min-width: 130px;
  flex-shrink: 0;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}

.numbers-list__item--text,
.team-numbers__item--text {
  background-color: #fff;
  border-radius: 0 10px 10px 0;
  padding-left: 15px;
  padding-right: 10px;
  font-weight: 500;
  flex-grow: 1;
  transition: color 0.3s;
}

.numbers-list__item:hover .numbers-list__item--number,
.numbers-list__item:hover .team-numbers__item--number,
.team-numbers__item:hover .numbers-list__item--number,
.team-numbers__item:hover .team-numbers__item--number {
  background-color: #fff;
  color: var(--blue);
}

.numbers-list__item:hover .numbers-list__item--text,
.numbers-list__item:hover .team-numbers__item--text,
.team-numbers__item:hover .numbers-list__item--text,
.team-numbers__item:hover .team-numbers__item--text {
  color: var(--blue);
}

.slider-group-source {
  display: none;
}

.services-slider .slider-group-slide {
  display: grid;
  gap: 20px;
  height: fit-content !important;
}

.services-slider.services-inner-slider .slider-group-slide {
  gap: 10px;
}

.services-item {
  display: block;
  background-color: #fff;
  padding: 15px 12px 24px 18px;
  border-radius: 10px;
  position: relative;
  transition: background-color 0.3s;
}

.services-item:after {
  content: "";
  width: 26px;
  height: 26px;
  color: #9F9E9A;
  background-image: var(--arrow-target-gray);
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #9F9E9A;
  border-radius: 5px;
  display: inline-block;
  position: absolute;
  top: 14px;
  right: 14px;
  transition: background-image 0.3s, border-color 0.3s;
  position: absolute;
}

.services-item.services-inner-item {
  padding: 24px;
}

.services-item.services-inner-item::after {
  display: none;
}

.services-item.services-inner-item .services-item__title {
  margin-bottom: 0;
  margin-top: 12px;
  position: relative;
  padding-right: 30px;
}

.services-item.services-inner-item .services-item__title::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 0;
  width: 26px;
  height: 26px;
  background-image: var(--arrow-target-blue);
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--blue);
  border-radius: 5px;
  transition: background-image 0.3s, border-color 0.3s;
}

.services-item.services-inner-item:hover .services-item__title::after {
  background-image: var(--arrow-target-white);
  border-color: #fff;
  background-color: #FD9366;
  opacity: 1;
}

.services-item:hover {
  background-color: var(--orange);
}

.services-item:hover .services-item__title,
.services-item:hover .services-item__text {
  color: #fff;
}

.services-item:hover::after {
  background-image: var(--arrow-target-white);
  border-color: #fff;
  background-color: #FD9366;
}

.services-item:hover .services-item__text::before {
  opacity: 1;
  filter: invert(1);
}

.services-item:hover .services-item__icon img {
  filter: invert(1);
}

.services-item:hover .services-item__lable {
  background-color: #FD9366;
  border-color: #fff;
  color: #fff;
}

.services-item:hover .services-item__lable:before {
  background-image: url(img/percents-white.svg);
}

.services-item__icon {
  width: 48px;
  height: 48px;
}

.services-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.3s;
}

.services-item__title {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 0.9em;
  margin-top: 10px;
  transition: color 0.4s;
}

.services-item__text {
  color: #707070;
  line-height: 1.1em;
  padding-left: 26px;
  position: relative;
  transition: color 0.4s;
  font-size: 16px;
}

.services-item__text:before {
  content: "";
  opacity: 0.5;
  width: 16px;
  height: 14px;
  background: url(img/arrow-left.svg) center center no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 4px;
  transition: background-image 0.4s;
}

.services-item__lable {
  width: 100px;
  height: 26px;
  background-color: var(--bg-color);
  font-size: 14px;
  color: var(--blue);
  border-radius: 4px;
  border: 1px solid transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  position: absolute;
  top: 14px;
  right: 48px;
  transition: 0.4s;
}

.services-item__lable:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url(img/percents.svg) center center no-repeat;
  background-size: contain;
  margin-right: 6px;
  transition: background-image 0.4s;
}

.team-numbers__item {
  border: 1px solid var(--blue);
  border-radius: 10px;
}

.team-numbers__item--number {
  background-color: var(--bg-color);
  color: var(--blue);
}

.team-numbers__item--text {
  color: #6e6e6e;
}

.team-slider {
  margin-top: 20px;
}

.see-more-button {
  display: block;
  background-color: #fff;
  border-radius: 12px;
  font-weight: 600;
  padding: 15px 25px;
  margin-top: 20px;
  transition: 0.4s;
  position: relative;
  cursor: pointer;
}

.see-more-button::after {
  content: "";
  width: 16px;
  height: 14px;
  opacity: 0.7;
  background: url(img/arrow-left.svg) center center no-repeat;
  background-size: contain;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.see-more-button:hover {
  background-color: var(--orange);
  color: #fff;
}

.see-more-button:hover::after {
  filter: invert(1);
  opacity: 1;
}

.doctor-card {
  display: flex;
  justify-content: center;
}

.doctor-card__wrapper {
  background: #fff url(img/assistant-card-bg.jpg) center center no-repeat;
  background-size: cover;
  width: 100%;
  max-width: 380px;
  height: 510px;
  border-radius: 12px;
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.doctor-card__photo {
  position: absolute;
  right: 0;
  bottom: 0;
  object-fit: contain;
  object-position: right;
}

.doctors-grid__item .doctor-card__photo,
.team-slider__item .doctor-card__photo {
  width: 250px;
  height: 370px;
}

.assistants-grid__item .doctor-card__photo {
  width: 330px;
  height: 400px;
}

.doctor-card__bottom,
.doctor-card__top {
  position: relative;
}

.doctor-card__top {
  flex-grow: 1;
}

.doctor-card__rating {
  font-size: 12px;
  color: #1F3462;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.doctor-card__rating .stars {
  display: inline-block;
  width: 96px;
  height: 16px;
  background: url(img/stars.svg) center center no-repeat;
  background-size: contain;
}

.doctor-card__name {
  font-weight: 600;
  font-size: clamp(28px, 19.95px + 1.04vw, 32px);
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.doctor-card__profile {
  color: var(--half-text-color);
  font-size: 16px;
  letter-spacing: -0.025em;
  line-height: 1;
  width: 60%;
}

.doctor-video-btn {
  width: 196px;
  height: 38px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #fff;
  background-color: var(--blue);
  border: 1px solid transparent;
  border-radius: 6px;
  transition: 0.4s;
}

.doctor-video-btn .play {
  width: 23px;
  height: 23px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s;
}

.doctor-video-btn .play::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 8px;
  margin-left: 3px;
  background-color: var(--blue);
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
  transition: 0.4s;
}

.doctor-video-btn:hover {
  background-color: #fff;
  color: var(--blue);
  border-color: var(--blue);
}

.doctor-video-btn:hover .play {
  background-color: var(--orange);
}

.doctor-video-btn:hover .play::after {
  background-color: #fff;
}

.doctor-experience-badge {
  background-color: #fff;
  color: var(--blue);
  font-size: 14px;
  padding: 12px;
  border-radius: 6px;
  width: 120px;
  line-height: 1;
  text-align: center;
}

.doctor-experience-badge .bold {
  font-weight: 700;
}

.doctor-card__experience {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}

.doctor-card__link {
  margin-top: 60px;
  padding: 15px 10px 15px 15px;
}

#doctors .section-title,
#assistants .section-title,
#managers .section-title {
  text-align: center;
}

.doctors-grid,
.assistants-grid,
.managers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 10px;
}

.assistans-slider {
  overflow: hidden;
}

.main-doctor-card .doctor-card__name {
  color: var(--blue);
  font-size: 32px;
}

.assistants-grid__item .doctor-experience-badge {
  margin-top: 15px;
}

.assistants-grid__item .doctor-card__name {
  margin-top: 0;
}

.assistants-grid__item--text {
  font-size: 12px;
  font-style: italic;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 14px 10px;
  color: #646464;
  line-height: 1.15em;
  min-height: 160px;
  display: flex;
  align-items: center;
}

.managers-grid__item .assistants-grid__item--experience {
  width: fit-content;
  position: relative;
  margin-bottom: 8px;
}

.rating-slider__item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  padding: 5px;
  position: relative;
  margin-bottom: 15px;
}

.rating-slider__item:last-child {
  margin-bottom: 0;
}

.rating-slider__item:before {
  content: "";
  display: block;
}

.rating-slider__item img {
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.rating-slider__item.widget::before{
    display: none;
}

.about-clinic__text {
  color: #272626;
  border-radius: 10px;
  background-color: #fff;
  background-image: url(img/about-bg.svg);
  background-repeat: no-repeat;
  background-position: 104% 10%;
  padding: 25px 4%;
}

.about-clinic__text p {
  margin-bottom: 1.2em;
  line-height: 1.4em;
}

.about-clinic__text p:last-child {
  margin-bottom: 0;
}

.about-slinic__slider-container {
  position: relative;
  min-width: 0;
  margin-top: 20px;
}

.about-slinic__slider-container .slider-arrows {
  width: 100%;
  justify-content: center;
  top: auto;
  bottom: -50px;
}

.about-clinic__slider {
  position: sticky;
  top: 50px;
}

.about-clinic__slide {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.about-clinic__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/0.84;
}

#about-clinic {
  margin-bottom: 46px;
}

.licenses-block {
  display: flex;
  background-color: #f4f4f4;
  border-radius: 12px;
  position: relative;
  overflow-x: clip;
  flex-wrap: wrap;
}

.licenses-block::after {
  content: "";
  background-image: url(img/licenses-bg.svg);
  background-repeat: no-repeat;
  height: 100%;
  width: 34.5%;
  position: absolute;
  z-index: 0;
  background-size: 90%;
  top: 0;
  left: 33%;
  z-index: 0;
}

.licenses-block__text {
  flex: 0 0 50%;
  padding-right: 3%;
  padding: 44px 20px 44px 44px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.licenses-block__text .section-title {
  margin-bottom: 0.4em;
}

.licenses-block__text p {
  max-width: 360px;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.licenses-block__btn {
  display: block;
  width: 100%;
  max-width: 340px;
  margin-top: clamp(30px, 4.3vw, 50px);
  position: relative;
  z-index: 1;
}

.licenses-block > .licenses-block__btn {
  display: none;
}

.licenses-block__screens {
  flex: 0 0 50%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  padding: 24px 44px 24px 20px;
  position: relative;
  z-index: 1;
}

.screen-item {
  background-color: #EBEBEB;
  border-radius: 4px;
  padding: 3px;
  width: 210px;
  height: 320px;
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.screen-item:hover::before {
  opacity: 0;
}

.screen-item:hover::after {
  background: #fff url(img/zoom-in-blue.svg) center center no-repeat;
  border-color: var(--blue);
}

.screen-item:nth-child(1) {
  margin-right: 8%;
}

.screen-item::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 0;
  bottom: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  background-color: rgba(0, 0, 0, 0.0006);
  backdrop-filter: blur(2px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 40%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 26%, black 100%);
  transition: opacity 0.3s;
}

.screen-item::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 7.5px;
  border: 1px solid transparent;
  background: var(--blue) url(img/zoom-in.svg) center center no-repeat;
  background-size: 50% 50%;
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s;
}

.screen-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.hello-block {
  position: relative;
}

.hello-block__wrapper {
  padding-bottom: 20px;
}

.hello-block__title {
  padding: 10px 26px;
  background-color: #fff;
  border-radius: 20px 20px 0 20px;
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 20px;
  max-width: 400px;
}

.hello-block__content {
  display: flex;
  justify-content: space-between;
}

.hello-block__content--main {
  background-color: #fff;
  border-radius: 10px;
  padding: 22px 14% 28px 22px;
  color: #545454;
  line-height: 1.195em;
  max-width: 660px;
}

.hello-block__content--main p {
  margin-bottom: 1.2em;
}

.hello-block__content--main p:last-child {
  margin-bottom: 0;
}

.hello-block__photo {
  position: absolute;
  height: calc(100% - 20px);
  top: 20px;
  bottom: 0;
  width: 34%;
  right: 24%;
  z-index: 1;
}

.hello-block__photo .hello-block__name,
.hello-block__photo .hello-block__btn {
  display: none;
}

.hello-block__photo--wrapper {
  width: 100%;
  height: 100%;
  max-height: inherit;
  overflow: hidden;
}

.hello-block__content--sidebar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  width: 32%;
  z-index: 2;
}

.hello-block__name {
  max-width: 380px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.66);
  padding: 16px 24px;
  backdrop-filter: blur(8px);
}

.hello-block__name .name {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 0.5em;
}

.hello-block__name .profile {
  color: var(--half-text-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3em;
}

.hello-block__btn {
  width: 320px;
  background-color: var(--blue);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 12px 28px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-align: left;
  position: absolute;
  top: 0;
  right: 0;
  transition: 0.4s;
}

.service-promo__image--video:hover .hello-block__btn,
.hello-block__btn:hover {
  background-color: #fff;
  border-color: var(--blue);
  color: var(--blue);
}

.service-promo__image--video:hover .hello-block__btn .play,
.hello-block__btn:hover .play {
  background-color: #fff;
  border-color: var(--blue);
}

.hello-block__btn .play {
  width: 78px;
  height: 78px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(14, 69, 117, 0.5);
  border-radius: 50%;
  border: 1px solid #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 36px;
  backdrop-filter: blur(8px);
  transition: 0.4s;
}

.hello-block__btn .play svg {
  width: 23px;
  height: 26px;
}

.hello-howto {
  border-radius: 10px;
  background-color: var(--blue);
  color: #fff;
  padding: 22px 28px;
}

.hello-howto__title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 0.8em;
}

.hello-howto__text {
  line-height: 1.4em;
}

.hello-howto__text p {
  margin-bottom: 0.85em;
}

.hello-howto__text p:last-child {
  margin-bottom: 0;
}

.map-wrapper {
  position: relative;
  height: 420px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
}

#map-container {
  height: inherit;
  filter: grayscale(1);
}

#map-container > div {
  height: 100%;
}

#map-container iframe {
  height: 100%;
}

.map-buttons {
  border-radius: 12px;
  background-color: rgba(231, 237, 242, 0.74);
  padding: 10px;
  display: grid;
  gap: 9px;
  width: 264px;
  position: absolute;
  left: 40px;
  bottom: 40px;
  backdrop-filter: blur(4px);
}

.map-buttons__item {
  height: 64px;
  border-radius: 10px;
  background-color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  color: #707070;
  display: flex;
  align-items: center;
  transition: background-color 0.3s;
}

.map-buttons__item:hover {
  color: #363737;
}

.map-buttons__item:hover .map-button-icon {
  color: var(--blue);
}

.map-buttons__item:hover .map-button-icon.taxi-default {
  opacity: 0;
  display: none;
}

.map-buttons__item:hover .map-button-icon.taxi-hover {
  opacity: 1;
  display: block;
}

.map-button-icon {
  width: 30px;
  height: 30px;
  display: block;
  margin-right: 10px;
  color: #87A2BA;
}

.map-button-icon.taxi-hover {
  opacity: 0;
  display: none;
}

.blog-slider__item {
  height: auto !important;
}

.blog-slider__item:hover .blog-item__title {
  color: var(--orange);
}

.blog-item__wrapper {
  height: 100%;
  background-color: #fff;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-rows: auto 1fr;
}

.blog-item__image {
  display: block;
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 2/1.2;
  object-fit: cover;
  max-height: 238px;
  margin-bottom: 12px;
}

.blog-item__summary {
  display: grid;
  grid-template-rows: 1fr auto;
}

.blog-item__title {
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 15px;
  transition: color 0.4s;
}

.blog-item__text {
  color: var(--half-text-color);
  line-height: 1.4em;
  font-size: 15px;
  margin-bottom: 15px;
}

.blog-item__date {
  color: rgba(14, 69, 117, 0.4);
  font-size: 14px;
}

.blog-item__date::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background: url(img/calendarweek.svg) center center no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-right: 8px;
}

.section-center-btn {
  display: block;
  max-width: 300px;
  margin: 20px auto 0 auto;
  width: 100%;
}

.promo-slider__item img {
  width: 100%;
  max-width: 560px;
  border-radius: 10px;
}

.reviews-tabs-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.reviews-tab-btn,
.works-tab-btn {
  width: 49%;
  background-color: #fff;
  border-radius: 8px;
  text-align: center;
  padding: 10px;
  text-transform: lowercase;
  transition: background-color 0.4s, color 0.4s;
  font-weight: 500;
}

.reviews-tab-btn.active,
.active.works-tab-btn,
.reviews-tab-btn:hover,
.works-tab-btn:hover {
  color: #fff;
  background-color: var(--orange);
  font-weight: 400;
}

.reviews-tab-panel,
.works-tab-panel {
  display: none;
}

.reviews-tab-panel.active,
.active.works-tab-panel {
  display: block;
}

.review-text__wrapper {
  background-color: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.review-text__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}

.review-text__top__left {
  display: flex;
  flex-direction: column;
}

.review-text__top__left .doctor {
  padding: 10px;
  border-radius: 6px;
  background-color: var(--blue);
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.review-text__top__left .doctor span {
  display: inline-block;
}

.review-text__top__left .rating {
  display: inline-block;
  width: 160px;
  height: 32px;
  background: url(img/stars-2.svg) center center no-repeat;
  background-size: contain;
  margin-top: 16px;
}

.review-text__top--right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.review-tags{
    display: inline-flex;
    display: inline-flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.review-text__top--right .tag {
  display: inline-block;
  padding: 10px;
  border-radius: 6px;
  background-color: var(--bg-color);
  font-size: 14px;
  color: var(--blue);
  /* margin-bottom: 16px; */
  text-align: right;
}

.review-text__top--right .review-link img {
  display: block;
}

.review-text__top--right .review-link.gis {
  border-radius: 6px;
  overflow: hidden;
}

.review-text__body {
  margin-bottom: 30px;
}

.review-text__body.review-text__body--spoiler {
  cursor: pointer;
}

.review-text__body.review-text__body--spoiler::after {
  content: "Читать полностью";
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--orange);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10;
  pointer-events: none;
}

.review-text__body.review-text__body--spoiler:hover::after,
.review-text__body.review-text__body--spoiler:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.review-text__name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0.7em;
}

.review-text__text {
  line-height: 1.4em;
}

.review-text__text .dots {
  margin-left: 5px;
}

.review-text__text .dots::after {
  content: "...";
}

.review-text__text .all-text {
  display: none;
}

.review-text__date {
  color: #A4ACAF;
}

#review-full {
  padding: 30px;
  border-radius: 12px;
  cursor: default;
}

.review-full-text {
  margin-bottom: 20px;
}

.review-full-link {
  color: var(--orange);
  text-decoration: underline;
}

.review-full-link:hover {
  text-decoration: none;
}

.review-video__wrapper {
  max-height: 600px;
  aspect-ratio: 1/1.6;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background-color: #c8c8c8;
  cursor: pointer;
}

.review-video__wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.review-video__wrapper:hover .play {
  background-color: var(--blue);
}

.review-video__wrapper .play {
  width: 78px;
  height: 78px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(14, 69, 117, 0.7);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  transition: background-color 0.4s;
}

.review-video__wrapper .play svg {
  width: 23px;
  height: 26px;
}

.works-tabs-nav {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.works-tab-btn {
  flex: 1 1 fit-content;
  padding-left: 15px;
  padding-right: 15px;
  white-space: normal;
  text-transform: lowercase;
}

.works-slider.has-open-item .swiper-slide {
  align-self: flex-start;
}

.works-slider.has-open-item .swiper-slide.open {
  align-self: stretch;
}

.work-item .hidden-element {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.2s ease-out;
}

.work-item.open .hidden-element {
  opacity: 1;
}

.work-item.open .work-item__prev-text {
  margin-top: 25px;
}

.work-item__wrapper {
  height: 100%;
  background-color: #F4F4F4;
  border-radius: 12px;
  padding: 20px 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.work-item__full-text blockquote {
  font-size: 14px;
  border-radius: 4px;
  padding: 18px 12px;
  margin-top: 15px;
}

.work-item__full-text p {
  margin-bottom: 0.5em;
}

.work-item__full-text ol {
  padding-left: 0;
}

.work-item__photos {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.work-item__photo {
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  width: 48%;
  height: 146px;
}

.work-item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-item__photo::after {
  font-weight: 500;
  background-color: rgba(244, 244, 244, 0.9);
  border-radius: 6px;
  padding: 3px 10px;
  position: absolute;
  left: 10px;
  bottom: 10px;
}

.work-item__photo.work-item__photo--before {
  cursor: pointer;
}

.work-item__photo.work-item__photo--before img {
  filter: blur(4px);
  transform: scale(1.1);
  transition: filter 0.4s;
}

.work-item__photo.work-item__photo--before::before {
  content: "";
  width: 48px;
  height: 48px;
  background: url(img/eyeslash.svg) center center no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.4s;
}

.work-item__photo.work-item__photo--before::after {
  content: "до";
}

.work-item__photo.work-item__photo--before:hover img {
  filter: blur(0);
}

.work-item__photo.work-item__photo--before:hover::before {
  opacity: 0;
}

.work-item__photo.work-item__photo--after::after {
  content: "после";
  background-color: var(--blue);
  color: #fff;
}

.work-item__doctor {
  line-height: 1.2;
  font-weight: 600;
  font-size: 16px;
  color: var(--blue);
  margin-bottom: 20px;
}

.work-item__doctor span {
  font-weight: 400;
  color: var(--half-text-color);
}

.work-item__content .bold,
.work-item__content strong {
  color: var(--text-color);
  font-weight: 500;
}

.work-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-item__tags span {
  display: inline-block;
  letter-spacing: -0.02em;
  font-size: 14px;
  color: var(--blue);
  border-radius: 4px;
  background-color: var(--bg-color);
  padding: 6px 8px;
}

.work-item__description {
  margin-top: 16px;
}

.open .work-item__title .hidden-element {
  display: inline;
}

.work-item__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2em;
  margin-bottom: 0.6em;
  letter-spacing: -0.02em;
}

.work-item__title span {
  color: var(--blue);
}

.work-item__title span.hidden-element {
  color: var(--text-color);
  display: block;
}

.work-item__prev-text {
  color: var(--half-text-color);
  line-height: 1.4em;
  margin-bottom: 20px;
}

.work-item__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
  overflow: hidden;
}

.open .work-item__content {
  grid-template-rows: 1fr;
}

.work-item__content-wrapper {
  min-height: 0;
}

.work-item__intro,
.work-result {
  font-style: italic;
  color: #737373;
  line-height: 1.2;
}

.work-item__intro {
  margin-bottom: 20px;
}

.work-item__intro .hidden-element {
  display: inline-block;
}

.work-item__treatment {
  background-color: #fff;
  border-radius: 6px;
  padding: 20px 18px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.work-item__treatment:first-child {
  margin-top: 0;
}

.work-item__subtitle {
  font-weight: 500;
  color: var(--text-color);
}

.work-item__process-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
  counter-reset: photo;
}

.work-item__process-photos.three-elements {
  grid-template-columns: 1fr 1fr 1fr;
}

.work-process-photo {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  max-height: 180px;
}

.work-process-photo::before {
  content: counter(photo);
  counter-increment: photo;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid #fff;
  background-color: var(--orange);
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.work-process-photo.photo-blur::after {
  content: "";
  width: 48px;
  height: 48px;
  background: url(img/eyeslash.svg) center center no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.4s;
}

.work-process-photo.photo-blur img {
  filter: blur(3px);
  transform: scale(1.1);
  transition: filter 0.4s;
}

.work-process-photo.photo-blur:hover img {
  filter: blur(0);
}

.work-process-photo.photo-blur:hover::after {
  opacity: 0;
}

.work-process-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.work-result {
  margin-top: 20px;
  margin-bottom: 20px;
}

.work-item__button {
  margin-top: 0;
}

.open .see-more-button {
  background-color: var(--orange);
  color: #fff;
}

.open .see-more-button::after {
  filter: invert(1);
  opacity: 1;
}

.budget-care-link {
  border-radius: 10px;
  background-color: #fff;
  padding: 36px 20px;
  display: block;
  position: relative;
  font-size: 16px;
  background-repeat: no-repeat;
  background-color: #fff;
  background-size: contain;
  background-position: right bottom;
  transition: box-shadow 0.3s;
}

.budget-care-link.warranty {
  background-image: url(img/warranty-bg-mobile.png);
  display: flex;
  align-items: center;
}

.budget-care-link._no-arrow::after {
  display: none;
}

.budget-care-link::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  position: absolute;
  border-radius: 5px;
  border: 1px solid var(--blue);
  right: 15px;
  top: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 13.5L13.5 2.5' stroke='%230E4575' stroke-width='1.5'/%3E%3Cpath d='M3.59961 2.5L14.5996 2.5' stroke='%230E4575' stroke-width='1.5'/%3E%3Cpath d='M13.8496 12.75L13.8496 1.75' stroke='%230E4575' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.4s;
}

.budget-care-link:hover {
  box-shadow: 0 0 9px rgba(0, 0, 0, 0.17);
}

.budget-care-link .title {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0.5em;
  max-width: 300px;
}

.budget-care-link .title span {
  color: var(--blue);
}

.budget-care-link .text {
  color: var(--half-text-color);
  line-height: 1.2em;
  max-width: 280px;
  margin-bottom: 30px;
}

.budget-care-link.taxes {
  background-color: var(--blue);
  color: #fff;
  background-image: url(img/taxes-bg-planshet.png);
}

.budget-care-link.taxes .text {
  color: #b3c7d8;
  width: 210px;
}

.budget-care-link.taxes::after {
  border-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 13.5L13.5 2.5' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M3.59961 2.5L14.5996 2.5' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M13.8496 12.75L13.8496 1.75' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
}

.budget-care-link.split {
  background-image: url(img/split-bg-planshet.png);
}

.request-content {
  border-radius: clamp(12px, 2.06vw, 24px);
  position: relative;
  padding: clamp(20px, 3.87vw, 50px) clamp(12px, 3.87vw, 50px);
  display: flex;
  justify-content: space-between;
  background: #f4f4f4 url(img/request-form-bg.png) 45% 50% no-repeat;
  background-size: contain;
  overflow: clip;
}

.request-content__photo {
  position: absolute;
  left: 19%;
  width: 40%;
  overflow: hidden;
  z-index: 1;
}

.request-content__photo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: bottom;
}

.request-content__form {
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.request-content__text {
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;
}

.request-text__text {
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 2.6em;
  font-size: 15px;
}

.request-text__text p {
  margin-bottom: 0.6em;
}

.request-text__text p:last-child {
  margin-bottom: 0;
}

.request-text__under {
  font-size: 12px;
}

.request-text__under span {
  font-weight: 600;
}

:root {
  --pd-side: 30px;
}

.howto-tabs-container {
  background-color: #fff;
  border-radius: 10px;
  padding-top: var(--pd-side);
  padding-bottom: var(--pd-side);
}

.howto-tabslist {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  padding-left: var(--pd-side);
  padding-right: var(--pd-side);
}

.howto-tab {
  flex: 1 1 143px;
  font-size: 20px;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 6px;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
  color: rgba(14, 69, 117, 0.5);
  background-color: var(--bg-color);
  transition: background-color 0.3s, color 0.3s;
}

.howto-tab.active,
.howto-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
  background-color: transparent;
}

.tabpanel--hidden {
  display: none;
}

.howto-tabpanel__content--common {
  padding-left: var(--pd-side);
  padding-right: var(--pd-side);
  display: flex;
  justify-content: space-between;
}

.howto-tabpanel__content--first-panel {
  padding-left: var(--pd-side);
}

.howto-tabpanel__content--first-panel .howto-tabpanel__title {
  padding-right: var(--pd-side);
}

.howto-tabpanel__content--first-panel .howto-tabpanel__content {
  display: block;
}

.howto-tabpanel__content--first-panel .howto-tabpanel__text {
  padding-right: 0;
  padding-right: var(--pd-side);
  display: flex;
  justify-content: space-between;
}

.howto-tabpanel__content--first-panel .howto-tabpanel__text .left-part {
  width: 58%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
}

.howto-tabpanel__content--first-panel .howto-tabpanel__text .left-part > p {
  font-weight: 500;
  flex-grow: 1;
  color: var(--text-color);
}

.howto-tabpanel__content--first-panel .howto-tabpanel__text .right-part {
  width: 40%;
}

.howto-tabpanel__text {
  flex: 0 0 60%;
  padding-right: 24px;
}

.howto-tabpanel__title {
  font-size: 28px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 30px;
  line-height: 1em;
}

.howto-tabpanel__text--text {
  font-weight: 500;
}

.howto-tabpanel__text--text p {
  color: var(--text-color);
  margin-bottom: 0.3em;
}

.howto-tabpanel__image {
  border-radius: 6px;
  overflow: hidden;
  flex: 0 0 40%;
  max-width: 370px;
  padding-top: 6px;
}

.howto-tabpanel__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.howto-tabpanel__caption {
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 12px;
  color: rgba(14, 69, 117, 0.5);
  background-color: var(--bg-color);
  transition: background-color 0.3s, color 0.3s;
  margin-left: var(--pd-side);
  margin-right: var(--pd-side);
  position: relative;
  display: none;
}

.howto-tabpanel__caption::before,
.howto-tabpanel__caption::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  width: 20px;
  height: 20px;
}

.howto-tabpanel__caption::after {
  border-radius: 3px;
  border: 1px solid transparent;
  background-color: #fff;
}

.howto-tabpanel__caption::before {
  background: url(img/plus.svg) center center no-repeat;
  z-index: 1;
  transition: transform 0.3s;
}

.howto-tabpanel__caption.active {
  border-color: var(--blue);
  color: var(--blue);
  background-color: transparent;
}

.howto-tabpanel__caption.active::after {
  border-color: var(--blue);
}

.howto-tabpanel__caption.active::before {
  transform: translateY(-50%) rotate(45deg);
}

.howto-ways {
  background-color: var(--bg-color);
  border-radius: 6px;
  padding: 30px 5%;
  margin-top: 20px;
  display: grid;
  align-items: flex-start;
  grid-template-columns: repeat(3, 1fr);
  gap: 6%;
}

.howto-ways .socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.howto-ways .socials__item {
  background-color: transparent;
}

.howto-ways .socials__item:hover {
  background-color: var(--blue);
}

.howto-ways__item {
  position: relative;
}

.howto-ways__item .icon {
  margin-bottom: 15px;
  height: 30px;
}

.howto-ways__item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  display: inline-block;
  position: absolute;
  right: 0;
  top: 45px;
  transform: rotate(45deg);
}

.howto-ways__item:last-child::after {
  display: none;
}

.howto-ways__text {
  font-size: 15px;
}

.howto-ways__text .caption {
  display: block;
  color: var(--blue);
  font-weight: 600;
}

.howto-ways__text p {
  color: var(--half-text-color) !important;
}

.inner-offer-banner {
  margin-bottom: 60px;
  margin-top: 0;
}

.crumbs {
  font-size: 16px;
  line-height: 2em;
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
}

.crumbs li {
  display: inline-block;
  color: var(--orange);
  transition: color 0.3s;
}

.crumbs li:not(.current):hover {
  color: var(--text-color);
}

.crumbs li::before {
  content: "/";
  display: inherit;
  margin-left: 5px;
  margin-right: 3px;
  color: var(--orange);
}

.crumbs li:first-child::before {
  display: none;
}

.crumbs li.current {
  color: var(--text-color);
}

.crumbs li.current::before {
  color: var(--text-color);
}

.scroll-navigation {
  padding-left: 30px;
  padding-right: 30px;
}

.scroll-navigation.is-locked {
  padding-left: 0;
  padding-right: 0;
}

.scroll-navigation__arrow {
  position: absolute;
  top: 0;
  height: 100%;
  width: 30px;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  z-index: 2;
  cursor: pointer;
}

.scroll-navigation__arrow.scroll-navigation__prev {
  left: 0;
}

.scroll-navigation__arrow.scroll-navigation__next {
  right: 0;
  transform: scale(-1, -1);
}

.scroll-navigation__item {
  width: auto;
}

.page-anchors {
  padding-bottom: 10px;
  padding-top: 10px;
  margin-bottom: 20px;
  margin-top: -10px;
  position: sticky;
  top: 0;
  z-index: 8;
  background: var(--bg-color);
  transition: top 0.3s ease-out;
}

.page-anchors.fixed {
  top: var(--header-height);
}

.page-anchors__toggle-btn {
  display: none;
}

.page-anchors__list {
  display: flex;
  gap: 8px;
}

.page-anchors__item {
  flex-grow: 1;
  min-width: fit-content;
}

.page-anchors__link {
  display: inline-block;
  font-weight: 500;
  background-color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
  width: 100%;
  text-align: center;
}

.page-anchors__link.active,
.page-anchors__link:hover {
  background-color: var(--orange);
  color: #fff;
}

.accordion__item {
  background-color: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
}

.accordion__item:last-child {
  margin-bottom: 0;
}

.accordion__title:focus-visible,
.accordion-inner__title:focus-visible {
  outline: 2px dashed var(--blue);
  border-radius: 12px;
}

.accordion__title {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  cursor: pointer;
  position: relative;
  padding: 1em 3.5em 1em 1em;
  transition: color 0.3s;
}

.accordion__title:hover {
  color: var(--blue);
}

.accordion__title--icon {
  display: inline-block;
  width: 38px;
  height: 38px;
  background-color: #f4f4f4;
  border-radius: 8px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion__title--icon::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url(img/plus-faq.svg) center center no-repeat;
  background-size: contain;
  transition: transform 0.3s;
}

.accordion__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
  overflow: hidden;
}

.is-active .accordion__content {
  grid-template-rows: 1fr;
}

.is-active .accordion__title .accordion__title--icon::before {
  transform: rotate(45deg);
}

.accordion__content--inner {
  min-height: 0;
}

.accordion__text {
  padding: 0 24px 24px 24px;
}

.accordion__text ul li,
.accordion__text ol li {
  font-size: 14px;
}

.about-service-block {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.3fr;
  gap: 20px 4%;
  grid-template-areas: "title video" "steps video";
}

.about-service-block__top {
  grid-area: title;
}

.service-steps {
  grid-area: steps;
}

.about-service-block__video {
  grid-area: video;
}

.about-service-block__video .phone-video {
  max-width: 215px;
  max-height: 444px;
}

.about-service-block__top {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 5%;
}

.about-service-block__undertitle {
  font-weight: 500;
  line-height: 1.2em;
  color: var(--half-text-color);
}

.service-steps {
  background-color: #fff;
  border-radius: 10px;
  padding: clamp(22px, 2.75vw, 26px) clamp(18px, 4.14vw, 44px);
}

.service-steps__item {
  margin-bottom: 30px;
}

.service-steps__item:last-child {
  margin-bottom: 0;
}

.service-steps__title {
  color: var(--text-color);
  font-weight: 600;
  line-height: 1.15em;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: -0.01em;
  margin-bottom: 0.6em;
}

.phone-video {
  position: relative;
  height: 100%;
  width: 100%;
  cursor: pointer;
}

.phone-video img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: contain;
  object-position: bottom;
}

.phone-video:hover .phone-video__play-btn {
  background-color: var(--blue);
}

.phone-video__overlay {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}

.phone-video__wrapper {
  position: absolute;
  top: 2%;
  left: 5%;
  width: 91%;
  height: 97%;
  z-index: 2;
  overflow: hidden;
  border-radius: 12.5%/6.5%;
  background-color: var(--text-color);
}

.phone-video__wrapper iframe {
  width: 100%;
  height: 100%;
}

.phone-video__media {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  object-fit: cover;
}

.phone-video__play-btn {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(14, 69, 117, 0.7);
  border-radius: 50%;
  position: absolute;
  bottom: 35%;
  transform: translate(-50%, 50%);
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  transition: background-color 0.4s, opacity 0.4s;
  pointer-events: none;
  z-index: 3;
  backdrop-filter: blur(3px);
}

.phone-video__play-btn svg {
  width: 18px;
  height: 22px;
}

.phone-video__play-btn.is-hidden {
  opacity: 0;
}

.prices-section {
  position: relative;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 15px;
}

.prices-grid {
  display: grid;
  grid-template-columns: 1fr 286px;
  gap: 15px;
  position: relative;
  padding-bottom: 80px;
}

.prices-grid__aside-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.prices-grid__aside-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.4s;
}

.prices-grid__aside-link:hover {
  box-shadow: 0 0 9px rgba(0, 0, 0, 0.17);
}

.prices-grid__aside-link img {
  display: block;
  width: 100%;
}

.prices-grid__prices-block {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
}

.prices-grid__prices-block:last-child {
  margin-bottom: 0;
}

.prices-grid__prices-title {
  padding: 16px 16px 0 16px;
  color: var(--blue);
  font-weight: 600;
  font-size: 20px;
}

.prices-grid__prices-inner-block .prices-list {
  padding: 8px 0 0 0 !important;
}
.prices-grid__prices-inner-block{
    padding: 0 16px 16px 16px;
}
.prices-grid__prices-inner-block:first-child{
    padding-top: 16px;
}

.prices-grid__prices-inner-title {
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--blue);
  background-color: var(--bg-color);
  border-radius: 6px;
  padding: 8px;
 /*  margin-top: 10px; */
}

.prices-button {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.prices-table-stripted {
  position: relative;
}

.prices-table-stripted .prices-list {
  background-color: #fff;
  border-radius: 8px;
  padding: 16px;
}

.prices-table-stripted .prices-list .prices-item {
  font-size: 14px;
  padding: 10px 12px;
  line-height: normal;
  margin-bottom: 0;
  grid-template-columns: auto 100px;
  gap: 10px;
}

.prices-table-stripted .prices-list .prices-item:nth-child(even) {
  background-color: #efefef;
}

.prices-table-stripted .prices-list .prices-item__price {
  font-weight: 400;
}

.prices-table-buttons {
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.prices-table-buttons .btn {
  flex: 1;
  margin: 20px 0 0;
}

.prices-list {
  border-radius: 10px;
  background-color: #F4F4F4;
  padding: 45px 40px;
  height: 100%;
}

.prices-item {
  line-height: 1;
  display: grid;
  grid-template-columns: auto 110px;
  gap: 30px;
  align-items: center;
  margin-bottom: 24px;
}

.prices-item:last-child {
  margin-bottom: 0;
}

.prices-item__text .bold {
  font-weight: 600;
}

.prices-item__title {
  font-weight: 600;
}

.prices-item__price {
  font-weight: 600;
  text-align: right;
}

.prices-item__price .old-price {
  display: block;
  color: #737373;
  text-decoration: line-through;
}

.budget-inner-block {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
}

.budget-inner-block__item {
  background-color: #fff;
  border-radius: 10px;
  padding: 28px 22px;
  transition: box-shadow 0.3s;
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: 100%;
  position: relative;
}

.budget-inner-block__item:hover {
  box-shadow: 0 0 9px rgba(0, 0, 0, 0.17);
}

.budget-inner-block__item .decription .title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1em;
  margin-bottom: 14px;
  width: 90%;
}

.budget-inner-block__item .decription .title::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  position: absolute;
  border-radius: 5px;
  border: 1px solid var(--blue);
  right: 18px;
  top: 20px;
  background-image: var(--arrow-target-blue);
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.4s;
}

.budget-inner-block__item .decription .text {
  font-size: 16px;
  color: var(--half-text-color);
  max-width: 250px;
}

.budget-inner-block__item.taxes {
  background-image: url(img/inner-taxes-desctop-bg.jpg);
}

.budget-inner-block__item.split {
  background-image: url(img/inner-split-desctop-bg.jpg);
}

.collapsible-content {
  position: relative;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.collapsible-content.collapse::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(to bottom, rgba(244, 244, 244, 0), rgb(244, 244, 244));
  pointer-events: none;
}

.collapsible-content.is-expanded {
  max-height: max-content;
}

.collapsible-content.is-expanded::after {
  display: none;
}

.implantation-steps-slider__item--wrapper {
  background-color: #f4f4f4;
  border-radius: 12px;
  padding: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.implantation-steps-slider__item--image {
  height: 156px;
  border-radius: 10px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.implantation-steps-slider__item--image::before {
  counter-reset: item var(--item);
  content: counter(item);
  font-weight: 900;
  font-size: 128px;
  color: rgba(255, 255, 255, 0.51);
  line-height: 1.2em;
  position: absolute;
  top: 0;
  left: 26px;
  z-index: 1;
}

.implantation-steps-slider__item--image.no-image{
    background-color: var(--bg-color);
}
.implantation-steps-slider__item--image.no-image::before{
    color: var(--blue);
}

.implantation-steps-slider__item--text {
  display: flex;
  flex-direction: column;
}

.implantation-steps-slider__item--text .see-more-button {
  display: none;
}

.implantation-steps-slider__item--text.is-collapsed .implantation-steps-slider__item--description {
  max-height: 100px;
}

.implantation-steps-slider__item--text.is-collapsed .implantation-steps-slider__item--description::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(244, 244, 244, 0), rgb(244, 244, 244));
  pointer-events: none;
}

.implantation-steps-slider__item--text.is-collapsed .see-more-button {
  display: block;
}

.implantation-steps-slider__item--text.open .implantation-steps-slider__item--description {
  max-height: 600px;
}

.implantation-steps-slider__item--text.open .implantation-steps-slider__item--description::after {
  display: none;
}

.implantation-steps-slider__item--text.open .see-more-button {
  display: block;
}

.implantation-steps-slider__item--title {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2em;
  margin-bottom: 0.6em;
  flex-grow: 1;
}

.implantation-steps-slider__item--description {
  position: relative;
  overflow: hidden;
  line-height: 1.2;
  transition: max-height 0.4s ease-in-out;
}

.implantation-steps-slider__item--description ul li,
.implantation-steps-slider__item--description ol li {
  margin-bottom: 0.4em;
}

.implantation-steps-slider__item--description ul:first-child,
.implantation-steps-slider__item--description ol:first-child {
  margin-top: 0;
}

.implantation-steps-slider__wrapper.has-open-items {
  align-items: flex-start;
}

.page-text-block {
  background-color: #fff;
  border-radius: 12px;
  padding: clamp(20px, 3.27vw, 38px) clamp(10px, 3.79vw, 44px);
}

.page-text-block .text-element {
  line-height: 1.4;
}

.page-text-block p {
  margin-bottom: 0.9em;
}

.page-text-block p:last-child {
  margin-bottom: 0;
}

.page-text-block__title {
  margin-bottom: 0.9em;
  max-width: 960px;
}

.page-text-block__content--text:not(:empty) {
  margin-top: 2em;
}
.page-text-block__content--text:first-child{
  margin-top: 0;
}

.page-text-block__content--image {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4%;
}

.page-text-block__content--image.left-image {
  grid-template-columns: 1fr 1.4fr;
}

.page-text-block__content--image.left-image .image {
  order: -1;
}

.page-text-block__content--image .text {
  font-size: 16px;
}

.page-text-block__content--image .image {
  border-radius: 12px;
  overflow: hidden;
  max-width: 460px;
  /*max-height: 400px;*/
  position: relative;
  min-height: 0;
}

.page-text-block__content--image .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-content-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 4%;
  margin-top: 36px;
  margin-bottom: 36px;
}
.page-content-gallery:last-child{
    margin-bottom: 0;
}

.page-content-gallery__item {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 2/1.15;
}

.page-content-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paging{
    margin-top: 40px;
}

.pagination{
  display: flex;
  justify-content: center;
  gap: 6px;
}
.pagination:not(:empty){
  margin-top: 20px;
}
.page-link{
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid transparent;
  font-size: 16px;
  height: 32px;
  min-width: 32px;
  padding-left: 11px;
  padding-right: 11px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--half-text-color);
  transition: background-color 0.3s, color 0.3s;
}
.active .page-link, .page-link:hover{
  border-color: var(--orange);
  color: var(--orange);
}
.page-link.next-page,.page-link.prev-page {
  background-color: rgba(255,255,255,0.5);
  color: #aaaaaa;
}
.page-link.next-page::after,.page-link.prev-page::after{
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
}
.page-link.next-page::after{
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  margin-right: 2px;
}
.page-link.prev-page::after{
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  margin-left: 2px;
}
.page-link.next-page:hover,.page-link.prev-page:hover {
  background-color: var(--orange);
  color: #fff;
}
.page-item.disabled{
  cursor: not-allowed;
  opacity: 0.7;
}
.page-item.disabled .page-link{
  pointer-events: none;
}

.no-results-message{
  color: #FF4444;
  padding: 30px 0;
  text-align: center;
  width: 100%;
}

@media (max-width: 991.98px){
    .page-content-gallery {
        gap: 20px;
        margin-top: 20px;
      }
}
@media (max-width: 767.98px) {
  .page-content-gallery__item {
    aspect-ratio: 1/1;
  }

  .page-content-gallery {
    gap: 20px 10px;
  }
}
@media (max-width: 576px) {
  .page-content-gallery {
    grid-template-columns: 1fr;
  }

  .page-content-gallery__item {
    aspect-ratio: 2/1.1;
  }
}

.tooth-infoblock {
  display: flex;
  /*margin-bottom: 60px;*/
  margin-top: 50px;
}

.tooth-infoblock__media {
  flex: 0 0 35%;
  text-align: center;
  position: relative;
}

.tooth-infoblock__media img {
  height: 100%;
  object-fit: cover;
}

.tooth-infoblock__media .pointer-line {
  position: absolute;
  height: 1px;
  background-color: #cbd5e1;
}

.tooth-infoblock__content {
  flex: 0 0 65%;
}

.tooth-infoblock__card {
  background-color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 18px;
  position: relative;
}

.tooth-infoblock__card::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: #D1DCE5;
  display: block;
  transition: background-color 0.3s, border-color 0.3s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -22%;
}

.tooth-infoblock__card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -18%;
  transform: translateY(-50%);
  height: 2px;
  width: 100%;
  z-index: -1;
  background-color: #fff;
  transition: background-color 0.3s;
}

.tooth-infoblock__card:last-child {
  margin-bottom: 0;
}

.tooth-infoblock__card:hover {
  background-color: var(--blue);
}

.tooth-infoblock__card:hover .tooth-infoblock__card--title {
  color: #fff;
}

.tooth-infoblock__card:hover .tooth-infoblock__card--title .subtext {
  color: #e2e2e2;
}

.tooth-infoblock__card:hover .tooth-infoblock__card--text {
  color: #baccdc;
}

.tooth-infoblock__card:hover::before {
  background-color: #86A1B9;
  border-color: #456F93;
}

.tooth-infoblock__card:hover::after {
  background-color: #86A1B9;
}

.tooth-infoblock__card--title {
  font-size: 24px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.tooth-infoblock__card--title .subtext {
  font-weight: 400;
  color: #A8A8A8;
}

.tooth-infoblock__card--text {
  color: var(--half-text-color);
  line-height: 1.3;
  transition: color 0.3s;
}

.tooth-infoblock__card--text .bold {
  font-weight: 600;
}

.tooth-infoblock__card--close {
  display: none;
}

@keyframes dot-pulse {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(-50%) scale(5);
    opacity: 0;
  }
}

.inplantation-types {
  display: flex;
}

.inplantation-types__items {
  flex: 0 0 64%;
  padding-right: 16px;
}

.inplantation-types__preview {
  flex: 0 0 36%;
}

.inplantation-types__preview-content {
  display: none;
}

.inplantation-types__preview-content.active {
  display: block;
  animation: fadeInPreviewTypes 0.4s ease forwards;
}

.inplantation-types__preview-content img {
  border-radius: 12px;
}

.inplantation-types__preview-content p {
  color: var(--half-text-color);
  line-height: 1.3;
  margin-top: 8px;
}

@keyframes fadeInPreviewTypes {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.inplantation-types__item {
  display: block;
  background-color: #fff;
  border-radius: 12px;
  position: relative;
  padding: 32px 24px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-bottom: 16px;
}

.inplantation-types__item:last-child {
  margin-bottom: 0;
}

.inplantation-types__item .title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 18px;
  padding-right: 50px;
  transition: color 0.3s;
}

.inplantation-types__item .description {
  line-height: 1.3;
  color: var(--half-text-color);
  transition: color 0.3s;
}

.inplantation-types__item::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  position: absolute;
  border-radius: 5px;
  border: 1px solid var(--blue);
  right: 24px;
  top: 34px;
  background-image: var(--arrow-target-blue);
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.3s;
}
.inplantation-types__item._block{
    cursor: default;
}
.inplantation-types__item._block::after{
    display: none;
}

.inplantation-types__item:hover,
.inplantation-types__item .active {
  background-color: var(--blue);
}

.inplantation-types__item:hover .title,
.inplantation-types__item:hover .description,
.inplantation-types__item .active .title,
.inplantation-types__item .active .description {
  color: #fff;
}

.inplantation-types__item:hover::after,
.inplantation-types__item .active::after {
  border-color: #fff;
  background-color: rgba(245, 245, 245, 0.2);
  background-image: var(--arrow-target-white);
}

.inner-page-banner {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-color: #FCFCFC;
}

.inner-page-banner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(40px, 5.17vw, 60px);
  background: rgba(255, 255, 255, 0.7) url(../img/notice.svg) center center no-repeat;
  background-size: 92%;
  z-index: 1;
}

.inner-page-banner__content {
  padding: clamp(25px, 5.2vw, 60px) 30px clamp(50px, 6.3vw, 70px) clamp(25px, 3.87vw, 45px);
  width: 54%;
  position: relative;
  z-index: 1;
}

.inner-page-banner__title {
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(24px, 3.62vw, 42px);
  font-weight: 500;
  margin-bottom: 0.7em;
}

.inner-page-banner__title:not(:has(+ .inner-page-banner__text)) {
  margin-bottom: 28px;
}

.inner-page-banner__text {
  line-height: 1.2;
  font-size: clamp(14px, 1.72vw, 20px);
  font-weight: 500;
  color: #737373;
  width: 80%;
  margin-bottom: 1.5em;
}

.inner-page-banner__button {
  width: 70%;
}

.inner-page-banner__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.inner-page-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offer-slider-inner .offer-slider {
  margin-top: 20px;
}

.doctor-info-block {
  border-radius: 12px;
  padding: 35px;
  background-color: #fff;
}

.doctor-info-block__title {
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}

.doctor-info-block__title img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-right: 20px;
}

.certificates {
  position: relative;
}

.certificates__slider-container .slider-arrows {
  right: 40px;
  top: 40px;
}

.certificates__slide {
  height: 220px !important;
  background-color: #E7EDF2;
  border-radius: 10px;
  padding: 6px;
  position: relative;
  cursor: pointer;
}

.certificates__image-wrapper {
  display: block;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.certificates__image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certificates__image-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 54%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 25%, rgba(14, 69, 117, 0.25) 50%, rgba(14, 69, 117, 0.5) 75%, rgba(14, 69, 117, 0.8) 100%);
  backdrop-filter: blur(1.3px);
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.4s;
}

.certificates__image-wrapper::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 7.5px;
  border: 1px solid transparent;
  background: #ffffff url(img/zoom-in-blue.svg) center center no-repeat;
  background-size: 50% 50%;
  position: absolute;
  right: 10px;
  bottom: 10px;
  transition: 0.3s;
}

.certificates__image-wrapper:hover::before {
  opacity: 0;
}

.certificates__image-wrapper:hover::after {
  background: var(--blue) url(img/zoom-in.svg) center center no-repeat;
  border-color: var(--blue);
}

.qualification__list.collapse::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}

.qualification__item {
  line-height: 1.7;
  font-size: 14px;
  padding-left: 60px;
  position: relative;
  margin-bottom: 20px;
}

.qualification__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  border-radius: 4px;
  background: var(--bg-color) url(img/arrow-left-blue.svg) center center no-repeat;
  background-size: 50% 50%;
}

.qualification__item:last-child {
  margin-bottom: 0;
}

.qualification__item .date {
  font-weight: 600;
}

.doctor-profile__container {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 20px;
}

.doctor-profile__sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
}

.doctor-profile__card {
  position: relative;
  z-index: 1;
}

.doctor-profile__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1/1;
  background: #fff url(img/doctor-profile-image-bg2.png) top center no-repeat;
  background-size: cover;
  border-radius: 12px 12px 12px 0;
  z-index: 0;
}
.doctor-profile__image-wrapper:empty{
    aspect-ratio: 3/3.5; 
}
.doctor-profile__image {
  display: block;
  object-fit: contain;
  max-height: 576px;
  aspect-ratio: 3/3.5;
  margin: 40px auto 0 auto;
  position: relative;
  z-index: 1;
}

.doctor-profile__image._main-doctor {
  max-height: 670px;
  aspect-ratio: 3/4;
}

.doctor-profile__status {
  background-color: #fff;
  border-radius: 12px;
  font-size: clamp(16px, 1.7vw, 24px);
  text-align: center;
  padding: 1.1em 1.4em;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 8%;
  z-index: 2;
}

.doctor-profile__status .bold {
  font-weight: 500;
}

.doctor-profile__quote {
  border-radius: 0 12px 12px 12px;
  background-color: #fff;
  padding: 36px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.doctor-profile__quote .corner {
  width: 100px;
  height: 60px;
  background: url(img/quote-corner.svg) no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: -52px;
  z-index: 1;
}

.doctor-profile__quote::before,
.doctor-profile__quote::after {
  font-size: 120px;
  line-height: 1;
  color: var(--blue);
  position: absolute;
}

.doctor-profile__quote::before {
  content: "“";
  left: 7%;
  top: 10%;
}

.doctor-profile__quote::after {
  content: "“";
  right: 7%;
  bottom: 10%;
  transform: scale(-1, -1);
}

.doctor-profile__quote .quote__text {
  font-weight: 500;
  font-style: italic;
  font-size: 14px;
  line-height: 1.7;
  width: 72%;
}

.doctor-profile__quote .quote__text p {
  margin-bottom: 1.5em;
}

.doctor-profile__quote .quote__text plast-child {
  margin-bottom: 0;
}

.doctor-profile__main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor-profile__header {
  background-color: #fff;
  border-radius: 12px;
  padding: 22px 40px;
  position: relative;
}

.doctor-profile__header-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.doctor-profile__name {
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 38px);
}

.doctor-profile__badge {
  display: inline-block;
  font-size: 14px;
  background-color: var(--bg-color);
  line-height: 1;
  position: absolute;
  right: 40px;
  top: 22px;
}

.doctor-profile__badge .bold {
  font-weight: 700;
}

.doctor-profile__subtitle {
  font-size: 14px;
  color: var(--half-text-color);
}

.doctor-profile__actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 196px auto;
  gap: 24px;
}

.doctor-profile__actions .doctor-video-btn {
  height: 100%;
}

.doctor-profile__education-item {
  margin-bottom: 14px;
  line-height: 1.62;
}

.doctor-profile__bio {
  position: relative;
  overflow: hidden;
  flex-grow: 1;
}

.doctor-profile__bio::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  right: -5%;
  top: 0;
  background-image: url(img/licenses-bg.svg);
  background-repeat: no-repeat;
  background-position: center right;
}

.doctor-profile__bio .doctor-info-block__title,
.doctor-profile__bio-content {
  position: relative;
  z-index: 1;
}

.doctor-profile__bio-content {
  font-size: 14px;
  line-height: 1.6em;
}

.doctor-profile__bio-content strong {
  font-weight: 600;
}

.doctor-profile__bio-content p {
  margin-bottom: 1.3em;
}

.doctor-profile__bio-content p:last-child {
  margin-bottom: 0;
}

.services-common__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4%;
}

.services-common__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-common__item {
  position: relative;
}

.services-common-card__header,
.services-common-card--link {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.services-common-card__header:hover,
.services-common-card--link:hover {
  background-color: var(--orange);
  color: #fff;
}

.services-common-card__header:hover .services-common-card__icon,
.services-common-card--link:hover .services-common-card__icon {
  filter: brightness(0) invert(1);
}

.services-common-card__header:hover .services-common-card__arrow,
.services-common-card--link:hover .services-common-card__arrow {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.services-common-card__info {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 78%;
}

.services-common-card__icon {
  width: 48px;
  height: 48px;
  transition: filter 0.3s;
}

.services-common-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-common-card__title {
  font-size: 24px;
  line-height: 1.1;
}

.services-common-card__arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-image: var(--arrow-target-blue);
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid var(--blue);
  border-radius: 4px;
  opacity: 0.5;
  transition: opacity 0.3s, filter 0.3s;
}

.services-common-card__header {
  position: relative;
  z-index: 1;
}

.services-common-card__toggle {
  width: 38px;
  height: 38px;
  border: 1px solid #EAEAEA;
  background-color: #f4f4f4;
  border-radius: 8px;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-common-card__toggle::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url(img/plus-faq.svg) center center no-repeat;
  background-size: contain;
  transition: transform 0.3s;
}

.services-common-card--expanded.open .services-common-card__header {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
}

.services-common-card--expanded.open .services-common-card__toggle::after {
  transform: rotate(45deg);
}

.services-common-card__sublist {
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  padding: 34px 24px 24px;
}

.services-common-card__subitem {
  margin-bottom: 8px;
}

.services-common-card__subitem:last-child {
  margin-bottom: 0;
}

.services-common-card__link {
  display: block;
  font-weight: 400;
  color: #707070;
  line-height: 1;
  padding: 8px 45px 8px 16px;
  border: 2px solid var(--bg-color);
  border-radius: 8px;
  background-color: #fff;
  position: relative;
  transition: 0.4s;
}

.services-common-card__link:hover {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.services-common-card__link:hover::after {
  opacity: 1;
}

.services-common-card__link::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: var(--arrow-target-blue);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  border: 2px solid var(--blue);
  border-radius: 4px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.services-common-card__sublist--wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s;
  transform: translateY(-10px);
}

.prices-grid__table {
  background-color: #fff;
  border-radius: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

.prices-grid__row {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.prices-grid__cell {
  font-size: 18px;
  line-height: 1.1;
  color: var(--contacts-text-color);
}

.prices-grid__cell--label {
  font-weight: 700;
  flex: 0 0 38%;
  padding-right: 20px;
}

.prices-grid__cell--value {
  flex: 0 0 62%;
  font-size: 16px;
}

.routes__undertitle {
  color: var(--contacts-text-color);
  width: 90%;
  line-height: 1.25;
}

.routes__undertitle p {
  margin-bottom: 0;
}

.routes__list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4%;
}

.routes__item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.routes__header {
  background-color: #f4f4f4;
  font-size: 20px;
  color: var(--contacts-text-color);
  display: flex;
  align-items: center;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  padding: 14px 28px;
  gap: 20px;
}

.routes__icon {
  width: 38px;
  height: 38px;
}

.routes__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.routes__body {
  padding: 24px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.routes-text {
  color: var(--contacts-text-color);
  line-height: 1.2;
  flex-grow: 1;
}

.routes-text p {
  margin-bottom: 1.3em;
}

.routes-text p:last-child {
  margin-bottom: 0;
}

.routes__video-link {
  margin-top: 20px;
  border-radius: 10px;
  background-color: #f4f4f4;
  height: 75px;
  border: 1px solid var(--blue);
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
}

.routes__video-link:hover .routes__play {
  background-color: rgb(14, 69, 117);
  outline: none;
}

.routes__video-link:hover .routes__video-preview::before {
  width: 0;
}

.routes__video-preview {
  flex: 0 0 50%;
  height: 100%;
  background: url(img/route-video-btn-bg.jpg) center center no-repeat;
  background-size: cover;
  position: relative;
}

.routes__video-preview::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 69, 117, 0.5);
  transition: width 0.4s;
}

.routes__play {
  position: absolute;
  top: 50%;
  left: -25px;
  transform: translateY(-50%);
  color: #fff;
  width: 53px;
  height: 53px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(14, 69, 117, 0.5);
  border-radius: 50%;
  outline: 2px solid #fff;
  outline-offset: -2px;
  backdrop-filter: blur(8px);
  transition: background-color 0.4s, outline 0.4s;
  pointer-events: none;
}

.routes__play svg {
  width: 16px;
  height: 16px;
}

.routes__video-info {
  display: flex;
  align-items: center;
  flex: 0 0 50%;
  padding-left: 28px;
}

.routes__video-icon-signpost {
  display: inline-block;
  width: 36px;
  height: 29px;
  background: url(img/routes.svg) center center no-repeat;
  background-size: contain;
  margin-right: 10px;
}

.routes__video-text {
  font-size: 16px;
  color: var(--blue);
  line-height: 1.1;
}

.contacts-block {
  background-color: #fff;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.contacts-block__main {
  display: flex;
  align-items: center;
}

.contacts-block__contacts {
  flex: 0 0 35%;
  padding: 14px 14px 14px 3.85%;
  display: grid;
  gap: 40px;
}

.contacts-block__map-wrapper {
  padding: 14px;
  flex: 0 0 65%;
}

.contacts-block__map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.05);
  filter: grayscale(1);
  height: 396px;
}

.contacts-block__map > div {
  height: inherit;
}

.contacts-block__map iframe {
  width: 100%;
  height: inherit;
}

.contacts-block__map-buttons {
  width: 250px;
  position: absolute;
  right: 26px;
  bottom: 30px;
  display: grid;
  gap: 9px;
}

.contacts-block__item:hover .contacts-block__icon {
  color: var(--blue);
}

.contacts-block__item:hover a {
  color: var(--blue);
}

.contacts-block__icon {
  color: #87A2BA;
}

.contacts-block__icon svg {
  width: 30px;
  height: 30px;
  transition: fill 0.3s;
}

.contacts-block__caption {
  font-size: 16px;
  color: #707070;
  margin-bottom: 14px;
}

.contacts-block__text {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.contacts-block__value {
  margin-top: 4px;
}

.contacts-block__big-text {
  font-size: 24px;
  color: #444;
  line-height: 1.05em;
  letter-spacing: -0.02em;
}

.contacts-block__big-text a {
  transition: color 0.3s;
  letter-spacing: normal;
}

.contacts-block__email-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contacts-block__small-text {
  font-size: 16px;
  color: #8b8b8b;
  margin-top: 4px;
}

.about-team {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.4fr;
  gap: 20px 4%;
}

.about-team__content {
  display: flex;
  position: relative;
}

.about-team__slider-container {
  min-width: 0;
  position: relative;
}

.about-team__slider-container .slider-arrows {
  bottom: auto;
  top: -12px;
  z-index: 1;
}

.about-team__video {
  transform: translateY(-14px);
}

.about-team__slide {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-team__slide a {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.about-team__slide a::before {
  content: "";
  display: block;
  padding-top: 59%;
}

.about-team__slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}

.about-team__caption {
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 24px;
  height: 1em;
  margin-bottom: 20px;
  line-height: 1;
  width: calc(100% - 124px);
}

.team-select__preview {
  display: none;
}

.team-select__content--wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
  overflow: hidden;
}

.team-select__item {
  margin-bottom: 12px;
}

.team-select__item:last-child {
  margin-bottom: 0;
}

.team-select__content {
  min-height: 0;
}

.team-select__content--title {
  display: none;
}

.team-select__content--text {
  font-size: 14px;
  padding: 0 5% 20px 55px;
  background-color: #fff;
  border-radius: 0 0 8px 8px;
}

.team-select__item.is-active .team-select__content--wrapper {
  grid-template-rows: 1fr;
}

.team-select__trigger {
  opacity: 0.6;
  border-radius: 8px;
  background-color: #fff;
  padding: 16px 12px;
  font-size: 16px;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #707070;
  width: 100%;
  text-align: left;
  line-height: 1.05em;
  transition: opacity 0.4s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-select__trigger:hover {
  opacity: 1;
}

.team-select__trigger-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: var(--bg-color);
  border-radius: 4px;
  transition: background-color 0.4s;
}

.team-select__trigger-arrow::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url(img/arrow.svg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: contain;
}

.is-active .team-select__trigger {
  opacity: 1;
  color: var(--blue);
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.is-active .team-select__trigger-arrow {
  background-color: var(--blue);
}

.is-active .team-select__trigger-arrow::before {
  background-image: url(img/slider-arrow-white.svg);
  transform: scale(-1, -1);
}

/* --- МЕДИА-ЗАПРОС ДЛЯ ДЕСКТОПА (от 768px) --- */

.team-page-banner__wrapper {
  display: flex;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-color: #fff;
}

.team-page-banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(25px, 5.2vw, 60px) 30px clamp(50px, 6.3vw, 70px) clamp(25px, 3.87vw, 45px);
  width: 54%;
  position: relative;
  z-index: 1;
}

.team-page-banner__title {
  line-height: 1.2;
  font-size: 38px;
  font-weight: 500;
  width: 80%;
  max-width: 360px;
}

.team-page-banner__button {
  width: 340px;
  margin-top: 40px;
}

.team-page-banner__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
}

.team-page-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-image {
  display: block;
  position: relative;
  cursor: pointer;
}

.gallery-image::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 7.5px;
  border: 1px solid transparent;
  background: #ffffff url(img/zoom-in-blue.svg) center center no-repeat;
  background-size: 50% 50%;
  position: absolute;
  right: 10px;
  bottom: 10px;
  transition: 0.3s;
}

.gallery-image:hover::before {
  opacity: 0;
}

.gallery-image:hover::after {
  background: var(--blue) url(img/zoom-in.svg) center center no-repeat;
  border-color: var(--blue);
}

.prices-disclaimer {
  font-size: 14px;
  color: #707070;
  margin-top: 20px;
  margin-bottom: 40px;
}

.prices-accordion__item .accordion__title--icon {
  width: 32px;
  height: 32px;
  border: 3px solid var(--blue);
  border-radius: 4px;
  background-color: #fff;
}

.prices-accordion__item .accordion__title--icon::before {
  width: 18px;
  height: 18px;
  background-image: url(img/plus.svg);
}

.prices-accordion__item .accordion__title {
  font-weight: 600;
  color: var(--blue);
  padding: 20px 80px 20px 20px;
}

.prices-accordion__item .prices-list {
  padding-top: 0;
}

.accordion-inner__item {
  margin-top: 10px;
}

.accordion-inner__title {
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--blue);
  background-color: var(--bg-color);
  border-radius: 6px;
  position: relative;
  padding: 8px 40px 8px 20px;
  cursor: pointer;
}

.accordion-inner__title--icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--blue);
  border-radius: 4px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-inner__title--icon::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url(img/plus.svg) center center no-repeat;
  background-size: contain;
  transition: transform 0.3s;
}

.accordion-inner-active .accordion-inner__title--icon::before {
  transform: rotate(45deg);
}

.accordion-inner__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
  overflow: hidden;
}

.accordion-inner-active .accordion-inner__content {
  grid-template-rows: 1fr;
}

.accordion-inner__content--inner {
  min-height: 0;
}

.accordion-inner__content--inner .prices-list {
  padding: 6px 0 16px 0;
}

.works-section {
  margin-top: 40px;
}

.works-section .filter-block {
  margin-top: 20px;
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.works-grid.has-open-item {
  align-items: start;
}

.works-grid.has-open-item .works-grid__item {
  height: auto;
}

.works-grid__item {
  height: 100%;
}

.horizontal-scroll-element--active {
  display: flex;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  /* IE/Edge */
  scrollbar-width: none;
  /* Firefox */
}

.horizontal-scroll-element--active::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.horizontal-scroll-element__track {
  position: relative;
  width: 100%;
  height: 3px;
  /* Высота дорожки */
  background: #f4f4f4;
  /* Цвет дорожки */
  border-radius: 10px;
  pointer-events: auto;
}

.horizontal-scroll-element__thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--blue);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}

.prices-section__aside-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.prices-section__aside-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.4s;
}

.prices-section__aside-link:hover {
  box-shadow: 0 0 9px rgba(0, 0, 0, 0.17);
}

.prices-section__aside-link img {
  display: block;
  width: 100%;
}

.legal-info__table {
  background-color: #fff;
  border-radius: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

.legal-info__row {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.legal-info__cell {
  font-size: 18px;
  line-height: 1.1;
  color: var(--contacts-text-color);
}

.legal-info__cell--label {
  font-weight: 700;
  flex: 0 0 38%;
  padding-right: 20px;
}

.legal-info__cell--value {
  flex: 0 0 62%;
  font-size: 16px;
}

  .contact-form {
    position: relative;
  }

  .contact-form.sending::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: 1;
}
.contact-form.sending::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url(img/6-dots-rotate.svg) center center no-repeat;
    background-size: contain;
    z-index: 2;
}
.footer-copyright a{
  text-decoration: underline;
}
.footer-copyright a:hover{
  text-decoration: none;
}

@media (min-width: 350px) {
  .main-page-title {
    font-size: 35px;
  }
}

@media (min-width: 390px) {
  .main-page-title {
    font-size: 37px;
    margin-top: 38px;
    margin-bottom: 38px;
  }
}

@media (min-width: 400px) {
  .rating-slider__item {
    max-height: 130px;
  }

  .rating-slider__item:before {
    padding-top: 35%;
  }
}

@media (min-width: 420px) {
  .rating-slider__item {
    margin-bottom: 0;
  }
}

@media (min-width: 580px) {
  .services-slider .slider-group-slide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .budget-care-links {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 10px;
    grid-auto-rows: 200px;
  }

  .budget-care-link {
    padding: 20px 25px;
  }

  .budget-care-link.warranty {
    background-image: url(img/warranty-bg-planshet.png);
    grid-column: 2;
    grid-row: 1/span 2;
    padding-left: 6%;
  }
}

@media (min-width: 640px) {
  .budget-care-links {
    gap: 10px 4%;
  }
}

@media (min-width: 660px) {
  .profits-list__item--icon.profits-inner__item--icon {
    width: clamp(70px, 7.5vw, 90px);
    height: clamp(70px, 7.5vw, 90px);
  }
}

@media (min-width: 701px) {
  .request-text__text {
    width: 51.5%;
  }

  .request-content__text,
  .request-content__form {
    flex-basis: 50%;
  }
}

@media (min-width: 768px) {
  .header-logo {
    min-width: 170px;
  }

  .main-menu.fixed {
    position: fixed;
    width: 100%;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: #fff;
    animation: showHeader 0.3s ease-out forwards;
    transform: translateY(-100%);
    z-index: 18;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
    will-change: transform;
  }

  .main-menu.fixed .main-menu__list {
    margin-top: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .main-menu__list {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 5px 5px 0 5px;
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    position: relative;
  }

  .main-menu__item {
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
  }

  .main-menu__item.main-menu__item--mega {
    padding-left: 16px;
    display: inline-flex;
    align-items: center;
    position: static;
  }

  .main-menu__item.main-menu__item--mega .main-menu__link {
    padding-left: 9px;
  }

  .main-menu__item.main-menu__item--mega .mega-menu-trigger {
    display: inline-flex;
    width: 20px;
    height: 20px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
  }

  .main-menu__item.main-menu__item--mega .mega-menu-trigger::before {
    content: "";
    display: inline-block;
    width: 90%;
    height: 90%;
    background: url(img/service-burger.svg) center center no-repeat;
    background-size: contain;
    transition: background-image 0.3s;
  }

  .main-menu__item.main-menu__item--mega:hover .mega-menu-trigger::before {
    background-image: url(img/service-burger-orange.svg);
  }

  .main-menu__item.main-menu__item--mega.main-menu__item--active {
    color: var(--orange);
  }

  .main-menu__item.main-menu__item--mega.main-menu__item--active .mega-menu-trigger::before {
    background-image: url(img/cross.svg);
    width: 70%;
    height: 70%;
  }

  .main-menu__item:hover .main-menu__link {
    color: var(--orange);
  }

  .main-menu__item:hover .main-menu__holder::after {
    border-bottom-color: var(--orange);
    border-right-color: var(--orange);
  }

  .main-menu__link {
    display: block;
    padding: 0.8em;
    transition: color 0.4s;
  }

  .main-menu__dropdown {
    position: absolute;
    z-index: 10;
    background: #fff;
    padding: 30px 24px;
    border-radius: var(--radius);
    min-width: 420px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: 0.3s ease-in-out;
    top: 100%;
    left: 0;
    right: auto;
  }

  .main-menu__dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    /* Высота равна размеру зазора */
    left: 0;
    width: 100%;
    height: 12px;
    /* Высота равна размеру зазора */
    background: transparent;
  }

  .main-menu__item:nth-last-child(-n+3) {
    position: static;
  }

  .main-menu__item:nth-last-child(-n+3) .main-menu__dropdown {
    left: auto;
    /* Сбрасываем левое выравнивание */
    right: 0;
    /* Прижимаем к правому краю родительского LI */
  }

  .main-menu__dropdown-item,
  .mega-panel__cat-header,
  .mega-panel__sub-item {
    margin-bottom: 8px;
  }

  .main-menu__dropdown-item:last-child,
  .mega-panel__cat-header:last-child,
  .mega-panel__sub-item:last-child {
    margin-bottom: 0;
  }

  .main-menu__dropdown-item a,
  .mega-panel__cat-header a,
  .mega-panel__sub-item a {
    display: block;
    font-weight: 400;
    color: #707070;
    line-height: 1;
    padding: 8px 45px 8px 16px;
    border: 2px solid var(--bg-color);
    border-radius: 8px;
    background-color: #fff;
    position: relative;
    transition: 0.4s;
  }

  .main-menu__dropdown-item a:hover,
  .mega-panel__cat-header a:hover,
  .mega-panel__sub-item a:hover {
    background-color: var(--bg-color);
    color: var(--text-color);
  }

  .main-menu__dropdown-item a:hover::after,
  .mega-panel__cat-header a:hover::after,
  .mega-panel__sub-item a:hover::after {
    opacity: 1;
    background-image: url(img/arrow-target-orange.svg);
  }

  .main-menu__dropdown-item a::after,
  .mega-panel__cat-header a::after,
  .mega-panel__sub-item a::after {
    content: "";
    width: 22px;
    height: 22px;
    background: url(img/arrow-target.svg) center center no-repeat;
    background-size: contain;
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
    opacity: 0.35;
    transition: opacity 0.4s, background-image 0.4s;
  }

  .mega-panel__sub-list--columns .mega-panel__sub-item:first-child {
    grid-row: 1;
    grid-column: 1/-1;
  }

  .mega-panel__sub-list--columns .mega-panel__sub-item:first-child a {
    height: auto;
    display: inline-flex;
  }

  .mega-panel__sub-item:first-child a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 0;
    border: 0;
    padding-left: 0;
    padding-right: 10px;
    background-color: transparent;
    font-size: 20px;
    color: var(--text-color);
    font-weight: 600;
  }

  .mega-panel__sub-item:first-child a::after {
    background: none;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--text-color);
    border-right: 2px solid var(--text-color);
    transform: rotate(45deg);
    opacity: 1;
    position: relative;
    right: 0;
    flex-shrink: 0;
    transition: border-color 0.4s;
  }

  .mega-panel__sub-item:first-child a:hover {
    color: var(--orange);
  }

  .mega-panel__sub-item:first-child a:hover::after {
    border-color: var(--orange);
  }

  .mega-panel__arrow {
    display: inline-block;
    width: 22px;
    height: 22px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    background: url(img/arrow-left.svg) center center no-repeat;
    background-size: 12px;
    opacity: 0.35;
    transition: opacity 0.4s, background-image 0.4s;
    cursor: pointer;
    pointer-events: none;
  }

  .main-menu__item--has-dropdown .main-menu__link {
    display: inline-block;
    padding-right: 0;
  }

  .main-menu__item--has-dropdown .main-menu__holder {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    vertical-align: text-bottom;
    cursor: pointer;
  }

  .main-menu__item--has-dropdown .main-menu__holder::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.4s ease;
    transform-origin: 50% 50%;
  }

  .main-menu__item--active {
    color: var(--orange);
  }

  .main-menu__item--active .main-menu__dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(6px);
    pointer-events: auto;
  }

  .main-menu__item--active .main-menu__holder::after {
    margin-top: 0.2em;
    transform: rotate(225deg);
  }

  .mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    background: var(--bg-color);
    width: 100%;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - var(--header-height, 100px) - 20px);
    height: auto;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 32% 1fr;
    gap: 10px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: 0.3s ease-in-out;
  }

  .fixed .mega-panel {
    max-height: calc(100vh - var(--header-height, 60px) - var(--menu-height, 0px) - 20px);
  }

  .mega-panel::before {
    content: "";
    position: absolute;
    top: -12px;
    /* Высота равна размеру зазора */
    left: 0;
    width: 100%;
    height: 12px;
    /* Высота равна размеру зазора */
    background: transparent;
  }

  .main-menu__item--active .mega-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mega-panel__categories {
    position: relative;
    width: 100%;
  }

  .mega-panel__subcategories-desktop-target {
    position: relative;
  }

  .mega-panel__subcategories-desktop-target .mega-panel__sub-list {
    display: block;
  }

  .mega-panel__subcategories-desktop-target .mega-panel__sub-list.mega-panel__sub-list--columns {
    display: grid;
  }

  .mega-panel__cat-item {
    margin-bottom: 10px;
  }

  .mega-panel__cat-header {
    position: relative;
  }

  .mega-panel__cat-header a {
    background-color: rgba(255, 255, 255, 0.4);
    border-color: transparent;
  }

  .mega-panel__cat-header a:hover {
    background-color: #fff;
  }

  .mega-panel__cat-header a::after {
    display: none;
  }

  .mega-panel__cat-item--active .mega-panel__cat-header .mega-panel__arrow {
    opacity: 1;
  }

  .mega-panel__cat-item--active .mega-panel__cat-header a {
    background-color: #fff;
    color: var(--text-color);
  }

  .mega-panel__sub-list {
    padding: 26px 30px;
    background-color: #fff;
    border-radius: 8px;
    position: sticky;
    top: 0;
    display: none;
  }

  .mega-panel__sub-item {
    max-width: 500px;
    position: relative;
    z-index: 1;
    font-size: 13px;
  }

  .mega-panel__sub-item a {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .mega-panel__decor {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28%;
    height: 100%;
    max-height: 300px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
  }

  .header--mobile-element {
    display: none;
  }

  .footer--mobile-element .footer-address-block,
  .footer-column--site-sections {
    display: none !important;
  }

  .main-page-title {
    font-size: 32px;
    margin-top: 50px;
    margin-bottom: 40px;
  }

  .accordion__title {
    padding: 24px 80px 24px 24px;
  }

  .accordion__title--icon {
    right: 24px;
  }

  .inner-page-banner {
    display: flex;
  }

  .inner-page-banner__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .dortor-profile-mobile {
    display: none;
  }
}

@media (min-width: 768px) and (min-width: 992px) {
  .mega-panel__sub-list--columns {
    grid-auto-flow: column;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 2.5%;
  }

  .mega-panel__sub-list--columns .mega-panel__sub-item {
    margin-bottom: 0;
  }

  .mega-panel__sub-list--columns .mega-panel__sub-item a {
    height: 100%;
    display: flex;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .budget-care-link .title {
    font-size: 24px;
  }
}

@media (min-width: 992px) {
  .slider-arrows {
    bottom: -4px;
  }

  .footer--mobile-element {
    display: none;
  }

  .main-page-title {
    font-size: 42px;
    margin-top: 60px;
    margin-bottom: 60px;
  }

  .services-slider .slider-group-slide {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .services-item__title {
    font-size: 24px;
  }

  .main-doctor-card .doctor-card__profile {
    color: var(--text-color);
  }

  .about-clinic__content {
    display: flex;
    justify-content: space-between;
  }

  .about-clinic__text {
    flex: 0 0 60%;
  }

  .about-slinic__slider-container {
    flex: 0 0 38.5%;
    margin-top: 0;
  }

  .about-slinic__slider-container .slider-arrows {
    position: absolute;
    right: 0;
    top: -65px;
    height: fit-content;
    justify-content: flex-end;
  }

  .about-clinic__text {
    padding: 2.8em 4em 2.8em 2.8em;
  }

  #about-clinic {
    margin-bottom: 0;
  }

  .work-item__doctor {
    font-size: 20px;
  }

  .budget-care-links {
    gap: 10px;
    grid-auto-rows: 140px;
  }

  .budget-care-link {
    background-position: 150% 50%;
  }

  .budget-care-link.warranty {
    background-image: url(img/warranty-bg-desctop.png);
  }

  .budget-care-link::after {
    bottom: 20px;
    right: 20px;
    top: auto;
  }

  .budget-care-link.taxes {
    background-image: url(img/taxes-bg-desctop.png);
  }

  .budget-care-link.split {
    background-image: url(img/split-bg-desctop.png);
  }

  .request-text__under {
    font-size: 16px;
    width: 240px;
  }

  .faqs-list:not(.is-open) .faqs-list__item:nth-child(n+8) {
    display: none;
  }

  .accordion__title {
    font-size: 24px;
  }

  .prices-grid__prices-title {
    font-size: 24px;
  }

  .team-select__wrapper {
    display: flex;
    flex-direction: row;
    gap: 18px;
  }

  /* Показываем левую панель */

  .team-select__preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px 20px;
  }

  .team-select__tabs {
    width: 45%;
  }

  .is-active .team-select__trigger {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .team-select__content--wrapper {
    grid-template-rows: 0fr !important;
  }

  .team-select__preview .team-select__content--title {
    display: block;
    font-size: 21px;
    line-height: 1.05em !important;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--blue);
  }

  .team-select__preview .team-select__content--text {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
  }

  .accordion-inner__title {
    font-size: 20px;
  }

  .works-grid {
    gap: 20px 4%;
  }
}

@media (min-width: 1024px) {
  .form-image-doctor._with-text .form-image-doctor__title {
    width: 250px;
  }

  #cookie_notification {
    width: 460px;
    padding: 30px 25px;
    max-width: none;
    bottom: 20px;
  }

  #cookie_notification p {
    font-size: 14px;
  }

  #cookie_accept {
    height: 40px;
  }

  .hello-block__content--sidebar {
    position: relative;
  }

  .prices-grid__cell {
    font-size: 20px;
  }

  .prices-grid__cell--value {
    font-size: 20px;
  }

  .legal-info__cell {
    font-size: 20px;
  }

  .legal-info__cell--value {
    font-size: 20px;
  }
}

@media (min-width: 1100px) {
  .budget-care-link {
    background-position: 100% 50%;
  }

  .team-select__preview .team-select__content--title {
    font-size: 24px;
  }

  .team-select__content--text {
    font-size: 16px;
  }

  .team-select__preview {
    padding: 15px 3%;
  }
}

@media (min-width: 1160px) {
  .works-tab-btn {
    min-width: 176px;
  }

  .work-item__photo {
    max-width: 234px;
  }

  .request-text__text {
    font-size: 20px;
    width: 300px;
  }
}

@media (max-width: 1159.98px) {
  .form-image-doctor:not(._with-text) .form-image-doctor__title {
    font-size: 34px;
  }

  .form-image-doctor__photo--photo {
    left: 15.5%;
  }

  .form-image-doctor._with-text .form-image-doctor__photo--photo {
    left: 9%;
  }

  #scrollup {
    right: 15px;
    bottom: 110px;
    width: 40px;
    height: 40px;
  }

  .header-content {
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: 10px;
  }

  .header-address-block,
  .footer-address-block {
    font-size: 12px;
  }

  .header-btn {
    font-size: 12px !important;
  }

  .footer-header__actions {
    grid-template-columns: auto 42px 220px;
  }

  .footer-btn {
    font-size: 12px !important;
  }

  .footer-body {
    grid-template-columns: auto 220px;
  }

  .footer-menu {
    grid-template-columns: 1.7fr 0.85fr 0.7fr;
    gap: 10px;
  }

  .footer-rating-widgets {
    flex-direction: column;
    gap: 10px;
  }

  #how-to .section-title-container .section-title {
    padding-right: 30px;
  }

  #how-to .section-title-container .section-undertitle {
    width: 40%;
    max-width: none;
  }

  .profits-list {
    gap: 14px;
  }

  .numbers-list,
  .team-numbers {
    gap: 10px;
  }

  .doctor-card__rating {
    gap: 6px;
    font-size: 10px;
  }

  .hello-block__photo {
    right: 20%;
  }

  .hello-block__name {
    width: 260px;
  }

  .hello-block__btn {
    width: 260px;
    font-size: 16px;
  }

  .hello-block__btn .play {
    width: 60px;
    height: 60px;
    right: 30px;
  }

  .hello-block__btn .play svg {
    width: 17px;
    height: 20px;
  }

  .request-content__photo {
    left: 18%;
  }
}

@media (max-width: 1110px) {
  .routes__video-info {
    flex: 3;
  }

  .routes__video-preview {
    flex: 2;
  }
}

@media (max-width: 1100px) {
  .form-image-doctor__photo--photo {
    left: 13%;
  }

  .form-image-doctor._with-text .form-image-doctor__photo--photo {
    left: 7%;
  }

  .hello-block__content--main {
    font-size: 15px;
  }

  .hello-block__photo {
    right: 18%;
  }

  .inplantation-types__preview-content p {
    font-size: 14px;
  }
}

@media (max-width: 1060px) {
  .contacts-block__caption,
  .contacts-block__small-text {
    font-size: 14px;
  }

  .contacts-block__big-text {
    font-size: 20px;
  }

  .contacts-block__contacts {
    padding: 22px 14px 22px 22px;
  }

  .contacts-block__contacts {
    gap: 30px;
  }

  .contacts-block__map {
    height: 360px;
  }
}

@media (max-width: 1050px) {
  .tooth-infoblock__card::before {
    left: -20%;
  }
}

@media (max-width: 1024px) {
  .about-service-block {
    grid-template-areas: "title title" "steps video";
    gap: 20px;
  }

  .about-service-block__video {
    height: calc(100% + 30px);
    transform: translateY(-30px);
  }
}

@media (max-width: 1023.98px) {
  .popup-phone-play-btn {
    display: none;
  }

  .form-image-doctor {
    background-image: url(img/form-image-doctor-bg-planshet.jpg);
    padding: 40px;
  }

  .form-image-doctor:not(._with-text) .form-image-doctor__title {
    position: relative;
    width: 80%;
    max-width: none;
    margin-bottom: 30px;
  }

  .form-image-doctor__form {
    flex-basis: 56%;
  }

  .form-image-doctor__photo--photo {
    left: 4%;
    height: 80%;
  }

  .form-image-doctor__photo--name {
    background-color: rgba(255, 255, 255, 0.6);
    bottom: 30px;
    width: 280px;
    padding: 10px 16px;
  }

  .form-image-doctor__photo--name .name {
    font-size: 16px;
    width: 150px;
  }

  .form-image-doctor__photo--name .profile {
    font-size: 12px;
    color: #626262;
  }

  .services-item.services-inner-item .services-item__icon {
    width: 38px;
    height: 38px;
  }

  .services-item.services-inner-item .services-item__title {
    font-size: 20px;
  }

  .licenses-block::after {
    background-size: 94%;
    width: 30%;
  }

  .licenses-block__text {
    padding: 30px 10px 30px 30px;
  }

  .licenses-block__screens {
    padding-right: 30px;
  }

  .screen-item {
    width: 168px;
    height: 254px;
  }

  .hello-block__content--main {
    padding: 22px 28px;
    max-width: 600px;
  }

  .hello-block__photo {
    right: 6%;
    top: auto;
    height: 85%;
  }

  .hello-block__name {
    position: absolute;
    right: 0;
    bottom: -40px;
  }

  .map-wrapper {
    height: 276px;
    border-radius: 10px;
  }

  .map-buttons {
    left: 20px;
    bottom: 20px;
  }

  #map .container {
    padding-left: 0;
    padding-right: 0;
  }

  .implantation-steps-slider__item--title {
    font-size: 20px;
  }

  .doctor-profile {
    padding-bottom: 20px;
  }

  .doctor-profile__header-block {
    position: sticky;
    top: 30px;
  }

  .doctor-profile__badge {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
  }

  .doctor-profile__status {
    bottom: 0;
  }

  .doctor-profile__image {
    aspect-ratio: auto;
  }

  .doctor-profile__image._main-doctor {
    aspect-ratio: 3/3.5;
  }

  .doctor-profile__actions {
    grid-template-columns: minmax(120px, 0.6fr) auto;
    gap: 12px 16px;
  }

  .doctor-profile__actions .doctor-video-btn {
    width: 100%;
  }

  .doctor-profile__actions .doctor-profile__btn {
    grid-column: 1/span 2;
  }

  .doctor-profile__education {
    margin-bottom: 40px;
  }

  #qualification {
    padding-top: 40px;
  }

  .doctor-profile__quote {
    padding: 20px;
    margin-top: 30px;
  }

  .doctor-profile__quote .corner {
    height: 32px;
    top: -32px;
  }

  .doctor-profile__quote::before {
    left: 12px;
    top: 6px;
  }

  .doctor-profile__quote::after {
    right: 12px;
    bottom: 12px;
  }

  .about-team__slider-container .slider-arrows {
    top: -18px;
  }

  .about-team__caption {
    font-size: 20px;
  }
}

@media (max-width: 992px) {
  .main-doctor-card .doctor-card__profile {
    font-size: 20px;
    margin-top: 30px;
  }
}

@media (max-width: 991.98px) {
  .form-agree-container {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .checkbox > span:not(.error-lable),
  .radio > span:not(.error-lable) {
    font-size: 11px;
  }

  .form-image-bg .form-image-right__wrapper {
    background-image: url(img/form-image-bg-planshet.jpg);
  }

  .form-image-bg .form-image-text {
    display: block;
  }

  .form-image-bg .form-image-right__image {
    padding: 30px;
  }

  .form-image-bg .form-image-right__image .form-image-right__image--caption {
    display: none;
  }

  .form-image-bg .form-image-right__image .contact-form-title {
    display: block;
  }

  .form-image-bg .form-image-right__form {
    order: 2;
    padding-top: 30px;
    padding-left: 0;
    padding-right: 20px;
    flex-basis: 48%;
  }

  .form-image-bg .form-image-right__form .contact-form-title {
    display: none;
  }

  .form-image-right__form {
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .form-image-right__image {
    padding: 20px;
  }

  .form-image-doctor {
    padding: 30px;
  }

  .form-image-doctor:not(._with-text) .form-image-doctor__title {
    width: 80%;
  }

  .form-image-doctor._with-text .form-image-doctor__title {
    font-size: 34px;
  }

  .form-image-doctor__photo--name {
    left: 30px;
  }

  .text-element h2,
  .text-element h3,
  .text-element h4,
  .text-element h5,
  .text-element h6,
  .text-element .title {
    font-size: 20px;
  }

  .header-fixed__logo {
    flex-basis: 220px;
  }

  .header-fixed__socials {
    display: none;
  }

  .header-fixed__phone.header-phone,
  .header-fixed__phone.footer-phone {
    font-size: 16px;
  }

  .header-fixed__phone.header-phone::before,
  .header-fixed__phone.footer-phone::before {
    width: 22px;
    height: 22px;
  }

  .header-fixed__button {
    font-size: 12px !important;
  }

  .header-fixed__site-version-toggle.site-version-toggle {
    width: 30px;
    height: 22px;
  }

  .header-fixed__menu-open-button::after {
    display: none;
  }

  body {
    font-size: 14px;
  }

  .btn.btn-bigger {
    font-size: 15px;
    padding-top: 1.1em;
    padding-bottom: 1.1em;
  }

  .header-content {
    grid-template-columns: 1.2fr 1fr 1fr;
    position: relative;
  }

  .header-logo-block {
    width: 20%;
    min-width: 150px;
    position: absolute;
    left: 14px;
    top: 10px;
  }

  .header-socials {
    gap: 6px;
  }

  .search-input {
    font-size: 12px;
  }

  .header-address-block,
  .footer-address-block {
    font-size: 10px;
  }

  .site-version-toggle {
    height: 19px;
  }

  .header-phone::before,
  .footer-phone::before {
    height: 19px;
    width: 19px;
  }

  .slider-title {
    padding-right: 100px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-arrow:nth-child(2) {
    margin-left: 8px;
  }

  .footer--desctop-element {
    display: none !important;
  }

  .footer {
    margin-top: 40px;
  }

  .footer-header {
    flex-wrap: wrap;
  }

  .footer-header .search-form {
    margin-top: 15px;
  }

  .footer-header__logo {
    width: 36%;
    align-self: flex-end;
  }

  .footer-header__actions {
    grid-template-columns: auto 200px;
  }

  .footer-header__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .footer-phone {
    font-size: 14px;
  }

  .footer-phone::before {
    width: 20px;
    height: 20px;
  }

  .footer-header__contacts,
  .footer-header__socials {
    display: block;
    text-align: right;
  }

  .footer-header__socials {
    margin-bottom: 15px;
  }

  .footer-header__socials .socials__item {
    display: inline-flex;
  }

  .footer-header__socials .socials__item:nth-child(1) {
    margin-right: 15px;
  }

  .footer-address-block {
    font-size: 14px;
  }

  .footer-rating-widgets {
    flex-grow: 0;
  }

  .footer-rating-widgets a {
    width: 100%;
  }

  .footer-body {
    grid-template-columns: auto 240px;
    margin-bottom: 20px;
  }

  .footer-menu {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .footer-column--services {
    grid-column: span 2;
  }

  .footer-add-menu {
    margin-top: 0;
    margin-bottom: 24px;
  }

  .footer-add-menu__item {
    font-size: 13px;
  }

  .section {
    padding-top: 40px;
  }

  .section-title-container {
    display: block;
  }

  .section-title-container .section-title {
    padding-right: 0;
    margin-bottom: 0.6em;
    width: 100%;
  }

  .section-title-container .section-undertitle {
    width: 100%;
    max-width: none;
  }

  #how-to .section-title-container .section-undertitle {
    width: 100%;
  }

  #how-to .section-title-container .section-title {
    padding-right: 0;
  }

  .profits-inner-slider__wrapper {
    display: flex;
    gap: 0 !important;
  }

  .profits-list__item {
    padding: 14px;
  }

  .profits-list__item--icon {
    width: 60px;
    height: 60px;
  }

  .profits-inner__item {
    padding: 20px;
  }

  .numbers-list,
  .team-numbers {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 5%;
  }

  .numbers-list__item--number,
  .team-numbers__item--number {
    width: 40%;
  }

  .services-item.services-inner-item .services-item__title {
    padding-right: 25px;
  }

  .services-item.services-inner-item .services-item__title::after {
    width: 20px;
    height: 20px;
    background-image: var(--arrow-target-gray);
    background-size: 12px;
    border-color: #9F9E9A;
    border-radius: 3px;
    opacity: 0.4;
  }

  .team-numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-numbers__item:nth-child(1) {
    grid-row: span 2;
  }

  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
  }

  .doctor-card__wrapper {
    max-width: none;
  }

  .assistants-grid,
  .managers-grid {
    display: flex;
    gap: 0;
  }

  .assistants-grid__item--text {
    font-size: 11px;
  }

  .about-clinic__slide {
    max-height: 470px;
  }

  .hello-block__content--main {
    width: 65%;
    font-size: 14px;
  }

  .hello-block__photo {
    right: 4.5%;
  }

  .review-text__top__left .doctor {
    font-size: 13px;
  }

  .review-text__top__left .rating {
    width: 140px;
    height: 26px;
  }

  .review-text__top--right .tag {
    font-size: 12px;
    padding: 8px;
    border-radius: 4px;
    /* margin-bottom: 12px; */
  }
  .reviews-tags{
      margin-bottom: 10px;
      gap: 5px;
  }

  .review-text__name {
    font-size: 20px;
  }

  .work-item__wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  .work-item__title {
    font-size: 20px;
  }

  :root {
    --pd-side: 26px;
  }

  .howto-tabslist {
    gap: 8px;
  }

  .howto-tab {
    font-size: 16px;
  }

  .howto-tabpanel__title {
    font-size: 24px;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text {
    padding-right: 18px;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text .left-part {
    width: 48%;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text .left-part > p {
    max-width: 240px;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text .right-part {
    width: 52%;
    padding-left: 16px;
  }

  .howto-ways {
    padding: 12px;
    gap: 5%;
  }

  .howto-ways__item .icon {
    margin-bottom: 12px;
  }

  .howto-ways__item::after {
    top: 10px;
    right: 5px;
  }

  .howto-ways__text {
    font-size: 12px;
  }

  .crumbs {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .page-anchors__link {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .faqs-list:not(.is-open) .faqs-list__item:nth-child(n+4) {
    display: none;
  }

  .about-service-block__content {
    position: relative;
  }

  .prices-section {
    grid-template-columns: 1fr 300px;
  }

  .prices-grid {
    grid-template-columns: 1fr 240px;
    gap: 10px;
  }

  .prices-grid__aside-links {
    gap: 10px;
  }

  .budget-inner-block__item .decription .title {
    font-size: 20px;
  }

  .budget-inner-block__item .decription .text {
    font-size: 16px;
  }

  .implantation-steps-slider__item--image {
    height: 120px;
  }

  .implantation-steps-slider__item--image::before {
    font-size: 74px;
    top: 50%;
    transform: translateY(-50%);
  }

  .implantation-steps-slider__item--description {
    font-size: 14px;
  }

  .page-text-block__content--image .text {
    font-size: 14px;
  }

  .tooth-infoblock {
    overflow-x: clip;
  }

  .tooth-infoblock__media {
    flex-basis: 30%;
    text-align: left;
    transform: translateX(-14%);
  }

  .tooth-infoblock__card {
    margin-bottom: 10px;
  }

  .tooth-infoblock__content {
    flex-basis: 70%;
  }

  .tooth-infoblock__card--title {
    font-size: 20px;
  }

  .inplantation-types__previews {
    display: none;
  }

  .inplantation-types__items {
    padding-right: 0;
    flex-grow: 1;
  }

  .doctor-info-block {
    padding: 30px;
  }

  .certificates__slider-container .slider-arrows {
    right: 30px;
    top: 30px;
  }

  .certificates__slide {
    height: 200px !important;
  }

  .qualification__item {
    padding-left: 38px;
  }

  .doctor-profile__header {
    padding: 26px 34px;
  }

  .doctor-profile__actions {
    margin-top: 15px;
  }

  .doctor-profile__quote {
    margin-top: 35px;
  }

  .doctor-profile__quote::before {
    left: 4px;
    top: -6px;
  }

  .doctor-profile__quote::after {
    display: none;
  }

  .doctor-profile__quote .quote__text {
    width: 80%;
    font-size: 12px;
  }

  .doctor-profile__status {
    padding: 10px;
  }

  .services-common__grid {
    gap: 20px;
  }

  .services-common-card__header,
  .services-common-card--link {
    padding: 15px;
  }

  .services-common-card__info {
    gap: 18px;
  }

  .services-common-card__title {
    font-size: 20px;
  }

  .services-common-card__arrow {
    right: 15px;
  }

  .services-common-card__toggle {
    right: 15px;
  }

  .services-common-card__sublist {
    padding: 24px 15px 15px;
  }

  .services-common-card__link::after {
    right: 12px;
  }

  .routes__undertitle p {
    margin-bottom: 18px;
  }

  .routes__undertitle p:last-child {
    margin-bottom: 0;
  }

  .routes__undertitle {
    width: 100%;
  }

  .routes__header {
    font-size: 16px;
    padding: 10px 20px 10px 26px;
  }

  .routes__icon {
    width: 30px;
    height: 30px;
  }

  .contacts-block__map-buttons {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 10px;
    padding: 0 22px 22px 22px;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .contacts-block__map-buttons .map-buttons__item {
    border: 2px solid #E7EDF2;
    font-size: 14px;
    height: 50px;
  }

  .contacts-block__map-buttons .taxi-button svg {
    width: 26px;
  }

  .contacts-block__map-buttons .route-button svg {
    width: 20px;
  }

  .contacts-block__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .contacts-block__contacts {
    gap: 20px;
  }

  .contacts-block__map-wrapper {
    border-radius: 8px;
    padding: 22px 22px 0 0;
  }

  .contacts-block__map {
    height: 306px;
    box-shadow: none;
  }

  .team-page-banner__title {
    font-size: 32px;
  }

  .team-page-banner__button {
    height: 60px;
    font-size: 16px;
    width: 330px;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 991px) {
  .form-modal {
    padding: 40px !important;
  }
}

@media (max-width: 940px) {
  .routes__video-info {
    flex: 4;
  }
}

@media (max-width: 900px) {
    .review-text__wrapper{
        padding: 20px 16px;
    }
  .form-image-doctor._with-text .form-image-doctor__title {
    font-size: 32px;
  }

  .licenses-block::after {
    background-size: 70%;
    width: 50%;
    left: 26%;
  }

  .licenses-block__text {
    flex-basis: 50%;
    padding-left: 15px;
  }

  .licenses-block__screens {
    flex-basis: 50%;
    padding-right: 20px;
    padding-left: 10px;
  }

  .screen-item {
    width: 49%;
    height: 254px;
  }

  .screen-item:nth-child(1) {
    margin-right: 2%;
  }

  .howto-tabpanel__content--common {
    flex-wrap: wrap;
  }

  .howto-tabpanel__title {
    width: 100%;
  }

  .howto-tabpanel__title._mobile {
    display: block;
  }

  .prices-section {
    display: block;
    padding-bottom: 0;
  }

  .prices-grid {
    display: block;
    padding-bottom: 0;
  }

  .prices-grid__aside-links {
    margin-top: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .prices-button {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
  }

  .prices-table-buttons {
    position: relative;
    right: auto;
    left: auto;
    justify-content: center;
    gap: 15px;
  }

  .budget-inner-block {
    grid-template-columns: 1fr 1fr;
    height: fit-content;
    grid-template-rows: auto;
    margin-top: 20px;
  }

  .budget-inner-block__item {
    background-position-x: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .budget-inner-block__item.taxes {
    background-image: url(img/inner-taxes-planshet-bg.png);
  }

  .budget-inner-block__item.split {
    background-image: url(img/inner-split-planshet-bg.png);
  }

  .doctor-info-block {
    padding: 20px;
  }

  .certificates__slider-container .slider-arrows {
    right: 20px;
    top: 20px;
  }

  .prices-section__aside-links {
    flex-direction: row;
    margin-top: 20px;
  }

  .prices-section__aside-link {
    flex: 1 0 352px;
    max-width: 422px;
  }
}

@media (max-width: 880px) {
  .budget-inner-block__item .decription .text {
    font-size: 14px;
    max-width: 200px;
  }
}

@media (max-width: 860px) {
  .form-image-doctor {
    padding: 20px 30px;
  }

  .form-image-doctor:not(._with-text) .form-image-doctor__title {
    font-size: 28px;
  }

  .form-image-doctor__photo--name {
    left: 15px;
    bottom: 15px;
  }

  .form-image-doctor__photo--photo {
    left: 0;
    height: 82%;
  }

  .form-image-doctor__form {
    flex-basis: 50%;
  }

  .tooth-infoblock__card::before,
  .tooth-infoblock__card::after {
    transform: none;
  }

  .tooth-infoblock__card::after {
    top: 60px;
  }

  .tooth-infoblock__card::before {
    top: 46px;
    left: -18%;
  }

  .inner-page-banner__button {
    width: 85%;
  }

  .routes__video-preview {
    flex: 1;
    background: var(--blue);
  }

  .routes__video-preview::before {
    display: none;
  }

  .work-item__process-photos {
    grid-template-columns: 1fr;
  }

  .work-item__process-photos.three-elements {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .modal-form__wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .modal-form__caption p {
    position: static;
  }

  .modal-form .form-input,
  .modal-form .form-lable {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .modal-form .form-button {
    height: 60px;
  }

  .promo-slider__item {
    text-align: center;
  }

  .promo-slider__item img {
    max-width: 340px;
  }
}

@media (max-width: 800px) {
  .works-tab-btn.long-point {
    order: 99;
  }

  .service-steps {
    padding: 20px;
  }

  .inplantation-types__item .title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .prices-grid__row {
    display: block;
  }

  .prices-grid__cell--label {
    padding-left: 0;
    margin-bottom: 12px;
  }

  .work-item__photos {
    flex-direction: column;
  }

  .work-item__photo {
    width: 100%;
  }

  .work-item__photo--before {
    margin-bottom: 20px;
  }

  .legal-info__row {
    display: block;
  }

  .legal-info__cell--label {
    padding-left: 0;
    margin-bottom: 12px;
  }
}

@media (max-width: 790px) {
  .howto-ways__text p {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .section-center-btn {
    width: 100%;
    max-width: none;
  }

  .prices-table-buttons {
    margin-top: 20px;
  }

  .prices-table-buttons .btn {
    margin-top: 0;
  }

  .prices-table-buttons {
    flex-direction: column;
  }

  .prices-table-buttons .btn {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .form__text,
  .form-image-text {
    font-size: 14px;
  }

  .form-image-doctor._with-text .form-image-doctor__photo--photo {
    left: -1%;
    height: 86%;
  }

  .header-fixed__phone {
    display: none;
  }

  .header-fixed__actions {
    justify-content: flex-end;
    gap: 20px;
  }

  .header-fixed__site-version-toggle.site-version-toggle {
    width: 34px;
    height: 26px;
  }

  /*#scrollup {
    right: 10px;
    bottom: 10px;
  }*/

  .main-menu {
    background-color: var(--bg-color);
    padding: 14px 10px;
    border-radius: 6px;
  }

  .mega-panel__sub-item:first-child {
    display: none;
  }

  .main-menu__item {
    margin-bottom: 8px;
    position: relative;
  }

  .main-menu__item.main-menu__item--active .main-menu__link {
    color: var(--orange);
  }

  .main-menu__item.main-menu__item--active .main-menu__holder::after {
    border-color: var(--orange);
    transform: rotate(135deg);
  }

  .main-menu__item.main-menu__item--active .main-menu__dropdown,
  .main-menu__item.main-menu__item--active .mega-panel {
    display: block;
  }

  .main-menu__holder,
  .mega-panel__arrow {
    width: 50px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
  }

  .main-menu__holder::after,
  .mega-panel__arrow::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transform-origin: 50% 50%;
    margin-left: 10px;
  }

  .main-menu__link {
    font-size: 14px;
    background-color: #fff;
    border-radius: 6px;
    padding: 10px;
    display: block;
  }

  .mega-panel,
  .mega-panel__sub-list,
  .main-menu__dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }

  .main-menu__dropdown-item,
  .mega-panel__sub-item {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .main-menu__dropdown-item:first-child,
  .mega-panel__sub-item:first-child {
    margin-top: 8px;
  }

  .main-menu__dropdown-item a,
  .mega-panel__sub-item a {
    display: block;
    border-radius: 6px;
    border: 1px solid #fff;
    padding: 8px 20px;
  }

  .mega-panel__cat-link {
    font-size: 12px;
    display: inline-block;
    border-radius: 6px;
    padding: 8px 20px;
  }

  .mega-panel__cat-header {
    position: relative;
    background-color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    border-radius: 6px;
  }

  .mega-panel__arrow {
    height: 100%;
  }

  .no-child .mega-panel__arrow {
    display: none;
  }

  .mega-panel__cat-item--active .mega-panel__cat-header {
    background-color: #fff;
  }

  .mega-panel__cat-item--active .mega-panel__cat-link {
    color: var(--orange);
  }

  .mega-panel__cat-item--active .mega-panel__arrow::after {
    border-color: var(--orange);
    transform: rotate(135deg);
  }

  .mega-panel__cat-item--active .mega-panel__sub-list {
    display: block;
  }

  .header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
    height: 100%;
    overflow-y: auto;
    background-color: #fff;
    width: 100%;
    max-width: 440px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
  }

  .header .container {
    padding-left: 25px;
    padding-right: 25px;
  }

  .header.open {
    transform: translateX(0);
  }

  .header-content {
    display: block;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
    position: sticky;
    top: 0;
    z-index: 30;
  }

  .header-logo-block {
    position: static;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    max-width: none;
  }

  .header-logo {
    max-width: 260px;
    margin-right: 20px;
  }

  .header-mobile-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .header-mobile-close::after {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    background: url(img/cross.svg) center center no-repeat;
    background-size: contain;
  }

  .header--desctop-element {
    display: none !important;
  }

  .search-form {
    margin-bottom: 10px;
  }

  .search-input {
    font-size: 14px;
  }

  .header-contacts-block {
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .header-phone,
  .footer-phone {
    font-size: 24px;
  }

  .header-phone::before,
  .footer-phone::before {
    width: 33px;
    height: 33px;
  }

  .site-version-toggle {
    height: 35px;
    width: 48px;
  }

  .header-btn {
    font-size: 16px !important;
    margin-top: 0;
  }

  .header-address-block,
  .footer-address-block {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }

  .header-address-wrapper {
    flex-grow: 1;
  }

  .header-socials {
    flex-direction: column;
    margin-bottom: 0;
  }

  .header-socials .socials__item {
    width: 42px;
    height: 42px;
  }

  .header-socials .socials__item .telegram {
    width: 14px;
    height: 13px;
  }

  .header-socials .socials__item .vk {
    width: 16px;
    height: 10px;
  }

  .header-mobile {
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-mobile .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .header-mobile .header-phone,
  .header-mobile .footer-phone {
    font-size: 20px;
  }

  .header-mobile .header-phone::before,
  .header-mobile .footer-phone::before {
    width: 28px;
    height: 28px;
  }

  .header-mobile .site-version-toggle {
    width: 34px;
    height: 28px;
  }

  .header-mobile__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .header-mobile__logo {
    width: 45%;
    min-width: 170px;
  }

  .header-mobile__actions {
    width: 40%;
  }

  .header-mobile__actions .header-btn {
    font-size: 14px !important;
    padding-top: 1em;
    padding-bottom: 1em;
    margin-top: 1em;
  }

  .header-mobile-open {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #707070;
  }

  .header-mobile-open svg {
    width: 50%;
  }

  .header-mobile.fixed {
    padding-bottom: 10px;
  }

  .header-mobile.fixed .container {
    align-items: center;
  }

  .header-mobile.fixed .header-mobile__actions {
    display: none;
  }

  .header-mobile.fixed .header-mobile__logo {
    width: 220px;
  }

  .header-mobile.fixed .header-mobile-open {
    width: 36px;
    height: 36px;
  }

  .footer-add-menu.footer--mobile-element {
    display: none;
  }

  .footer-header {
    padding-bottom: 0;
  }

  .footer-header .search-form {
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .footer--mobile-element .footer-address-block {
    display: block;
    margin-bottom: 0;
  }

  .footer-header__logo {
    width: 50%;
  }

  .footer-body__sidebar,
  .footer-header__contacts {
    display: none;
  }

  .footer-header__actions {
    max-width: 280px;
    width: 45%;
    display: block;
  }

  .footer-header__actions .site-version-toggle {
    width: 34px;
    height: 28px;
  }

  .footer-header__actions .footer-phone {
    font-size: 20px;
  }

  .footer-header__actions .footer-phone::before {
    width: 28px;
    height: 28px;
  }

  .footer-header__actions .footer-btn {
    font-size: 14px !important;
    padding-top: 1em;
    padding-bottom: 1em;
    margin-top: 1em;
  }

  .footer-body,
  .footer-menu,
  .footer-list--services {
    display: block;
  }

  .footer-body {
    margin-top: 0;
  }

  .footer-body__main {
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 14px 10px 8px 10px;
  }

  .footer-column:last-child {
    margin-bottom: 0;
  }

  .footer-column.open .footer-title {
    color: var(--orange);
  }

  .footer-column.open .footer-title-arrow::after {
    border-color: var(--orange);
    transform: rotate(135deg);
  }

  .footer-title {
    background-color: #fff;
    color: var(--text-color);
    padding: 12px 30px 12px 12px;
    border-radius: 6px;
    margin-bottom: 6px;
    transition: color 0.3s;
  }

  .footer-title-block {
    position: relative;
  }

  .footer-title-arrow {
    width: 40px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: -2px;
    top: 0;
    z-index: 2;
  }

  .footer-title-arrow::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transform-origin: 50% 50%;
    transition: transform 0.3s;
  }

  .footer-list-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }

  .footer-list li {
    margin-bottom: 6px;
  }

  .footer-list li a {
    font-size: 14px;
    color: var(--text-color);
    padding: 12px 30px 12px 12px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    display: block;
  }

  .profits-list {
    gap: 8px;
  }

  .numbers-list,
  .team-numbers {
    gap: 10px;
  }

  .doctors-grid {
    gap: 10px;
  }

  .licenses-block__text {
    padding: 20px 10px 20px 20px;
  }

  .licenses-block__screens {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .screen-item {
    height: 220px;
  }

  .hello-block__title {
    font-size: 20px;
    width: 280px;
  }

  .map-buttons__item {
    height: 76px;
    padding: 12px;
    font-size: 14px;
  }

  .map-button-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
  }

  .work-item__photos {
    flex-direction: column;
  }

  .work-item__photo {
    width: 100%;
  }

  .work-item__photo.work-item__photo--before {
    margin-bottom: 20px;
  }

  .budget-care-link.split .text {
    width: 210px;
  }

  :root {
    --pd-side: 20px;
  }

  .howto-tabslist {
    display: none;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text .right-part {
    font-size: 13px;
  }

  .howto-ways {
    padding: 14px 10%;
  }

  .howto-tabpanel__caption {
    display: block;
    margin-bottom: 10px;
  }

  .howto-tabpanel__content {
    display: block;
    margin-top: 10px;
    padding-bottom: 20px;
  }

  .howto-tabpanel:last-child .howto-tabpanel__content {
    padding-bottom: 0;
  }

  .howto-tabpanel__title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .howto-tabpanel__text {
    padding-right: 0;
    margin-bottom: 25px;
  }

  .howto-tabpanel__text--text p {
    font-size: 16px;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text {
    margin-bottom: 0;
    display: block;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text .left-part {
    width: 100%;
    max-width: none;
    display: block;
    margin-bottom: 20px;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text .left-part > p {
    max-width: none;
    font-size: 16px;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text .right-part {
    width: 100%;
    padding-left: 0;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text--text p {
    font-size: 14px;
  }

  .howto-tabpanel__image {
    width: 100%;
    max-width: none;
    max-height: 360px;
  }

  .tabpanel--hidden {
    display: block;
  }

  .howto-tabpanel__content--wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }

  .page-anchors__slider {
    padding-left: 0;
    padding-right: 0;
  }

  .page-anchors__slider .scroll-navigation__arrow {
    display: none;
  }

  .page-anchors__slider .page-anchors__list {
    gap: 8px;
  }

  .page-anchors {
    padding-bottom: 0;
    padding-top: 7px;
  }

  .page-anchors__item {
    padding-right: 0;
    margin-bottom: 8px;
  }

  .page-anchors__toggle-btn {
    display: block;
    padding: 12px 30px 12px 14px;
    border-radius: 8px;
    background-color: var(--orange);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    position: relative;
  }

  .page-anchors__toggle-btn::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    position: absolute;
    right: 18px;
    top: 18px;
  }

  .page-anchors__toggle-btn.is-open::after {
    top: 20px;
    transform: scale(-1, -1) rotate(45deg);
  }

  .page-anchors__list {
    display: block;
  }

  .page-anchors__link {
    font-size: 16px;
    padding: 10px 14px;
    text-align: left;
    position: relative;
  }

  .page-anchors__link::after {
    content: "";
    width: 20px;
    height: 20px;
    color: #9F9E9A;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 13.5L13.5 2.5' stroke='%230E4575' stroke-width='1.5'/%3E%3Cpath d='M3.59961 2.5L14.5996 2.5' stroke='%230E4575' stroke-width='1.5'/%3E%3Cpath d='M13.8496 12.75L13.8496 1.75' stroke='%230E4575' stroke-width='1.5'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 10px;
    border: 2px solid #0E4575;
    border-radius: 3px;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    transition: all 0.4s;
    position: absolute;
  }

  .page-anchors__wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
    position: absolute;
    width: 100%;
    left: 0;
    background-color: var(--bg-color);
  }

  .page-anchors__wrapper.is-open {
    grid-template-rows: 1fr;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
    border-radius: 10px;
  }

  .page-anchors__slider {
    min-height: 0;
    overflow: hidden;
    padding-top: 8px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .is-open .page-anchors__slider {
    overflow-y: auto;
    padding-bottom: 20px;
    max-height: calc(100vh - var(--header-height, 60px) - 40px - 20px);
  }

  .accordion__item {
    margin-bottom: 12px;
  }

  .implantation-steps-slider__item--wrapper {
    padding: 18px;
  }

  .implantation-steps-slider__item--image {
    height: 90px;
  }

  .implantation-steps-slider__item--image::before {
    font-size: 64px;
  }

  .page-text-block__content--image {
    display: block;
  }

  .page-text-block__content--image .text {
    width: 100%;
    padding-right: 0;
  }

  .page-text-block__content--image.left-image .text {
    padding-left: 0;
  }

  .page-text-block__content--image .image {
    width: 100%;
    max-width: none;
    margin-top: 22px;
    aspect-ratio: 1/0.6;
  }

  .page-text-block__content--image .image img {
    position: static;
  }

  .tooth-infoblock .image {
    max-height: 220px;
  }

  .inner-page-banner__content {
    width: 60%;
  }

  .doctor-profile__container {
    gap: 14px;
  }

  .doctor-profile {
    padding-bottom: 0;
  }

  .doctor-profile__header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .doctor-profile__card::before {
    border-bottom-left-radius: 12px;
  }

  .doctor-profile__actions {
    gap: 12px;
  }

  .doctor-profile__quote {
    margin-top: 0;
    margin-bottom: 40px;
    border-radius: 12px;
    padding: 40px 20px;
  }

  .doctor-profile__quote .quote__text {
    font-size: 14px;
  }

  .doctor-profile__quote .corner {
    display: none;
  }

  .doctor-profile__quote:before {
    left: 14px;
    top: 8px;
  }

  .doctor-profile__quote::after {
    display: block;
    right: 14px;
    bottom: 8px;
  }

  .doctor-profile ._desctop {
    display: none;
  }

  .dortor-profile-mobile__btn-appointment {
    margin-bottom: 40px;
  }

  .doctor-profile__status {
    position: relative;
    font-size: 20px;
    margin-bottom: 20px;
    padding: 14px;
  }

  .doctor-mobile-card {
    border-radius: 12px;
    background-color: #fff;
    padding: 40px;
    position: relative;
    overflow: hidden;
  }

  .doctor-mobile-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 48%;
    height: 100%;
    background: #fff url(img/doctor-profile-image-mobile.png) top center no-repeat;
    background-size: cover;
    transform: scaleX(-1);
  }

  .doctor-mobile-card__header {
    position: relative;
    z-index: 1;
  }

  .doctor-mobile-card__name {
    font-weight: 600;
    font-size: 32px;
    width: 60%;
  }

  .doctor-mobile-card__specialty {
    font-size: 16px;
    line-height: 1.2;
    color: var(--half-text-color);
    max-width: 280px;
  }

  .doctor-mobile-card__photo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    right: 10px;
    bottom: 0;
    height: calc(100% - 10px);
    width: 45%;
    object-fit: cover;
    object-position: top;
    z-index: 1;
  }

  .doctor-mobile-card__meta.doctor-profile__actions {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 50%;
    margin-top: 40px;
    position: relative;
    z-index: 1;
  }

  .doctor-mobile-card__meta.doctor-profile__actions .doctor-profile__badge,
  .doctor-mobile-card__meta.doctor-profile__actions .doctor-video-btn {
    height: 38px;
  }

  .dortor-profile-mobile__btn-appointment {
    width: 100%;
    margin-top: 20px;
  }

  .team-page-banner__button {
    height: auto;
    width: 300px;
  }
}

@media (max-width: 740px) {
  .form-image-section__image {
    flex: 0 0 48%;
  }

  .form-image-section__form {
    flex: 0 0 52%;
  }

  .form-image-bg .form-image-right__image {
    padding: 30px 15px;
    flex-basis: 50%;
  }

  .form-image-bg .form-image-right__form {
    flex-basis: 50%;
    padding-right: 15px;
  }

  .form-image-right__form {
    padding: 15px;
  }

  .form-image-right__image {
    padding-left: 15px;
    padding-right: 15px;
  }

  .form-image-left__wrapper {
    padding: 15px;
  }

  .form-image-left__form {
    padding-left: 15px;
  }

  .form-image-doctor {
    padding: 20px;
  }

  .form-image-doctor__form {
    flex-basis: 52%;
  }

  .form-image-doctor__photo--photo {
    left: -6%;
  }

  .form-image-doctor__photo--name {
    width: 240px;
  }

  .about-service-block__top {
    gap: 16px;
  }

  .certificates__slide {
    height: 180px !important;
  }

  .routes__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .routes__video-info {
    flex: 2;
  }

  .routes__video-preview {
    flex: 1.5;
    background: url(img/route-video-btn-bg.png) center center no-repeat;
    background-size: cover;
  }

  .contacts-block__main,
  .contacts-block__map-buttons {
    gap: 10px;
  }

  .contacts-block__big-text {
    font-size: 18px;
  }
}

@media (max-width: 720px) {
  .form-image-doctor._with-text .form-image-doctor__title {
    width: 250px;
  }

  .form-image-doctor._with-text .form-image-doctor__photo--photo {
    left: -4%;
  }

  .form-image-doctor:not(._with-text) .form-image-doctor__title {
    width: 100%;
  }

  .modal-form__wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-form__wrapper::before {
    width: 100%;
    height: 58%;
    background-size: contain;
  }

  .modal-form__caption p {
    position: absolute;
    max-width: 360px;
  }

  .profits-list {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .team-page-banner__wrapper {
    align-items: stretch;
    height: 390px;
  }

  .team-page-banner__content {
    width: 100%;
    padding: 40px 25px 25px 25px;
  }

  .team-page-banner__button {
    height: 60px;
  }

  .team-page-banner__title {
    flex-grow: 1;
  }

  .team-page-banner__bg {
    width: 62%;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .form-agree-container {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .header-mobile .header-phone,
  .header-mobile .footer-phone {
    font-size: 17px;
  }

  .profits-list__item {
    padding: 20px;
  }

  .profits-list__item--icon {
    width: 70px;
    height: 70px;
  }

  .licenses-block__text .licenses-block__btn {
    display: none;
  }

  .licenses-block > .licenses-block__btn {
    display: block;
    max-width: none;
    margin: 0 20px 20px 20px;
  }

  .screen-item {
    height: 200px;
  }

  .hello-block__name {
    width: 240px;
    bottom: -30px;
  }

  .hello-block__name .name {
    font-size: 18px;
  }

  .hello-block__name .profile {
    font-size: 13px;
  }

  .request-content {
    flex-direction: column;
    background-position: left bottom;
    overflow-y: visible;
  }

  .request-content__photo {
    left: auto;
    right: 0;
    height: 270px;
    width: 280px;
    bottom: auto;
    top: -35px;
  }

  .request-text__under {
    width: 100%;
  }

  .about-service-block__top {
    grid-template-columns: auto;
    gap: 0;
    margin-bottom: 20px;
  }

  .about-service-block__undertitle {
    max-width: none;
  }

  .about-service-block {
    gap: 0 20px;
  }

  .about-service-block__video {
    height: 100%;
    transform: none;
  }

  .budget-inner-block__item {
    height: 200px;
    padding: 28px 18px;
  }

  .budget-inner-block__item .decription .text {
    max-width: 240px;
  }

  .budget-inner-block__item.taxes {
    background-image: url(img/inner-taxes-mobile-bg.png);
  }

  .budget-inner-block__item.split {
    background-image: url(img/inner-split-mobile-bg.png);
  }

  .budget-inner-block__item .decription .title {
    width: 100%;
  }

  .budget-inner-block__item .decription .title::after {
    top: auto;
    right: auto;
    bottom: 20px;
    left: 18px;
  }

  .tooth-infoblock {
    margin-top: 40px;
    /*margin-bottom: 40px;*/
  }

  .tooth-infoblock__media {
    transform: translateX(-9%);
  }

  .tooth-infoblock__card::after {
    left: -10%;
  }

  .tooth-infoblock__card::before {
    left: -15%;
  }

  .about-team__content {
    display: block;
  }

  .about-team__slider-container .slider-arrows {
    position: relative;
    top: auto;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .about-team__slider-container .slider-arrows .slider-arrow {
    width: 46px;
    height: 46px;
  }

  .about-team {
    display: block;
  }

  .about-team__video {
    transform: none;
  }

  .about-team__video .phone-video {
    display: block;
    width: 284px;
    height: 570px;
    margin: 40px auto 0 auto;
  }

  .about-team__video .phone-video img {
    position: relative;
  }

  .about-team__slide a::before {
    padding-top: 70%;
  }
}

@media (max-width: 700.98px) {
  .request-content__form {
    flex: 0 0 100%;
    max-width: none;
    margin-top: 40px;
  }

  .request-content__text {
    margin-bottom: 32px;
  }

  .request-text__text {
    width: 60%;
  }
}

@media (max-width: 690px) {
  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .services-common__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  .form-image-doctor._with-text .form-image-doctor__photo--photo {
    left: -9%;
  }

  .prices-grid__aside-links {
    grid-template-columns: 1fr;
  }

  .doctor-mobile-card {
    padding: 30px 20px;
  }

  .doctor-mobile-card__name {
    font-size: 28px;
  }

  .doctor-mobile-card__specialty {
    width: 240px;
    font-size: 14px;
  }

  .contacts-block__main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contacts-block__contacts {
    padding-right: 22px;
    grid-template-columns: 1fr 1fr;
    gap: 30px 10px;
  }

  .contacts-block__item--address {
    grid-column: 1/span 2;
  }

  .contacts-block__map-wrapper {
    padding: 0 14px 14px;
  }
}

@media (max-width: 659.98px) {
  .profits-inner__item .profits-list__item--text {
    font-size: 16px;
  }

  .profits-inner__item .profits-list__item--title {
    font-size: 24px;
  }

  .implantation-steps-slider__item {
    margin-bottom: 20px;
  }

  .implantation-steps-slider__item:last-child {
    margin-bottom: 0;
  }

  .implantation-steps-slider-title .slider-arrows {
    display: none;
  }

  .implantation-steps-slider__wrapper,
  .implantation-steps-slider__item--wrapper {
    display: block;
  }
}

@media (max-width: 640px) {
  .form-field input,
  .form-field textarea {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .form-lable {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .form-image-left__image .contact-form-title,
  .form-image-right__image .contact-form-title {
    display: block;
    position: relative;
  }

  .form-image-right__form .contact-form-title,
  .form-image-left__form .contact-form-title {
    display: none;
  }

  .contact-form-title {
    text-align: center;
    font-size: 28px;
  }

  .form-image-section__wrapper {
    flex-direction: column;
  }

  .form-image-right__wrapper,
  .form-image-left__wrapper {
    background-image: none;
    position: relative;
  }

  .form-image-bg .form-image-right__wrapper {
    padding-top: 30px;
    background-image: none;
    position: relative;
  }

  .form-image-bg .form-image-right__wrapper::before {
    content: "";
    width: 100%;
    height: 70%;
    position: absolute;
    top: 0;
    left: 0;
    background: url(img/form-image-bg-desctop.jpg) top right no-repeat;
    background-size: 100% 58%;
    z-index: 0;
  }

  .form-image-bg .form-image-text {
    display: none;
  }

  .form-image-bg .form-image-right__form {
    padding-top: 0;
    padding-right: 0;
  }

  .form-image-bg .form-image-right__form::before {
    display: none;
  }

  .form-image-bg .form-image-right__image {
    padding: 0;
    flex: 240px;
  }

  .form-image-right__form {
    padding: 20px;
    order: 2;
    position: relative;
  }

  .form-image-right__form::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url(img/licenses-bg.svg) bottom center no-repeat;
    background-size: contain;
    z-index: 0;
  }

  .form-image-right__image {
    order: 1;
    padding: 20px 10px 0 10px;
    text-align: center;
  }

  .form-image-right__image .contact-form-title {
    display: block;
    position: relative;
    z-index: 1;
  }

  .form-image-right__image--caption {
    width: 86%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(230px, 56.5vw, 290px);
  }

  .form-image-right__image--bg {
    background-position: 50% 50%;
    background-size: contain;
    height: 94%;
  }

  .form-image-left__image {
    margin-bottom: 20px;
    padding-top: 20px;
    position: relative;
    border-radius: 10px;
  }

  .form-image-left__image::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url(img/licenses-bg.svg) top center no-repeat;
    background-size: contain;
    z-index: 0;
  }

  .form-image-left__image--bg {
    position: relative;
    border-radius: 10px;
    aspect-ratio: 1/1;
    max-height: 437px;
  }

  .form-image-section__wrapper {
    padding: 20px;
  }

  .form-image-left__form {
    padding-left: 0;
  }

  .form-image-doctor {
    padding: 20px;
    background-image: none;
  }

  .form-image-doctor::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 20px;
    left: 0;
    background: url(img/licenses-bg.svg) top center no-repeat;
    background-size: contain;
    z-index: 0;
  }

  .form-image-doctor__content {
    flex-direction: column;
  }

  .form-image-doctor__title {
    width: 100%;
    margin-bottom: 0 !important;
    text-align: center;
  }

  .form-image-doctor._with-text .form-image-doctor__title {
    font-size: 32px;
    width: 100%;
    max-width: none;
    position: relative;
  }

  .form-image-doctor._with-text .form-image-doctor__photo--photo {
    left: 0;
  }

  .form-image-doctor__photo {
    margin-bottom: 20px;
    position: relative;
  }

  .form-image-doctor__photo--photo {
    position: relative;
    left: auto;
    height: auto;
  }

  .form-image-doctor__photo--photo img {
    margin-left: auto;
    margin-right: auto;
    max-height: 437px;
    aspect-ratio: 1/1;
    display: block;
  }

  .form-image-doctor__photo--name {
    width: 100%;
    max-width: none;
    bottom: 0;
    left: 0;
  }

  .form-image-doctor__photo--name .name {
    width: 100%;
  }

  /*.modal-form__caption img {
    padding-top: 20px;
    transform: none;
  }*/

  .modal-form__wrapper {
    gap: 10px;
  }

  #scrollup {
    width: 32px;
    height: 32px;
  }

  .numbers-list,
  .team-numbers {
    grid-template-columns: 1fr;
  }

  .licenses-block__text p {
    max-width: none;
  }

  .screen-item {
    height: auto;
    aspect-ratio: 1/1.5;
  }

  .screen-item img {
    object-position: top;
  }

  .screen-item::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
  }

  .hello-block__wrapper {
    position: relative;
  }

  .hello-block__title {
    font-size: 16px;
    font-weight: 400;
    color: #545454;
    line-height: 1.4em;
    border-radius: 10px 10px 0 0;
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    padding: 22px 28px 15px 28px;
    margin-top: -5px;
  }

  .hello-block__content {
    display: block;
  }

  .hello-block__content--main {
    width: 100%;
    max-width: none;
    padding-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fff url(img/about-bg.svg) 15px 100% no-repeat;
    background-size: contain;
  }

  .hello-block__photo {
    position: relative;
    right: auto;
    width: 280px;
    height: 290px;
    z-index: -1;
    margin-left: 6%;
  }

  .hello-block__name {
    width: 260px;
    bottom: auto;
    top: 130px;
  }

  .hello-block__btn {
    top: 30px;
  }

  .hello-howto__title {
    font-size: 20px;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text {
    display: block;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text .left-part {
    width: 100%;
    max-width: none;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text .right-part {
    width: 100%;
    font-size: inherit;
    margin-top: 20px;
  }

  .about-service-block {
    grid-template-areas: "title" "steps" "video";
    grid-template-columns: 1fr;
  }

  .about-service-block__video .phone-video {
    margin: 20px auto 0 auto;
    display: block;
    max-height: 560px;
    width: 270px;
    max-width: none;
  }

  .about-service-block__video .phone-video img {
    position: relative;
  }
}

@media (max-width: 600px) {
  .header-mobile .container {
    flex-wrap: wrap;
    align-items: center;
  }

  .header-mobile .header-phone,
  .header-mobile .footer-phone {
    font-size: 24px;
  }

  .header-mobile .header-phone::before,
  .header-mobile .footer-phone::before {
    width: 37px;
    height: 34px;
  }

  .header-mobile .header-btn {
    font-size: 16px !important;
  }

  .header-mobile .site-version-toggle {
    width: 48px;
    height: 35px;
  }

  .header-mobile__logo {
    width: calc(100% - 62px);
  }

  .header-mobile__actions {
    order: 3;
    width: 100%;
    margin-top: 16px;
  }

  .footer-header__logo {
    width: 46%;
  }

  .footer-header__actions {
    max-width: 230px;
    width: 50%;
  }

  .footer-header__actions .footer-phone {
    font-size: 17px;
  }

  .footer-header__actions .footer-phone::before {
    width: 22px;
  }

  .footer-header__actions .site-version-toggle {
    width: 28px;
  }

  .footer-header__actions .footer-btn {
    font-size: 12px !important;
  }

  .licenses-block {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
  }

  .licenses-block::after {
    background-size: 80%;
    width: 100%;
    background-position: 120% 0%;
    left: 0;
  }

  .licenses-block__text {
    padding: 20px 0 20px 0;
    position: static;
  }

  .licenses-block__text .section-title,
  .licenses-block__text p {
    position: relative;
    z-index: 1;
  }

  .licenses-block > .licenses-block__btn {
    margin: 0;
  }

  .licenses-block__screens {
    padding: 0 0 20px 0;
  }

  .hello-block__photo {
    margin-left: 0;
  }

  .hello-block__name {
    width: 240px;
  }

  .hello-block__btn {
    width: 240px;
  }

  .hello-block__btn .play {
    right: 15px;
  }

  .prices-list {
    padding: 30px 20px;
  }

  .tooth-infoblock {
    display: block;
    position: relative;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .tooth-infoblock .image {
    max-height: 150px;
  }

  .tooth-infoblock__media {
    transform: none;
    text-align: center;
  }

  .tooth-infoblock__card--title {
    font-size: 16px;
    margin-bottom: 0;
  }

  .tooth-infoblock__card--text {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.56);
    padding: 46px 24px 16px 24px;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    width: 340px;
    top: 130%;
    z-index: 2;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
  }

  .tooth-infoblock__card {
    position: absolute;
    width: 127px;
    padding: 0;
    padding-bottom: 4px;
    border-radius: 0;
    border-bottom: 1px solid #456F93;
    background-color: transparent;
    margin-bottom: 0;
  }

  .tooth-infoblock__card:hover {
    background-color: transparent;
  }

  .tooth-infoblock__card:hover .tooth-infoblock__card--title {
    color: var(--blue);
  }

  .tooth-infoblock__card:hover .tooth-infoblock__card--title .subtext {
    color: #A8A8A8;
  }

  .tooth-infoblock__card:hover .tooth-infoblock__card--text {
    color: var(--half-text-color);
  }

  .tooth-infoblock__card.active .tooth-infoblock__card--text {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .tooth-infoblock__card.active::after {
    animation: none;
    opacity: 0;
  }

  .tooth-infoblock__card::after {
    top: auto;
    background-color: #456F93;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    z-index: 1;
    animation: dot-pulse 2s infinite ease-out;
  }

  .tooth-infoblock__card::before {
    top: auto;
    background-color: #456F93;
    width: 9px;
    height: 9px;
    border: 0;
  }

  .tooth-infoblock__card:nth-child(1) {
    left: 0;
    top: 30px;
  }

  .tooth-infoblock__card:nth-child(1) .tooth-infoblock__card--text {
    left: 0;
  }

  .tooth-infoblock__card:nth-child(1)::before {
    left: auto;
    right: -4px;
    bottom: -5px;
  }

  .tooth-infoblock__card:nth-child(1)::after {
    left: auto;
    right: -4px;
    bottom: -9px;
  }

  .tooth-infoblock__card:nth-child(2) {
    right: 0;
    top: 170px;
    text-align: right;
  }

  .tooth-infoblock__card:nth-child(2) .tooth-infoblock__card--text {
    right: 0;
    text-align: left;
  }

  .tooth-infoblock__card:nth-child(2)::before {
    left: -4px;
    bottom: -5px;
  }

  .tooth-infoblock__card:nth-child(2)::after {
    left: -4px;
    bottom: -9px;
  }

  .tooth-infoblock__card:nth-child(3) {
    left: 0;
    bottom: 120px;
  }

  .tooth-infoblock__card:nth-child(3) .tooth-infoblock__card--text {
    left: 0;
    top: 150%;
  }

  .tooth-infoblock__card:nth-child(3) .subtext {
    position: absolute;
    left: 0;
    bottom: -20px;
  }

  .tooth-infoblock__card:nth-child(3)::before {
    left: auto;
    right: -4px;
    bottom: -5px;
  }

  .tooth-infoblock__card:nth-child(3)::after {
    left: auto;
    right: -4px;
    bottom: -9px;
  }

  .tooth-infoblock__card--close {
    display: block;
    border-radius: 4px;
    border: 2px solid var(--blue);
    color: var(--blue);
    position: absolute;
    right: 24px;
    top: 16px;
    height: 20px;
    width: 20px;
  }

  .tooth-infoblock__card--close svg {
    stroke: currentColor;
    stroke-width: 2px;
    width: 100%;
    height: 100%;
  }

  .inner-page-banner::before {
    content: "";
    width: 60%;
    height: 60%;
    position: absolute;
    top: 0;
    right: 0;
    background: url(img/licenses-bg.svg) top center no-repeat;
    background-size: contain;
    z-index: 0;
  }

  .inner-page-banner__title,
  .inner-page-banner__text {
    position: relative;
    z-index: 1;
  }

  .inner-page-banner__bg {
    position: relative;
    aspect-ratio: 1/0.84;
  }

  .inner-page-banner__bg img {
    object-position: top;
  }

  .inner-page-banner__content {
    width: 100%;
    padding: 30px 25px 0 25px;
    position: static;
  }

  .inner-page-banner__text {
    width: 100%;
    margin-bottom: 28px;
  }

  .inner-page-banner__button {
    position: absolute;
    z-index: 1;
    left: 25px;
    bottom: 50px;
    width: calc(100% - 50px);
  }
}

@media (max-width: 600.98px) {
  .certificates {
    background-color: transparent;
    padding: 0;
  }

  .certificates__slider-container .slider-arrows {
    position: relative;
    display: flex;
    justify-content: center;
    right: auto;
    top: auto;
    margin-top: 20px;
  }

  .certificates__slider-container .slider-arrows .slider-arrow {
    border: 0;
    width: 46px;
    height: 46px;
  }

  .certificates__slider-container .swiper-pagination._gray .swiper-pagination-bullet {
    background-color: #fff;
  }

  .certificates__slider-container .swiper-pagination._gray .swiper-pagination-bullet-active {
    background-color: var(--orange);
  }

  .certificates__slide {
    height: 230px !important;
    background-color: #fff;
  }

  .certificates__image-wrapper::after {
    width: 40px;
    height: 40px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
  }
}

@media (max-width: 579.98px) {
  .slider-title {
    padding-right: 0;
  }

  .slider-arrows {
    display: none;
  }

  .services-item.services-inner-item::after {
    display: block;
    top: 20px;
    right: 20px;
    background-image: var(--arrow-target-blue);
    border-color: var(--blue);
  }

  .services-item.services-inner-item:hover::after {
    background-image: var(--arrow-target-white);
    border-color: #fff;
    background-color: #FD9366;
    filter: brightness(1);
  }

  .services-item.services-inner-item .services-item__title {
    font-size: 24px;
    padding-right: 0;
  }

  .services-item.services-inner-item .services-item__title::after {
    display: none;
  }

  .services-item.services-inner-item .services-item__icon {
    width: 48px;
    height: 48px;
  }

  #about-clinic {
    margin-bottom: 0;
  }

  .work-item {
    display: flex;
    justify-content: center;
  }

  .budget-care-link {
    margin-bottom: 15px;
  }

  .budget-care-link:last-child {
    margin-bottom: 0;
  }

  .budget-care-link.warranty {
    padding-left: 20px;
  }

  .budget-care-link.taxes .text {
    width: 100%;
  }

  .budget-care-link {
    display: block;
    height: 204px;
    padding-top: 24px;
  }

  .budget-care-link::after {
    top: 26px;
    right: 16px;
  }

  .budget-care-link .title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .budget-care-link .text {
    font-size: 16px;
  }

  .budget-care-link.taxes .text {
    max-width: 240px;
  }

  .budget-care-link.warranty .title {
    margin-bottom: 5px;
  }
}

@media (max-width: 576px) {
  .form-modal {
    padding: 40px 15px !important;
  }

  /*.modal-form__caption p {
    position: static;
  }

  .modal-form__caption img {
    padding-top: 0;
  }*/

  .header-fixed__container {
    justify-content: space-between;
  }

  .header-fixed__logo {
    flex-basis: 190px;
  }

  .header-fixed__actions {
    display: none;
  }

  .accordion__text {
    padding: 0 15px 24px 15px;
  }

  .qualification__item {
    margin-bottom: 0;
  }

  .doctor-profile__bio::after {
    top: 20%;
    right: 0;
    background-position: center center;
  }

  .doctor-profile__quote .quote__text {
    font-size: 12px;
  }

  .doctor-profile__quote::after {
    right: 4px;
    bottom: 8px;
  }

  .doctor-profile__quote::before {
    top: 10px;
    left: 4px;
  }

  .contacts-block__contacts {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contacts-block__item--address {
    grid-column: 1;
  }

  .is-active .team-select__trigger {
    font-size: 20px;
    align-items: flex-start;
  }

  .team-select__trigger-arrow {
    margin-top: 3px;
  }

  .team-select__content--text {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
    line-height: 1.4;
  }
}

@media (max-width: 560px) {
  .request-content__photo {
    top: -26px;
    transform: translateX(12%);
  }

  .request-content__text {
    margin-bottom: 42px;
  }
}

@media (max-width: 540px) {
  .footer-footer {
    text-align: left;
  }

  .footer-copyright {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .footer-legal-links a {
    display: block;
    font-size: 14px;
    margin-bottom: 14px;
  }

  .footer-legal-links a:nth-child(2) {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-disclaimer {
    margin-top: 25px;
  }

  .howto-ways {
    padding: 14px 5%;
  }
}

@media (max-width: 520px) {
  .hello-block__photo {
    margin-left: -15px;
  }

  .request-content__form {
    margin-top: 30px;
  }
}

@media (max-width: 510px) {
  .request-content__text {
    margin-bottom: 26px;
  }
}

@media (max-width: 500px) {
  .budget-inner-block {
    grid-template-columns: auto;
    height: fit-content;
    grid-template-rows: 1fr 1fr;
  }

  .budget-inner-block__item {
    height: auto;
  }

  .budget-inner-block__item.taxes {
    background-image: url(img/inner-taxes-planshet-bg.png);
  }

  .budget-inner-block__item.split {
    background-image: url(img/inner-split-planshet-bg.png);
  }

  .budget-inner-block__item .decription .title::after {
    top: 20px;
    right: 18px;
    bottom: auto;
    left: auto;
  }

  .contacts-block__map-buttons {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 0 14px 14px;
  }
}

@media (max-width: 490px) {
  .routes__video-info {
    flex: 4;
  }

  .routes__video-preview {
    flex: 1;
    background: var(--blue);
  }
}

@media (max-width: 480px) {
  #scrollup{
    right: 10px;
    bottom: 100px;
  }
  .contact-form-title {
    font-size: 24px;
  }

  .form-image-right__image {
    padding-bottom: 10px;
  }

  .form-image-right__form,
  .form-image-section__wrapper {
    padding: 10px;
  }

  .form-image-doctor {
    padding: 30px 15px 15px;
  }

  .footer-header {
    display: block;
    text-align: center;
  }

  .footer-header__actions {
    width: 100%;
    max-width: none;
    margin-top: 15px;
  }

  .footer-header__actions .footer-btn {
    font-size: 16px !important;
  }

  .footer-header__actions .footer-phone {
    font-size: 24px;
  }

  .footer-header__actions .footer-phone::before {
    width: 37px;
    height: 34px;
  }

  .footer-header__actions .site-version-toggle {
    width: 48px;
    height: 33px;
  }

  .doctor-card__wrapper {
    max-width: none;
  }

  .doctor-card__link {
    margin-top: 30px;
  }

  .map-wrapper {
    height: 386px;
  }

  .works-tabs-nav {
    gap: 10px 20px;
  }

  .works-tab-btn {
    flex: 1 1 150px;
  }

  .request-content__photo {
    top: 26px;
    transform: translateX(6%);
  }

  .request-content__text {
    margin-bottom: 46px;
  }

  .request-text__text {
    width: 190px;
  }

  .request-text__under {
    width: 120px;
  }

  .howto-ways .socials {
    gap: 5px;
  }

  .prices-table-stripted .prices-list .prices-item {
    grid-template-columns: auto 90px;
    gap: 6px;
  }

  .prices-table-stripted .prices-list .prices-item__price {
    text-align: right;
  }

  .prices-list {
    padding: 20px 10px;
  }

  .prices-item {
    grid-template-columns: auto;
    gap: 12px;
  }

  .prices-item__price {
    text-align: left;
  }

  .page-text-block__content--image .image {
    aspect-ratio: 1/0.7;
  }

  .inplantation-types__item {
    padding: 20px 20px 60px 20px;
  }

  .inplantation-types__item::after {
    top: auto;
    bottom: 20px;
    right: 20px;
  }

  .inplantation-types__item .title {
    margin-bottom: 18px;
  }

  .doctor-mobile-card {
    padding: 20px 20px 0 20px;
  }

  .doctor-mobile-card::after {
    top: 40px;
    transform: none;
    width: 100%;
    background-position: center center;
    background-size: contain;
  }

  .doctor-mobile-card__name {
    width: 100%;
    font-size: 32px;
  }

  .doctor-mobile-card__specialty {
    width: 100%;
    font-size: 16px;
  }

  .doctor-mobile-card__photo {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 20px;
  }

  .doctor-mobile-card__photo-wrapper {
    position: relative;
  }

  .doctor-mobile-card__meta.doctor-profile__actions {
    grid-template-columns: minmax(120px, 0.6fr) auto;
    gap: 15px;
    width: 100%;
    position: absolute;
    bottom: 20px;
    left: 0;
  }

  .contacts-block__big-text {
    font-size: 20px;
  }

  .team-page-banner__wrapper {
    height: 490px;
  }

  .team-page-banner__content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .team-page-banner__bg,
  .team-page-banner__button {
    width: 100%;
  }

  .team-page-banner__title {
    text-align: center;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .prices-section__aside-links {
    flex-direction: column;
  }

  .prices-section__aside-link {
    flex: 1;
    max-width: none;
  }
}

@media (max-width: 479.98px) {
  .header {
    max-width: none;
  }
}

@media (max-width: 460px) {
  .modal-form__caption {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .modal-form__wrapper {
    gap: 0;
  }

  .hello-block__title {
    padding-top: 28px;
  }

  .hello-block__photo {
    margin-left: 0;
    max-height: 510px;
    height: auto;
    width: 100%;
    margin-bottom: 30px;
    z-index: 1;
  }

  .hello-block__photo .hello-block__name,
  .hello-block__photo .hello-block__btn {
    display: block;
  }

  .hello-block__photo .hello-block__name {
    top: auto;
    bottom: 0;
    padding: 26px 15% 26px 24px;
  }

  .hello-block__photo .hello-block__btn {
    top: auto;
    bottom: -38px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }

  .hello-block__photo .hello-block__btn .play {
    width: 68px;
    height: 68px;
    right: 12%;
  }

  .hello-block__content--sidebar {
    display: none;
  }

  .hello-block__name {
    width: 100%;
    max-width: none;
  }

  .hello-block__name .name {
    font-size: 20px;
  }

  .hello-block__name .profile {
    font-size: 14px;
  }

  .hello-block__btn {
    width: 100%;
    padding: 14px 38px;
  }

  .hello-block__btn .play {
    width: 78px;
    height: 78px;
    right: 15%;
  }

  .prices-grid__aside-links {
    margin-top: 20px;
    gap: 14px;
  }

  .inner-page-banner__content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .inner-page-banner__bg {
    aspect-ratio: 1/1;
  }
}

@media (max-width: 440px) {
  .form-image-bg .form-image-right__wrapper::before {
    background-image: url(img/form-image-bg-mobile.png);
    height: 76%;
    background-size: 100% 90%;
  }

  .form-image-bg .form-image-right__image {
    flex: 290px;
  }

  .screen-item {
    width: 49.5%;
  }

  .screen-item:nth-child(1) {
    margin-right: 1%;
  }

  .hello-block__content--main {
    padding: 0 24px 22px 24px;
  }

  .howto-tabpanel__content--first-panel {
    padding-left: 0;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text {
    padding-right: 0;
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__text .right-part {
    padding-left: var(--pd-side);
    padding-right: var(--pd-side);
  }

  .howto-tabpanel__content--first-panel .howto-tabpanel__title,
  .howto-tabpanel__content--first-panel .howto-tabpanel__text .left-part > p {
    padding-left: var(--pd-side);
    padding-right: var(--pd-side);
  }

  .howto-ways {
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px;
    margin-top: 12px;
  }

  .howto-ways__text {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .budget-inner-block__item .decription .text {
    max-width: 200px;
  }
}

@media (max-width: 400px) {
  .request-content__photo {
    transform: translateX(20%);
  }
}

@media (max-width: 399.98px) {
  .rating-slider__item {
    max-height: 100px;
  }

  .rating-slider__item:before {
    padding-top: 25%;
  }
}

@media (max-width: 390px) {
  .form-image-doctor {
    padding: 30px 10px 10px;
  }

  #cookie_notification {
    right: 50%;
    transform: translateX(50%);
  }

  .licenses-block::after {
    background-size: 100%;
  }

  .budget-inner-block__item {
    height: 200px;
    padding: 28px 22px;
  }

  .budget-inner-block__item .decription .title {
    font-size: 24px;
  }

  .budget-inner-block__item .decription .text {
    font-size: 16px;
    max-width: 240px;
  }

  .budget-inner-block__item.taxes {
    background-image: url(img/inner-taxes-mobile-bg.png);
  }

  .budget-inner-block__item.split {
    background-image: url(img/inner-split-mobile-bg.png);
  }

  .budget-inner-block__item .decription .title::after {
    top: auto;
    right: auto;
    bottom: 20px;
    left: 18px;
  }

  .certificates__slide {
    height: 210px !important;
  }
}

@media (max-width: 389.98px) {
  .tooth-infoblock__card--text {
    width: 320px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 380px) {
  .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .header-phone,
  .footer-phone {
    font-size: 20px;
  }

  .profits-list__item--icon.profits-inner__item--icon {
    width: 70px;
    height: 70px;
  }

  .profits-inner__item .profits-list__item--text {
    font-size: 14px;
  }

  .profits-inner__item .profits-list__item--title {
    font-size: 20px;
  }

  .review-video__wrapper {
    max-height: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 370px) {
  .budget-care-link {
    height: 180px;
  }

  .budget-care-link .title {
    font-size: 22px;
  }

  .budget-care-link .text {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .form-image-doctor._with-text .form-image-doctor__title {
    font: 30px;
  }

  .inner-page-h1 {
    font-size: 32px;
  }

  .request-text__text {
    width: 160px;
    font-size: 14px;
  }

  .doctor-mobile-card__meta.doctor-profile__actions {
    gap: 8px;
  }

  .doctor-mobile-card {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 350px) {
  .header-mobile {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header-mobile .header-phone,
  .header-mobile .footer-phone {
    font-size: 20px;
  }

  .header-mobile .header-phone::before,
  .header-mobile .footer-phone::before {
    width: 30px;
  }

  .header-mobile .site-version-toggle {
    width: 40px;
  }

  .header-mobile .header-btn {
    margin-top: 10px;
  }

  .header-mobile__actions {
    margin-top: 10px;
  }
}

@media (max-width: 346px) {
  .tooth-infoblock__card--text {
    width: 290px;
  }
}

@media (max-width: 340px) {
  .footer-header__actions .footer-phone {
    font-size: 22px;
  }

  .footer-header__actions .footer-phone::before {
    width: 36px;
    height: 30px;
  }

  .footer-header__actions .site-version-toggle {
    width: 40px;
    height: 30px;
  }
}

@media (max-width: 991.98px) and (min-width: 690px) {
  .form-button {
    padding-top: 1.2em !important;
    padding-bottom: 1.2em !important;
  }
}

@media (min-width: 768px) and (max-width: 1159.98px) {
  .main-menu__item {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .main-menu__item {
    font-size: 12px;
  }

  .main-menu__dropdown {
    padding: 15px;
    min-width: 320px;
  }

  .mega-panel {
    grid-template-columns: 1fr 1fr;
  }

  .mega-panel__sub-list {
    padding: 15px;
  }

  .mega-panel__decor {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .mega-panel__sub-item:first-child a {
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .mega-panel__sub-item:first-child a {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (min-width: 768px) and (max-width: 1159.98px) {
  .main-menu__item--has-dropdown .main-menu__holder {
    margin-left: -4px;
  }
}

@media (max-width: 600px) and (min-width: 480px) {
  .header-mobile__buttons {
    display: grid;
    grid-template-columns: 40px auto 174px;
    gap: 10px;
  }

  .header-mobile__buttons .site-version-toggle {
    width: 40px;
  }

  .header-mobile__buttons .header-phone,
  .header-mobile__buttons .footer-phone {
    font-size: 18px;
  }

  .header-mobile__buttons .header-phone::before,
  .header-mobile__buttons .footer-phone::before {
    width: 30px;
  }

  .header-mobile__buttons .header-btn {
    font-size: 13px !important;
    margin-top: 0;
  }
}

@media (max-width: 1100px) and (min-width: 992px) {
  .doctor-card__wrapper {
    padding: 20px 14px;
  }

  .doctors-grid__item .doctor-card__photo,
  .team-slider__item .doctor-card__photo {
    height: 350px;
  }

  .doctor-card__rating .stars {
    width: 86px;
  }

  .doctor-card__link {
    margin-top: 40px;
  }
}

@media (max-width: 690px) and (min-width: 500px) {
  .doctor-card__wrapper {
    height: 400px;
    padding: 30px 20px;
  }

  .doctor-card__photo {
    height: 340px !important;
  }

  .doctor-card__link {
    margin-top: 20px;
  }

  .doctor-card__name {
    width: 66%;
  }

  .doctors-grid__item .doctor-card__name,
  .team-slider__item .doctor-card__name {
    margin-top: 40px;
  }

  .main-doctor-card .doctor-card__name {
    font-size: 30px;
  }

  .main-doctor-card .doctor-card__profile {
    margin-top: 0;
    margin-bottom: 30px;
  }

  .doctors-grid__item .doctor-experience-badge {
    background-color: var(--bg-color);
  }

  .assistants-grid .doctor-card__wrapper,
  .managers-grid .doctor-card__wrapper {
    background-position: center left;
    background-size: 55%;
  }

  .assistants-grid__item--text {
    min-height: auto;
    font-size: 12px;
  }
}

@media (max-width: 690px) and (min-width: 500px) and (max-width: 480px) {
  .doctors-grid__item .doctor-card__name,
  .team-slider__item .doctor-card__name {
    margin-top: 10px;
  }

  .main-doctor-card .doctor-card__name {
    width: 100%;
  }
}

@media (max-width: 767.98px) and (min-width: 580px) {
  .budget-care-link {
    padding-left: 18px;
    padding-right: 18px;
  }

  .budget-care-link .title {
    font-size: 20px;
  }
}

@media (max-width: 900px) and (min-width: 768px) {
  .budget-care-link.warranty {
    background-size: cover;
    background-position: left bottom;
  }
}

@media (max-width: 1159.98px) and (min-width: 580px) {
  .budget-care-link.taxes .text {
    width: 240px;
  }

  .budget-care-link.split .text {
    width: 240px;
  }
}

@media (max-width: 1159.98px) and (min-width: 992px) {
  .request-text__text {
    width: 56%;
    font-size: 18px;
  }
}

@media (max-width: 899.98px) and (min-width: 768px) {
  .howto-tabpanel__text {
    padding-right: 10px;
  }
}

@media (max-width: 1023.98px) and (min-width: 641px) {
  .about-service-block__video .phone-video__play-btn {
    width: 40px;
    height: 40px;
  }

  .about-service-block__video .phone-video__play-btn svg {
    width: 12px;
    height: 14px;
  }
}

@media (max-width: 1023.98px) and (min-width: 701px) {
  .about-team__video .phone-video__play-btn {
    width: 40px;
    height: 40px;
  }

  .about-team__video .phone-video__play-btn svg {
    width: 12px;
    height: 14px;
  }
}

@media (max-width: 1023.98px) and (min-width: 768px) {
  .doctor-profile__card {
    position: sticky;
    top: 30px;
  }

  .doctor-profile__card._staff-doctor {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
  }

  .doctor-profile__card._staff-doctor::before {
    aspect-ratio: auto;
    height: 100%;
    background-size: contain;
  }
}

@media (max-width: 720px) and (min-width: 480px) {
  .work-item__photos {
    flex-direction: row;
  }

  .work-item__photo {
    width: 48%;
  }

  .work-item__photo--before {
    margin-bottom: 0;
  }

  .work-item__process-photos {
    grid-template-columns: 1fr 1fr;
  }

  .work-item__process-photos.three-elements {
    grid-template-columns: 1fr 1fr 1fr;
  }
}