@charset "UTF-8";
/* Обнуление стилей */
* {
  padding: 0;
  margin: 0;
  border: 0;
}

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

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  width: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
}

input,
button,
textarea {
  font-family: inherit;
}

textarea {
  resize: none;
}

button {
  cursor: pointer;
}

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

a,
a:visited {
  text-decoration: none;
}

ul li {
  list-style: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

picture {
  display: block;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

main {
  display: block;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: 600;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
  display: block;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.compensate-for-scrollbar {
  padding-right: 0 !important;
}

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

a,
button {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
  cursor: pointer;
  background: none;
  font-weight: inherit;
  font-size: inherit;
}

select {
  background-color: inherit;
}

blockquote {
  margin: 0;
}

button {
  border: none;
  font-family: inherit;
  margin: 0;
  padding: 0;
  font-size: inherit;
}

textarea {
  outline: none;
  border: none;
  resize: none;
}

textarea:focus {
  outline-width: 0;
}

input::-moz-placeholder {
  font-size: inherit;
  font-weight: 400;
  font-family: inherit;
  border: none;
  outline: none;
}

input,
input::placeholder {
  font-size: inherit;
  font-weight: 400;
  font-family: inherit;
  border: none;
  outline: none;
}

input::-moz-placeholder {
  color: inherit;
}

input::placeholder {
  color: inherit;
}

picture {
  display: block;
}

ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  margin-block-end: 0;
  margin-block-start: 0;
}

ul li {
  list-style-type: none;
}

ol {
  margin: 0;
  padding: 0;
}

ol li {
  list-style-position: inside;
}

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;
}

*,
*::after,
*::before {
  padding: 0;
  margin: 0;
}

@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Bold.woff2") format("woff2"),
    url("../fonts/Onest-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-SemiBold.woff2") format("woff2"),
    url("../fonts/Onest-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Medium.woff2") format("woff2"),
    url("../fonts/Onest-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Regular.woff2") format("woff2"),
    url("../fonts/Onest-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* glob  */
:root {
  --white: #ffffff;
  --black: #220002;
  --main: #bf1f1f;
  --main-dark: #a71d1d;
  --text-accent: #802020;
  --background: #fbf6f6;
  --background-icon: #bf1f1f1a;
  --hover: #9f0d0d;
  --border: #22000221;
}

body {
  position: relative;
  font-family: "Onest", sans-serif;
  color: var(--black);
  font-size: 18px;
  line-height: 130%;
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1720px;
}

.section-offset {
  margin: 140px 0;
}

h1,
h2,
h3,
h4,
h5,
.title,
.title--secondary,
.title--third {
  color: var(--text-accent);
}

.title {
  font-weight: 700;
  font-size: 60px;
  line-height: 110%;
}

.title--secondary {
  font-weight: 600;
  font-size: 48px;
  line-height: 110%;
  text-align: center;
}

.title--third {
  font-weight: 600;
  font-size: 40px;
  line-height: 110%;
}

.no-scroll {
  overflow-y: hidden;
}

.no-scroll::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.541);
  z-index: 2;
}

.block-accent {
  margin: 0 auto;
  max-width: 1880px;
  color: var(--white);
  background-color: var(--main);
  border-radius: 40px;
}

.block-accent .title--secondary,
.block-accent .title--third {
  text-align: left;
  color: var(--white);
}

.button {
  padding: 14px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: -moz-max-content;
  min-width: max-content;
  min-height: 60px;
  font-weight: 700;
  line-height: 130%;
  background-color: var(--main);
  color: var(--white);
  text-align: center;
  border-radius: 12px;
  transition: background-color 0.7s;
}

.button--inverse {
  color: var(--main);
  background-color: var(--white);
  transition: opacity 0.7s;
}

.button--small {
  padding: 0;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-icon);
  border-radius: 12px;
}

.button:hover {
  background: var(--hover);
  transition: background-color 0.7s;
}

.button--small:hover {
  background-color: var(--main);
  transition: background-color 0.7s;
}

.button--small:hover .header__icon {
  fill: var(--white);
}

.button--inverse:hover {
  background-color: var(--white);
  opacity: 0.8;
  transition: opacity 0.7s;
}

.button--more {
  margin: 0 auto;
  margin-top: 32px;
  width: 300px;
}

.button--calc {
  color: var(--black);
  background-color: rgba(34, 0, 2, 0.0509803922);
}
.button--calc:hover {
  background-color: rgba(34, 0, 2, 0.2117647059);
}

.button[disabled] {
  background-color: rgba(188, 29, 29, 0.5490196078);
  cursor: default;
}
.button[disabled]:hover {
  background-color: rgba(188, 29, 29, 0.5490196078);
}

.button--calc.button[disabled] {
  background-color: rgba(34, 0, 2, 0.0509803922);
}
.button--calc.button[disabled]:hover {
  background-color: rgba(34, 0, 2, 0.0509803922);
}

.input {
  padding: 19px 20px;
  width: 100%;
  height: 60px;
  font-size: 18px;
  background-color: var(--background);
  border-radius: 12px;
}

.input::-moz-placeholder {
  font-size: 18px;
  line-height: 130%;
  color: rgba(34, 0, 2, 0.4);
}

.input::placeholder {
  font-size: 18px;
  line-height: 130%;
  color: rgba(34, 0, 2, 0.4);
}

textarea {
  padding: 19px 20px;
  width: 100%;
  resize: none;
  font-size: 18px;
  background-color: var(--background);
  border-radius: 12px;
  margin-top: 20px;
}

textarea::-moz-placeholder {
  font-size: 18px;
  line-height: 130%;
  color: rgba(34, 0, 2, 0.4);
}

textarea::placeholder {
  font-size: 18px;
  line-height: 130%;
  color: rgba(34, 0, 2, 0.4);
}

input[type="checkbox"] {
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  min-width: 18px;
  height: 18px;
  left: 0;
  top: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
}

input[type="checkbox"]:checked {
  background-color: var(--main);
}

input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url("../../assets/img/icons/stack.svg#check");
}

address {
  font-style: normal;
}

.list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.list li {
  padding-left: 17px;
  position: relative;
}

.list li::before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: var(--accent);
  border-radius: 50%;
}

.form {
  position: relative;
  padding: 28px 32px 20px 32px;
  color: rgba(34, 0, 2, 0.6);
  background-color: var(--white);
  border-radius: 24px;
}
.form__title {
  margin-bottom: 24px;
  padding: 0 50px;
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
  color: var(--text-accent);
  text-align: center;
}
.form__label {
  position: relative;
  width: 100%;
}
.form__label--agree {
  display: flex;
  gap: 12px;
}
.form__agree {
  width: 100%;
  font-size: 14px;
  line-height: 130%;
}
.form__input {
  width: 100%;
}
.form__input::-moz-placeholder {
  color: rgba(34, 0, 2, 0.4);
}
.form__input::placeholder {
  color: rgba(34, 0, 2, 0.4);
}
.form__button {
  margin-top: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  display: none;
}

.slider-navigation {
  display: flex;
  gap: 20px;
}

.swiper-button-prev,
.swiper-button-next {
  position: relative;
  margin: 0;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--main);
  cursor: pointer;
}

.block-accent .swiper-button-prev,
.block-accent .swiper-button-next {
  background-color: var(--white);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 0.8;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 16px;
  background-color: var(--white);
}

.block-accent .swiper-button-next::after,
.block-accent .swiper-button-prev::after {
  background-color: var(--main);
}

.about__slider .swiper-button-next,
.about__slider .swiper-button-prev {
  background-color: var(--main);
}

.about__slider .swiper-button-next::after,
.about__slider .swiper-button-prev::after {
  background-color: var(--white);
}

.swiper-button-next::after {
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#slider-right");
  mask-image: url("../../assets/img/icons/stack.svg#slider-right");
}

.swiper-button-prev::after {
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#slider-left");
  mask-image: url("../../assets/img/icons/stack.svg#slider-left");
}

::-webkit-scrollbar-track {
  background-color: rgba(191, 31, 31, 0.2);
}

::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background-color: var(--main);
}

::-webkit-scrollbar {
  border-radius: 20px;
  height: 8px;
  width: 8px;
}

summary::marker {
  content: "";
}

summary::-webkit-details-marker {
  display: none;
}
@keyframes transformItem {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.transform-item {
  opacity: 0;
}

.animation-active.transform-item {
  opacity: 1;
  animation: transformItem 0.4s forwards;
}

.animation-active.transform-item:nth-child(2n) {
  animation: transformItem 0.45s forwards;
}

.animation-active.transform-item:nth-child(3n) {
  animation: transformItem 0.55s forwards;
}

.animation-active.transform-item:nth-child(5n) {
  animation: transformItem 0.65s forwards;
}

.animation-active.transform-item:nth-child(7n) {
  animation: transformItem 0.75s forwards;
}
@keyframes animationBtn {
  0% {
    left: -55px;
  }
  100% {
    left: calc(100% + 50px);
  }
}
@media (max-width: 1750px) {
  .container {
    padding: 0 16px;
  }
}
@media (max-width: 1023px) {
  .main {
    position: relative;
    padding-top: 74px;
  }
  .section-offset {
    margin: 64px 0;
  }
  .title {
    font-size: 32px;
    line-height: 111%;
  }
  .title--secondary,
  .title--third {
    line-height: 110%;
  }
  .title--secondary {
    font-size: 24px;
  }
  .title--third {
    font-size: 22px;
  }
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    margin-top: 16px;
    display: flex;
    width: 100%;
  }
  .swiper-pagination-bullet {
    width: auto;
    background-color: var(--main);
    opacity: 0.3;
    width: 32%;
    height: 8px;
    border-radius: 20px;
  }
  .swiper-pagination-bullet-active {
    background-color: var(--main);
    opacity: 1;
  }
  .block-accent .swiper-pagination-bullet {
    background-color: var(--white);
  }
  .block-accent .swiper-pagination-bullet-active {
    background-color: var(--white);
  }
  .about__slider .slider-navigation,
  .doctor-inner__slider .slider-navigation {
    display: none;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .main {
    overflow-x: hidden;
  }
  .button {
    padding: 12px 19px;
    min-height: 52px;
  }
  .button--more {
    margin: 0;
    margin-top: 32px;
    width: 100%;
  }
  .block-accent {
    border-radius: 24px;
  }
  .block-accent .title--secondary,
  .block-accent .title--third {
    text-align: center;
  }
  .input {
    height: 52px;
  }
  .form {
    padding: 20px 16px 14px 16px;
    border-radius: 16px;
  }
  .form__title {
    margin-bottom: 16px;
    padding: 0;
    font-size: 18px;
  }
  .form__label {
    position: relative;
    width: 100%;
  }
  .form__button {
    margin-bottom: 16px;
  }
  .slider-navigation {
    display: none;
  }
  ::-webkit-scrollbar {
    display: none;
  }
}
/* header */
.header__top {
  padding: 21px 0 17px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.header__top-text {
  position: relative;
  padding-left: 29px;
  font-size: 17px;
  font-weight: 500;
  color: var(--main);
}

.header__top-text::before {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  left: 0;
  top: 0;
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#clock");
  mask-image: url("../../assets/img/icons/stack.svg#clock");
  background-color: var(--main);
  z-index: -1;
}

.header__top-text span {
  font-weight: 400;
  color: var(--black);
}

.header-socials {
  display: flex;
  gap: 20px;
  width: -moz-max-content;
  width: max-content;
}

.header-socials__link {
  display: inline-block;
  font-size: 17px;
  color: var(--main);
  border-bottom: 1px solid var(--main);
}

.header-socials__link:hover {
  color: var(--hover);
}

.header__bottom {
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  margin-right: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 215px;
  height: 60px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  color: var(--text-accent);
  white-space: nowrap;
}

.logo__text span {
  font-weight: 400;
  font-size: 18px;
  color: var(--main);
}

.main-navigation {
  margin-right: 32px;
  width: -moz-max-content;
  width: max-content;
}

.main-navigation__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 34px;
}

.main-navigation__item {
  position: relative;
  padding: 19px 0;
}

.main-navigation__link {
  position: relative;
  display: flex;
  cursor: pointer;
}

.main-navigation__link:hover {
  color: var(--main);
}

.submenu {
  padding-right: 20px;
  position: relative;
}

.submenu:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 10px;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#menu-right");
  mask-image: url("../../assets/img/icons/stack.svg#menu-right");
  background-color: var(--black);
}

.submenu__wrapper {
  position: absolute;
  top: 99%;
  left: -24px;
  padding: 20px 24px;
  display: flex;
  background-color: var(--white);
  border: 1px solid rgba(167, 29, 29, 0.2);
  border-radius: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 4;
  min-width: 300px;
}

.submenu.opened + .submenu__wrapper {
  opacity: 1;
  visibility: visible;
}

.submenu.opened.submenu:after {
  right: 2px;
  top: 30%;
  transform: rotate(270deg);
  transition: transform 0.7s;
  opacity: 0.6;
}

.submenu__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.submenu__item {
  position: relative;
}

.submenu__link {
  position: relative;
  display: inline-block;
  padding-right: 15px;
  width: 100%;
  cursor: pointer;
}

.arrow {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  /* background-image: url("../../assets/img/icons/stack.svg#menu-right"); */
}

.arrow img {
	width: 100%;
	height: 100%;
}

.submenu__link:hover,
.submenu-services__link:hover {
  color: var(--main);
}

.submenu-services {
  position: absolute;
  right: -410px;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: fit-content;
  opacity: 0;
  visibility: hidden;
  border-bottom-right-radius: 24px;
  overflow-y: auto;
  background-color: #ffffff;
min-width: 400px;
  width: 100%;
  border: 1px solid rgba(167, 29, 29, 0.2);
  border-radius: 24px;
  padding: 20px 24px;
}

.opened {
  opacity: 1;
  visibility: visible;
}

.header__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 0;
  align-items: center;
  flex-grow: 1;
}

.header__phone {
  margin-right: 16px;
  font-weight: 700;
  color: var(--main);
  line-height: 100%;
  display: inline-block;
  border-bottom: 1px solid var(--main);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--hover);
}

.header__icon {
  fill: var(--main);
}

.header__buttons {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  max-width: 380px;
}

.header__button {
  width: 222px;
}

.header__mobile {
  display: none;
}

.socials__list {
  display: flex;
  gap: 16px;
  transition: opacity 0.7s;
}
.socials__link:hover {
  opacity: 0.7;
  transition: opacity 0.7s;
}

.form__wrapper {
  position: absolute;
  top: 64px;
  padding: 18px 20px;
  width: 100%;
  border-radius: 12px;
  background-color: var(--white);
  box-shadow: 0px 8px 16px 0px rgba(76, 12, 12, 0.0509803922);
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
.form__wrapper .form__result {
  margin-top: 0;
  margin-bottom: 16px;
}

.form__wrapper.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1110px) {
  .logo {
    width: auto;
  }
  .header .logo__text {
    display: none;
  }
}
@media (max-width: 1023px) {
  .header {
    position: relative;
  }
  .header__desktop {
    display: none;
  }
  .header__mobile {
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    background-color: var(--white);
    z-index: 5;
  }
  .header__wrapper {
    padding: 12px 0;
    display: flex;
    width: 100%;
  }
  .logo {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 11px;
    width: 151px;
    height: 50px;
  }
  .logo__img {
    width: 50px;
    height: 50px;
  }
  .header .logo__text {
    display: flex;
    font-size: 14px;
    line-height: 100%;
  }
  .logo__text span {
    font-weight: 400;
    font-size: 12px;
    color: var(--black);
  }
  .header__mobile-icon {
    margin-right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--background-icon);
  }
  .header__mobile-icon svg {
    width: 18px;
    height: 18px;
    color: var(--main);
  }
  .header__burger {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--background-icon);
  }
  .header__burger::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    left: 15px;
    background-color: var(--main);
    box-shadow: 0 -6px 0 var(--main), 0 6px 0 var(--main);
    border-radius: 10px;
  }
  .header__burger--opened {
    background-color: var(--main);
    transition: background-color 1s;
  }
  .header__burger--opened.header__burger::before {
    left: 15px;
    background-color: var(--white);
    box-shadow: none;
    transform: rotate(45deg);
  }
  .header__burger--opened.header__burger::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    left: 15px;
    background-color: var(--white);
    transform: rotate(-45deg);
  }
  .header__menu {
    max-height: 0;
    overflow: hidden;
    background-color: var(--background);
  }
  .header__menu.opened {
    position: relative;
    padding-top: 16px;
    max-height: 100vh;
    overflow: auto;
    transition: max-height 0.7s;
  }
  .header__menu .search__input {
    background-color: var(--white);
  }
  .header__menu .form {
    margin: 0 16px 24px 16px;
    padding: 0;
    background-color: transparent;
  }
  .main-navigation {
    margin-right: 0;
    padding: 0 16px;
    width: 100%;
  }
  .main-navigation__list {
    margin-bottom: 32px;
    flex-direction: column;
    gap: 16px;
  }
  .main-navigation__item {
    position: relative;
    padding: 0;
    width: 100%;
  }
  .main-navigation__link {
    font-weight: 500;
  }
  .submenu__wrapper {
    position: static;
    top: 0;
    left: 0;
    padding: 0;
    width: 100%;
    min-width: 100%;
    height: auto;
    max-height: 0;
    display: flex;
    background-color: transparent;
    border: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
  }
  .submenu.opened + .submenu__wrapper {
    padding-top: 21px;
    max-height: 100vh;
    overflow: visible;
    transition: max-height 0.5s;
  }

  .submenu__link--wrap {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
  .submenu__list {
    padding-right: 0;
    flex-direction: column;
    gap: 13px;
    border-right: none;
  }

  .arrow {
    width: 25px;
    height: 25px;
position: static;
transform: none;
  }
  .arrow svg {
    width: 25px;
    height: 25px;
    transition: transform 0.7s;
    transform: rotate(90deg);
  }

  .arrow.opened svg {
    transform: rotate(270deg);
  }
  .submenu-services {
    border: none;
    position: static;
    left: auto;
    top: auto;
    padding-left: 0;
    gap: 13px;
    width: 100%;
    height: auto;
    background-color: transparent;
    border-bottom-right-radius: 0;
    max-height: 0;
    overflow-x: hidden;
    display: none;
  }
  .submenu-services.opened {
    padding-top: 21px;
    max-height: 100vh;
    overflow: visible;
    transition: max-height 0.7s;
    display: flex;
  }
  .submenu__link.rotate.submenu__link::before {
    top: 0;
    transform: rotate(-90deg);
    opacity: 0.6;
    transition: transform 0.5s;
  }
  .header__contacts {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    background-color: var(--main);
    color: var(--white);
  }
  .header__contacts div {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .header__contacts p {
    font-size: 14px;
    opacity: 0.8;
  }
  .header__contacts span {
    display: block;
    font-weight: 500;
    opacity: 1;
  }
  .header__contacts-phone a {
    margin-right: auto;
    font-weight: 700;
    border-bottom: 1px solid var(--white);
    opacity: 1;
  }
  .socials__list {
    gap: 8px;
  }
}
/* intro */
.intro {
  margin-top: -17px;
  padding-top: 17px;
  border-radius: 40px;
  overflow: hidden;
}

.intro__wrapper {
  padding-left: 80px;
  justify-content: space-between;
  display: grid;
  grid-template-columns: 648px 52%;
  min-height: 731px;
  border-radius: 40px;
  color: var(--main);
  background-color: rgba(167, 29, 29, 0.1019607843);
}

.intro__text {
  position: relative;
  padding: 75px 0 74px 0;
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.intro__title {
  margin-bottom: 32px;
}

.intro__subtitle {
  margin-bottom: 40px;
}

.intro__subtitle a {
  font-weight: 600;
}

.intro__list {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intro__list li {
  position: relative;
  padding-left: 21px;
}

.intro__list li::before {
  content: url("../../assets/img/icons/stack.svg#intro-list");
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 18px;
  z-index: -1;
}

.intro__button {
  margin-top: auto;
  margin-right: auto;
  padding: 4px;
  display: flex;
  justify-content: space-between;
  background-color: var(--main);
  border-radius: 12px;
}

.intro__price {
  padding: 16px 34px 13px 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 163px;
  font-weight: 600;
  color: var(--main);
  background-color: var(--background);
  border-radius: 8px;
}

.intro__background {
  position: relative;
  background-color: var(--main-dark);
  border-radius: 40px;
  height: auto;
}

.intro__background::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 928px;
  height: 732px;
  content: "";
  background-image: url("../../assets/img/sections/background/back-intro.svg");
  background-repeat: no-repeat;
  border-radius: 40px;
}

.intro__picture {
  position: absolute;
  bottom: 0;
  right: 9%;
  max-height: 779px;
  z-index: 2;
}

.intro__note {
  position: absolute;
  top: 227px;
  left: -182px;
  padding: 8px 28px 8px 8px;
  width: 285px;
  background-color: var(--white);
  border-radius: 60px;
  outline: 10px solid rgba(255, 255, 255, 0.2);
  box-shadow: 20px 10px 20px 0px rgba(167, 29, 29, 0.1019607843);
  z-index: 3;
}

.intro__note--right {
  top: 102px;
  left: auto;
  right: 80px;
}

.intro__note-icon {
  margin-right: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 77px;
  height: 77px;
  float: left;
  border-radius: 50%;
  background-color: var(--background-icon);
}

.intro__note-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  color: var(--main);
}

.intro__note-text span {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.inner-page .intro__text {
  padding-top: 0;
}

/* breadcrumbs */
.breadcrumbs {
  margin: 40px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  position: relative;
  width: 100%;
  color: var(--text-accent);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.breadcrumbs li a {
  opacity: 0.6;
}

.breadcrumbs li a:hover {
  opacity: 0.9;
}

.breadcrumbs li::after {
  content: "/";
  display: block;
  font-size: inherit;
}

.breadcrumbs li:last-of-type::after {
  display: none;
}

.intro--small {
  margin: 0 auto;
  padding: 0;
  max-width: 1880px;
}
.intro--small .intro__wrapper {
  height: auto;
  min-height: 216px;
  grid-template-columns: 43% 821px;
  justify-content: space-between;
}
.intro--small .intro__background {
  min-height: 216px;
}
.intro--small .intro__text {
  padding: 0;
}
.intro--small .title {
  font-size: 48px;
}

.intro--about .intro__wrapper,
.intro--doctors .intro__wrapper {
  height: auto;
  min-height: 520px;
  grid-template-columns: 43% 821px;
  justify-content: space-between;
}

.intro--about .intro__picture {
  bottom: 55px;
  right: 12%;
}

.intro--doctors .intro__picture {
  bottom: 0;
  right: 16%;
}

.intro--about .intro__subtitle p:not(:last-child),
.intro--doctors .intro__subtitle p:not(:last-child) {
  margin-bottom: 16px;
}

@media (max-width: 1880px) {
  .intro__wrapper {
    padding-left: 50px;
    gap: 24px;
    grid-template-columns: 45% 50%;
  }
  .intro__picture {
    right: 0;
  }
  .intro--about .intro__picture,
  .intro--doctors .intro__picture {
    right: 0;
  }
  .intro__note {
    top: 37px;
    left: -180px;
  }
  .intro__note--right {
    top: auto;
    bottom: 68px;
    left: auto;
    right: 50px;
  }
}
@media (max-width: 1550px) {
  .intro__wrapper {
    padding-left: 16px;
  }
  .intro__picture {
    right: -15%;
  }
  .intro--about .intro__img {
    width: 75%;
    height: auto;
  }
  .intro__note {
    display: none;
  }
}
@media (max-width: 1300px) and (min-width: 1024px) {
  .intro__picture {
    right: -30%;
  }
  .intro__list {
    padding-right: 150px;
  }
  .intro .intro__title {
    font-size: 45px;
  }
  .intro--about .intro__picture {
    right: 0;
  }
  .intro--doctors .intro__picture {
    right: 10%;
  }
}
@media (max-width: 1023px) {
  .intro {
    margin-top: 0;
    padding-top: 0;
    border-radius: 24px;
  }
  .intro__wrapper {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: auto;
    border-radius: 24px;
  }
  .intro__text {
    padding: 23px 16px 27px 16px;
    width: 100%;
  }
  .intro__title {
    margin-bottom: 16px;
  }
  .intro__subtitle {
    margin-bottom: 24px;
  }
  .intro__list {
    gap: 13px;
  }
  .intro__list li {
    padding-left: 18px;
  }
  .intro__button {
    margin-top: 32px;
    width: 100%;
    height: 52px;
  }
  .intro__button .button {
    min-height: 44px;
  }
  .intro__price {
    padding: 12px 16px 11px 15px;
    min-width: 116px;
  }
  .intro__background {
    width: 100%;
    min-height: auto;
    height: 276px;
    border-radius: 24px;
  }
  .intro__picture {
    position: relative;
    top: -34px;
    left: 80px;
  }
  .intro__img {
    height: 310px;
    width: auto;
  }
  .intro__background::before {
    top: -60px;
    bottom: auto;
    right: -126px;
    background-size: 443px 350px;
    transform: rotate(90deg);
  }
  .intro__note {
    display: none;
  }
  .intro--about .intro__text,
  .intro--doctors .intro__text {
    margin-bottom: 55px;
  }
  .intro--about .intro__background,
  .intro--doctors .intro__background {
    min-height: 152px;
    height: 152px;
  }
  .intro--about .intro__picture,
  .intro--doctors .intro__picture {
    position: relative;
    margin: 0 auto;
    bottom: 70px;
    top: auto;
    left: auto;
    right: auto;
    width: 288px;
    height: auto;
  }
  .intro--about .intro__img,
  .intro--doctors .intro__img {
    width: 100%;
    height: auto;
  }
  .intro--doctors .intro__picture {
    width: 129%;
    max-width: 450px;
    left: -15%;
    bottom: 58%;
  }
  .intro--doctors .intro__text {
    margin-bottom: 35px;
  }
  .intro--small .intro__wrapper {
    padding: 0 16px;
    height: auto;
    min-height: 125px;
    display: block;
  }
  .intro--small .intro__background {
    display: none;
  }
  .intro--small .title {
    font-size: 32px;
    word-wrap: break-word;
  }
  /* breadcrumbs */
  .breadcrumbs {
    margin: 20px 0;
    gap: 0 8px;
  }
  .breadcrumbs li {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .intro__picture {
    left: -40px;
    right: 35px;
  }
}
.narcologist__title {
  padding: 0 20%;
  margin-bottom: 23px;
}
.narcologist__subtitle {
  padding: 0 28%;
  margin-bottom: 40px;
  text-align: center;
}
.narcologist__list {
  display: flex;
  justify-content: space-between;
}

.narcologist__item {
  padding: 34px 28px 28px 28px;
  width: 32%;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  border-radius: 24px;
}
.narcologist__item-icon {
  margin-bottom: 29px;
  width: 48px;
  height: 48px;
}
.narcologist__item-title {
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
  color: var(--text-accent);
}

@media (max-width: 1023px) {
  .narcologist__title {
    margin-bottom: 16px;
    padding: 0;
  }
  .narcologist__subtitle {
    padding: 0;
    margin-bottom: 32px;
  }
  .narcologist__list {
    flex-direction: column;
    gap: 12px;
  }
  .narcologist__item {
    padding: 20px;
    width: 100%;
  }
  .narcologist__item-icon {
    margin-bottom: 20px;
    width: 32px;
    height: 32px;
  }
  .narcologist__item-title {
    margin-bottom: 11px;
    font-size: 18px;
    line-height: 110%;
  }
}
.services {
  position: relative;
  padding: 60px 0 73px 0;
}

.services__content {
  position: relative;
  

}
.services::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: url("../../assets/img/sections/background/back-services-1.svg");
  background-position: left top;
  background-repeat: no-repeat;
}
.services::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: url("../../assets/img/sections/background/back-services-2.svg");
  background-position: right top;
  background-repeat: no-repeat;
}
.services__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 39px;
  z-index: 2;
}
.services__top {
  display: flex;
  justify-content: space-between;
}
.services__link {
  width: 296px;
}
.services__slider {
  overflow: hidden;
}

.services__subtitle {
  font-size: 24px;
  font-weight: 500;
  line-height: 110%;
}

.service-toggle {
    position: relative;
    padding: 32px;
    display: block;
    width: 100%;
    transition: 0.3s;
    overflow: hidden;
    background-color: var(--background);
    color: var(--text-accent);
    border-radius: 24px;
}

.service-toggle__wrapper {
  gap: 17px
}

.service-toggle__top {
  margin-bottom: 23px;
  align-items: center;
}


.service-toggle__title {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 32px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.service-toggle[open] {
  padding-bottom: 93px;
} 

.service-toggle[open] .question__button::before,
.service-toggle[open] .question__button::after {
  background-color: var(--white);
}

.service-toggle[open] .question__button {
  background-color: var(--main);
}

.service-toggle[open] .question__button::before {
  opacity: 0;
  transition: opacity 0.3s;
}

.service-toggle__subservice {
  border-collapse: collapse;
  width: 100%;
  margin: 32px 0px -93px 0px;
}

.service-toggle__subservice thead tr:first-of-type {
  border-bottom: 1px solid #A71D1D;
  text-align: left;
}

.service-toggle__subservice thead th {
  padding-bottom: 17px;
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
  color: #220002;
}

.service-toggle__subservice tbody tr:not(:last-child) {
  border-bottom: 1px solid rgba(167, 29, 29, 0.1);
}

.service-toggle__subservice td {
  padding: 34px 0px;
}

.service-toggle__subservice-title {
  color: #802020;
  font-size: 24px;
  font-weight: 500;
  line-height: 110%;
  
}

td.service-toggle__subservice-title {
  padding: 34px 20px 34px 0px;
}

td.service-toggle__subservice-description {
  padding: 34px 20px 34px 0px;
}

.service-toggle__subservice th:nth-child(1) {
  width: 16%;
}

.service-toggle__subservice th:nth-child(2) {
  width: 52%;
}

.service-toggle__subservice th:nth-child(3) {
  width: 19%;
}

.service-toggle__subservice th:nth-child(4) {
  width: 13%;
}

.service-toggle__subservice-description {
  color: #220002;
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
}

.service-toggle__subservice-price {
  color: #220002;
  font-size: 32px;
  font-weight: 400;
  line-height: 100%;

}


.service-toggle__oferta {
  color: #FFFFFF;
  font-size: 18px;
  line-height: 130%;
  font-weight: 400;
  text-align: center;
  margin-top: 23px;
}

.service-toggle__oferta a {
  text-decoration: underline;
  font-weight: 700;
  transition: opacity 0.2s linear;
}

.service-toggle__oferta a:hover {
  opacity: 0.8;
}

.service-toggle__subservice-button button {
  width: 100%;
}



.service {
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: auto;
  color: var(--black);
  background-color: var(--white);
  border-radius: 24px;
  box-shadow: 0px 0px 160px 0px rgba(235, 93, 98, 0.2) inset;
}
.service__icon {
  margin-bottom: 32px;
  width: 60px;
  height: 60px;
}
.service__name {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 32px;
  line-height: 110%;
  color: var(--text-accent);
}
.service__description {
  margin-bottom: 40px;
  opacity: 0.8;
}
.service__price {
  margin-bottom: 28px;
  font-size: 32px;
  line-height: 100%;
}
.service__list {
  margin-bottom: 40px;
}
.service__button {
  margin-top: auto;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list li {
  padding-left: 30px;
}

.list li::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 23px;
  left: 0;
  top: 50%;
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#list");
  mask-image: url("../../assets/img/icons/stack.svg#list");
  background-color: var(--main);
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .services::after {
    display: none;
  }
}
@media (max-width: 1023px) {
  .services {
    padding: 64px 0;
  }
  .services::before {
    transform: rotate(90deg);
    background-size: 133%;
    left: auto;
    right: 82%;
    top: -31%;
  }
  .services::after {
    transform: rotate(90deg);
    background-size: 133%;
    left: auto;
    right: 82%;
    top: auto;
    bottom: -32%;
  }
  .services__wrapper {
    gap: 20px;
  }
  .services__top {
    display: block;
  }
  .services__title {
    margin-bottom: 20px;
  }
  
  .services__link {
    display: none;
  }
  .service {
    padding: 20px;
    width: 100%;
    border-radius: 16px;
  }
  .service__icon {
    margin-bottom: 16px;
    width: 32px;
    height: 32px;
  }
  .service__name {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 110%;
  }
  .service__description {
    margin-bottom: 24px;
  }
  .service__price {
    margin-bottom: 19px;
    font-size: 20px;
    line-height: 110%;
  }
  .service__list {
    margin-bottom: 32px;
  }
  .list li::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 21px;
    background-size: 16px 21px;
  }
}
@media (max-width: 768px) {
  .services__slider {
    position: relative;
    padding: 0;
    width: 100%;
    overflow: visible;
  }
}
.bag {
  margin-bottom: 99px;
}
.bag__wrapper {
  position: relative;
}
.bag__title {
  margin-bottom: 20px;
}
.bag__subtitle {
  margin-bottom: 40px;
  padding: 0 520px;
  text-align: center;
}
.bag__img {
  margin: 0 auto;
  width: 696px;
}
.bag__cards {
  position: absolute;
  top: 188px;
  left: 0;
  width: 100%;
  max-width: 1720px;
  display: flex;
  justify-content: space-between;
}
.bag__list {
  display: flex;
  flex-direction: column;
  gap: 47px;
}

.bag__item {
  padding: 28px 32px;
  width: 29vw;
  max-width: 557px;
  min-height: 158px;
  border-radius: 24px;
  background-color: var(--background);
}
.bag__item-wrapper {
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.bag__item-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--background-icon);
}
.bag__item-title {
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
  color: var(--text-accent);
}

.sinner-page .bag {
  padding: 140px 0;
  background-color: var(--background);
}
.sinner-page .bag .bag__item {
  background-color: var(--white);
}

@media (min-width: 1513px) {
  .bag__item {
    width: 557px;
  }
}
@media (max-width: 1440px) {
  .bag__subtitle {
    padding: 0;
  }
  .bag__cards {
    margin-top: -175px;
    position: static;
    gap: 12px;
    width: 100%;
  }
  .bag__list {
    width: 48%;
    gap: 24px;
  }
  .bag__item {
    width: 100%;
    max-width: 100%;
    min-height: auto;
  }
}
@media (max-width: 768px) {
  .bag {
    position: relative;
    margin-bottom: 64px;
  }
  .bag__title {
    margin-bottom: 16px;
  }
  .bag__subtitle {
    margin-bottom: 7px;
  }
  .bag__img {
    margin: 0;
    width: 100%;
  }
  .bag__img img {
    width: 100%;
    height: auto;
  }
  .bag__cards {
    margin-top: -75px;
    top: 0;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  .bag__list {
    gap: 12px;
    width: 100%;
  }
  .bag__item {
    padding: 20px 20px 18px 20px;
    width: 100%;
    line-height: 110%;
  }
  .bag__item-title {
    font-size: 18px;
  }
  .bag__item-decsription {
    font-size: 14px;
  }
  .bag--service {
    padding: 64px 0;
  }
}
.banner-calc {
  position: relative;
  padding: 60px 0 50px 0;
  max-height: 392px;
}
.banner-calc::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: url("../../assets/img/sections/background/back-calc.svg");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: auto 101%;
}
.banner-calc__wrapper {
  position: relative;
  width: 39%;
  z-index: 2;
}
.banner-calc__title {
  margin-bottom: 20px;
}
.banner-calc__subtitle {
  margin-bottom: 48px;
  opacity: 0.8;
}
.banner-calc__button {
  position: relative;
  padding-left: 68px;
}
.banner-calc__button::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 32px;
  top: 21px;
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#money");
  mask-image: url("../../assets/img/icons/stack.svg#money");
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
  background-color: var(--main);
}

@media (max-width: 1600px) {
  .banner-calc__wrapper {
    width: 50%;
  }
}
@media (max-width: 1260px) {
  .banner-calc__wrapper {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .banner-calc {
    position: relative;
    padding: 64px 0 261px 0;
    max-height: 539px;
  }
  .banner-calc::before {
    background-position: right top;
    background-image: url("../../assets/img/sections/background/back-calc-mob.webp");
  }
  .banner-calc__wrapper {
    width: 100%;
  }
  .banner-calc__title {
    margin-bottom: 16px;
  }
  .banner-calc__subtitle {
    margin-bottom: 36px;
    text-align: center;
  }
  .banner-calc__button {
    width: 100%;
  }
}
.banner-calc__button::before {
  top: 17px;
}

.text-content__wrapper {
  margin-left: auto;
  max-width: 74%;
}
.text-content__wrapper > *:first-child {
  margin-top: 0;
}
.text-content__wrapper > *:last-child {
  margin-bottom: 0;
}
.text-content__wrapper ul {
  margin-bottom: 20px;
}
.text-content__wrapper a {
  color: var(--main);
  text-decoration: underline;
}

.text-content__flex {
  display: flex;
  gap: 24px;
}
.text-content__nav {
  margin-bottom: auto;
  padding: 20px 24px 9px 24px;
  width: 412px;
  border-radius: 24px;
  background-color: var(--background);
}
.text-content__nav a {
  text-decoration: none;
  color: var(--black);
}
.text-content__nav-title {
  display: block;
  margin-bottom: 20px;
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
  color: var(--text-accent);
}
.text-content h1,
.text-content h2,
.text-content h3,
.text-content h4,
.text-content h5 {
  font-weight: 600;
  line-height: 110%;
  color: var(--text-accent);
}
.text-content h1 {
  margin-bottom: 24px;
  font-size: 48px;
}
.text-content h2,
.text-content h3,
.text-content h4 {
  margin-top: 41px;
  margin-bottom: 24px;
}
.text-content h2 {
  font-size: 48px;
}
.text-content h3 {
  font-size: 40px;
}
.text-content h4 {
  font-size: 32px;
}
.text-content h5 {
  margin-top: 40px;
  margin-bottom: 24px;
  font-size: 24px;
}
.text-content p {
  margin-bottom: 12px;
}
.text-content ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 22px;
}
.text-content ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  top: 8px;
  left: 0;
  transform: rotate(45deg);
  background-color: var(--main);
}
.text-content ul ul {
  margin-top: 12px;
}
.text-content ul ul li:not(:last-child) {
  margin-bottom: 8px;
}
.text-content ul ul li a {
  opacity: 0.8;
}
.text-content ul ul li::before {
  background-color: var(--black);
}
.text-content ol {
  margin-bottom: 12px;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-content ol li {
  position: relative;
  padding-left: 28px;
}
.text-content ol li::marker {
  content: none;
}
.text-content ol li::before {
  content: counter(list-item) ".";
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 23px;
  color: var(--main);
  font-size: 18px;
  line-height: 130%;
}
.text-content blockquote {
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 32px 40px;
  border-radius: 24px;
  background-color: var(--white);
  box-shadow: 0px 0px 24.8px 0px rgba(186, 26, 26, 0.1019607843) inset;
}
.text-content table {
  margin-bottom: 24px;
  width: 100%;
  border-collapse: collapse;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  outline: 1px solid var(--border);
  outline-offset: -1px;
}
.text-content table th,
.text-content table td {
  padding: 16px;
  border: 1px solid var(--border);
}
.text-content table th {
  background-color: var(--background-icon);
}
.text-content table tr:nth-child(2n) {
  background-color: var(--background);
}
.text-content .literature {
  margin-top: 60px;
  padding: 32px 40px 20px 40px;
  background-color: var(--background);
  border-radius: 24px;
}
.text-content .literature h5 {
  margin: 0;
  margin-bottom: 24px;
}

.check {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
}
.check p {
  margin: 0;
}
.check__doctor {
  padding: 20px 24px;
  width: 49%;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px 20px;
  background-color: var(--background);
  border-radius: 24px;
}
.check__top {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
  opacity: 0.8;
}
.check__bottom {
  display: flex;
  flex-direction: column;
  grid-column: 2/3;
  width: 100%;
}
.check__img {
  grid-column: 1/2;
  margin-right: 20px;
  width: 120px;
  height: 130px;
  border-radius: 10px;
  -o-object-fit: cover;
  object-fit: cover;
}
.check a.check__name {
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
  font-size: 20px;
  color: var(--black);
  text-decoration: none;
}
.check a.check__name:hover {
  color: var(--text-accent);
}
.check__prof,
.check__work {
  display: block;
  opacity: 0.8;
}
.check__work {
  margin-top: auto;
}

@media (max-width: 1023px) {
  .check {
    flex-direction: column;
    gap: 12px;
  }
  .check__doctor {
    position: relative;
    padding: 12px 16px 53px 16px;
    width: 100%;
    grid-template-columns: 69px 1fr;
    gap: 5px 16px;
    border-radius: 16px;
  }
  .check__img {
    margin-right: 0;
    width: 69px;
    height: 81px;
  }
  .check__name {
    font-size: 18px;
  }
  .check__work {
    position: absolute;
    bottom: 12px;
    left: 16px;
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    width: calc(100% - 32px);
    border-top: 1px solid var(--border);
  }
}
@media (max-width: 768px) {
  .text-content__flex {
    flex-direction: column;
    gap: 48px;
  }
  .text-content__nav {
    margin-bottom: 0;
    padding: 18px 20px 9px 20px;
    width: 100%;
  }
  .text-content__nav-title {
    margin-bottom: 16px;
    font-size: 20px;
  }
  .text-content h2,
  .text-content h3,
  .text-content h4,
  .text-content h5 {
    margin-top: 32px;
    margin-bottom: 20px;
  }
  .text-content h1 {
    font-size: 32px;
  }
  .text-content h2 {
    font-size: 24px;
  }
  .text-content h3 {
    font-size: 22px;
  }
  .text-content h4 {
    font-size: 20px;
  }
  .text-content h5 {
    font-size: 18px;
  }
  .text-content p {
    margin-bottom: 8px;
  }
  .text-content ol li::before {
    font-size: 16px;
  }
  .text-content blockquote {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 16px;
  }
  .text-content table {
    border-radius: 12px;
  }
  .text-content .literature {
    margin-top: 40px;
    padding: 18px 20px 6px 20px;
    border-radius: 16px;
  }
  .text-content .literature h5 {
    margin: 0;
    margin-bottom: 16px;
  }
  .text-content__wrapper {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
  }
}
.text-page {
  margin: 60px 0 140px 0;
}
.text-page .text-content__wrapper {
  margin: 0;
  min-width: 100%;
}

@media (max-width: 768px) {
  .text-page {
    margin: 64px 0;
  }
}
.banner-consultation {
  position: relative;
  margin-bottom: 140px;
  padding: 62px 0 62px 0;
}
.banner-consultation::before {
  content: url("../../assets/img/sections/background/back-services-2.svg");
  position: absolute;
  right: 0;
  top: -72%;
  pointer-events: none;
}
.banner-consultation::after {
  content: url("../../assets/img/sections/background/back-services-1.svg");
  position: absolute;
  left: -10%;
  top: -27%;
  pointer-events: none;
}
.banner-consultation__wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  z-index: 2;
}
.banner-consultation__text {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 45%;
}
.banner-consultation__link {
  position: relative;
  margin-top: auto;
  margin-right: auto;
  padding-left: 68px;
}
.banner-consultation__link::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 32px;
  top: 21px;
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#phone");
  mask-image: url("../../assets/img/icons/stack.svg#phone");
  background-color: var(--main);
}
.banner-consultation__form {
  width: 557px;
}

@media (max-width: 1640px) {
  .banner-consultation::after {
    display: none;
  }
}
@media (max-width: 768px) {
  .banner-consultation {
    position: relative;
    margin-bottom: 64px;
    padding: 64px 0;
  }
  .banner-consultation::before {
    content: url("../../assets/img/sections/background/back-mob.webp");
    right: 0;
    top: 0;
    width: 100%;
  }
  .banner-consultation::after {
    display: block;
    content: url("../../assets/img/sections/background/back-mob.webp");
    left: 0;
    bottom: 0;
    width: 100%;
    transform: rotate(180deg);
  }
  .banner-consultation__wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .banner-consultation__text {
    padding: 0;
    gap: 16px;
    width: 100%;
    text-align: center;
  }
  .banner-consultation__link {
    margin-top: 20px;
    margin-right: 0;
    padding-left: 53px;
  }
  .banner-consultation__link::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 51px;
    top: 18px;
    background-size: 18px 18px;
  }
  .banner-consultation__form {
    width: 100%;
  }
}
.promos {
  padding: 140px 0 140px 0;
  background-color: var(--background);
}
.promos__title {
  margin-bottom: 40px;
}
.promos__slider {
  overflow: hidden;
}
.promos__link {
  margin-top: 32px;
}

.inner-page .promos.section-offset {
  margin: 0;
}

.promo {
  position: relative;
  padding: 28px 44px 32px 32px;
  height: auto;
  min-height: 391px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--white)
    url("../../assets/img/sections/background/back-promo.webp") top right
    no-repeat;
}
.promo__wrapper {
  padding-right: 78px;
}
.promo__sale {
  position: absolute;
  right: 37px;
  top: 39px;
  color: var(--white);
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
}
.promo__date {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 130%;
  opacity: 0.6;
}
.promo__name {
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
}
.promo__description {
  opacity: 0.8;
}
.promo__price {
  margin-top: auto;
  font-size: 32px;
  line-height: 100%;
}
.promo__price--old {
  position: relative;
  margin-left: 16px;
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
  color: rgba(34, 0, 2, 0.4);
}
.promo__price--old::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  right: 0;
  top: 50%;
  background-color: #ba1a1a;
}
.promo__button {
  margin-top: 19px;
}

@media (max-width: 768px) {
  .promos {
    padding: 64px 0;
  }
  .promos__title {
    margin-bottom: 20px;
  }
  .promos__slider {
    position: relative;
  }
  .promo {
    padding: 16px 20px 20px 20px;
    min-height: 320px;
    background-size: 75px 165px;
    border-radius: 16px;
  }
  .promo__wrapper {
    padding-right: 0;
  }
  .promo__sale {
    top: 29px;
    right: 22px;
    font-size: 16px;
  }
  .promo__date {
    margin-bottom: 16px;
    font-size: 14px;
  }
  .promo__name {
    margin-bottom: 8px;
    padding-right: 45px;
    font-size: 18px;
  }
  .promo__price {
    font-size: 20px;
    line-height: 110%;
  }
  .promo__price--old {
    font-size: 18px;
  }
}
.promos-page {
  margin: 60px 0 140px 0;
}
.promos-page__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.promos-page .promo {
  width: calc(33% - 14px);
  background-color: var(--background);
}

@media (max-width: 1440px) {
  .promos-page .promo {
    width: 48%;
  }
}
@media (max-width: 768px) {
  .promos-page {
    margin: 40px 0 64px 0;
  }
  .promos-page__list {
    flex-direction: column;
    gap: 12px;
  }
  .promos-page .promo {
    width: 100%;
  }
}
.gallery__title {
  margin-bottom: 20px;
}
.gallery__subtitle {
  margin-bottom: 40px;
  text-align: center;
}
.gallery__slider {
  position: relative;
  margin-bottom: 32px;
  overflow: hidden;
}
.gallery__slide {
  position: relative;
  height: 344px;
  border-radius: 24px;
  overflow: hidden;
}
.gallery__slide a {
  display: block;
  height: 100%;
  width: 100%;
}
.gallery__slide a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  opacity: 0;
  background-image: url("../../assets/img/icons/stack.svg#scale");
  z-index: 3;
}
.gallery__slide a:hover .gallery__img {
  filter: brightness(0.5);
}
.gallery__slide a:hover::before {
  opacity: 1;
}
.gallery__img {
  height: 344px;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .gallery__title {
    margin-bottom: 16px;
  }
  .gallery__subtitle {
    margin-bottom: 20px;
  }
  .gallery__slider {
    margin-bottom: 32px;
  }
  .gallery__slide {
    height: 207px;
  }
}
.gallery-page {
  margin: 60px 0 140px 0;
}
.gallery-page__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.gallery-page .gallery__slide {
  width: calc(25% - 20px);
  height: auto;
  max-height: 352px;
}
.gallery-page .gallery__slide img {
  height: 352px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  overflow: hidden;
}

@media (max-width: 1440px) {
  .gallery-page .gallery__slide {
    width: 48%;
  }
}
@media (max-width: 768px) {
  .gallery-page {
    margin: 40px 0 64px 0;
  }
  .gallery-page__wrapper {
    flex-direction: column;
  }
  .gallery-page .gallery__slide {
    width: 100%;
  }
  .gallery-page .gallery__slide img {
    height: 247px;
  }
}
.doctors {
  padding: 140px 0;
  background-color: var(--background);
}
.doctors__title {
  margin-bottom: 40px;
}
.doctors__slider {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.doctors__bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
}
.doctors__link {
  margin: 0;
}

.doctor {
  position: relative;
  height: auto;
  max-height: 619px;
  display: flex;
  justify-content: center;
  text-align: center;
  border-radius: 24px;
  overflow: hidden;
}
.doctor::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 50%;
  left: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(34, 0, 2, 0) 0%,
    rgba(34, 0, 2, 0.6) 100%
  );
  z-index: 3;
}
.doctor::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  background-color: rgba(34, 0, 2, 0.2);
  transition: backdrop-filter 0.7s ease, background-color 0.7s ease;
  z-index: 2;
}
.doctor:hover::before {
  background-color: rgba(34, 0, 2, 0.5647058824);
  backdrop-filter: blur(24px);
  transition: backdrop-filter 0.7s, background-color 0.7s;
}
.doctor__img {
  height: 619px;
  width: auto;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
}
.doctor__text {
  position: absolute;
  top: 0;
  left: 0;
  padding: 28px 32px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  z-index: 4;
  color: var(--white);
}
.doctor__name {
  margin-top: auto;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
}
.doctor__spec {
  height: 0;
  overflow: hidden;
  transition: height 0.7s, margin-top 0.7s, padding-top 0.7s, border-top 0.7s;
}
.doctor:hover .doctor__spec {
  display: block;
  margin-top: 20px;
  padding-top: 20px;
  height: auto;
  border-top: 1px solid var(--white);
  transition: height 0.7s, margin-top 0.7s, padding-top 0.7s, border-top 0.7s;
}

@media (max-width: 768px) {
  .doctors {
    padding: 64px 0;
  }
  .doctors__title {
    margin-bottom: 20px;
  }
  .doctors__slider {
    overflow: visible;
  }
  .doctor {
    height: 427px;
    text-align: center;
    border-radius: 16px;
  }
  .doctor__img {
    height: auto;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top;
    object-position: top;
  }
  .doctor__text {
    padding: 16px 20px;
  }
  .doctor:hover .doctor__spec {
    display: none;
  }
}
.doctors-page {
  margin: 60px 0 70px;
}
.doctors-page__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.doctors-page .doctor {
  width: calc(25% - 20px);
}

@media (max-width: 1440px) {
  .doctors-page .doctor {
    width: calc(33% - 20px);
  }
}
@media (max-width: 1023px) {
  .doctors-page .doctor {
    width: calc(50% - 20px);
  }
}
@media (max-width: 650px) {
  .doctors-page .doctor {
    width: 100%;
  }
}
.tabs {
  margin-bottom: 29px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab,
.tabs__selected {
  padding: 17px 20px;
  border-radius: 10px;
  color: #220002;
  background-color: var(--background);
  transition: background-color 0.7s;
  cursor: pointer;
}
.tab:hover,
.tabs__selected:hover {
  background-color: var(--background-icon);
}

.tab--active {
  color: var(--white);
  background-color: var(--main);
  cursor: default;
}
.tab--active:hover {
  background-color: var(--main);
}

.tabs--mobile {
  display: none;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: flex;
}

.doctor-inner__wrapper {
  display: flex;
  flex-direction: column;
  width: 65%;
}
.doctor-inner__top {
  margin-bottom: 140px;
  display: flex;
  gap: 60px;
}
.doctor-inner__top-list {
  margin-bottom: 48px;
  display: flex;
  gap: 15px;
}
.doctor-inner__top-list li {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  width: 24%;
  height: auto;
  min-height: 153px;
  border-radius: 24px;
  background-color: var(--background);
}
.doctor-inner__top-list li p {
  font-size: 16px;
}
.doctor-inner__top-list li span {
  margin-top: auto;
  font-weight: 600;
}
.doctor-inner__top table {
  padding: 18px 28px;
  width: 100%;
  white-space: nowrap;
  border-radius: 24px;
  text-align: left;
  border: 2px solid var(--border);
}
.doctor-inner__top table th {
  padding: 0 24px 12px 27px;
  border-bottom: 2px solid var(--border);
  border-right: 2px solid var(--border);
}
.doctor-inner__top table th:first-child {
  padding-left: 0;
}
.doctor-inner__top table th:last-child {
  padding-right: 0;
  border-right: none;
}
.doctor-inner__top table td {
  padding: 12px 24px 0 27px;
  color: rgba(34, 0, 2, 0.7137254902);
  border-right: 2px solid var(--border);
}
.doctor-inner__top table td:first-child {
  padding-left: 0;
}
.doctor-inner__top table td:last-child {
  padding-right: 0;
  border-right: none;
}
.doctor-inner__img {
  width: 45%;
  height: auto;
  max-height: 720px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  border-radius: 24px;
  overflow: hidden;
}
.doctor-inner__img img {
  height: auto;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  border-radius: 24px;
}
.doctor-inner__name {
  margin-bottom: 32px;
}
.doctor-inner__description {
  margin-bottom: 40px;
}
.doctor-inner__title {
  margin-bottom: 24px;
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
  color: var(--text-accent);
}
.doctor-inner__links {
  margin-top: auto;
}
.doctor-inner__links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.doctor-inner__mobile {
  display: none;
}
.doctor-inner__table {
  margin-bottom: 24px;
  overflow: auto;
}
.doctor-inner__links-item {
  padding: 8px 8px 8px 38px;
  display: flex;
  gap: 31px;
  align-items: center;
  border-radius: 16px;
  background-color: var(--background);
}
.doctor-inner__links-rating {
  display: flex;
  gap: 6px;
  align-items: center;
}
.doctor-inner__tabs {
  margin-bottom: 140px;
}
.doctor-inner__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.doctor-inner__item {
  padding: 8px 8px 24px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: calc(25% - 24px);
  height: auto;
  min-height: 268px;
  border-radius: 24px;
  background-color: var(--background);
}
.doctor-inner__item-top {
  position: relative;
  padding: 22px 24px;
  border-radius: 16px;
  font-weight: 600;
  background-color: var(--white);
}
.doctor-inner__item-top::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  right: 8px;
  top: 8px;
  border-radius: 8px;
  background-color: var(--background);
}
.doctor-inner__item-top::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  right: 8px;
  top: 8px;
  background-image: url("../../assets/img/icons/stack.svg#edu");
  background-position: center;
  background-size: 24px 24px;
  background-repeat: no-repeat;
}
.doctor-inner__item-bottom {
  margin-top: auto;
  padding: 0 26px;
}
.doctor-inner__slider {
  position: relative;
  padding-bottom: 50px;
  height: 100%;
  overflow: hidden;
}
.doctor-inner__slider .document {
  height: 531px;
  overflow: hidden;
}
.doctor-inner__navigation {
  margin-top: 32px;
  justify-content: center;
}
.doctor-inner + .reviews.block-accent {
  margin-bottom: 140px;
}

@media (max-width: 1023px) {
  .doctor-inner__top {
    gap: 30px;
  }
  .doctor-inner__top-list {
    flex-wrap: wrap;
  }
  .doctor-inner__top-list li {
    width: calc(50% - 15px);
  }
  .doctor-inner__item {
    width: calc(33% - 16px);
  }
}
@media (max-width: 768px) {
  .doctor-inner__wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .doctor-inner__top {
    margin-bottom: 64px;
    flex-direction: column;
    gap: 32px;
  }
  .doctor-inner__top-list {
    margin-bottom: 32px;
    flex-direction: column;
    gap: 16px;
  }
  .doctor-inner__top-list li {
    padding: 16px 20px;
    gap: 12px;
    width: 100%;
    min-height: auto;
    border-radius: 16px;
  }
  .doctor-inner__top-list li p {
    font-size: 14px;
  }
  .doctor-inner__top-list li span {
    margin-top: 0;
  }
  .doctor-inner__top table {
    padding: 24px 16px;
    border-radius: 16px;
    display: flex;
    overflow: hidden;
  }
  .doctor-inner__top table thead {
    flex-grow: 1;
  }
  .doctor-inner__top table tr {
    display: flex;
    flex-direction: column;
  }
  .doctor-inner__top table th {
    padding: 12px 9px 12px 0;
    font-weight: 400;
    border-bottom: 2px solid var(--border);
    border-right: 2px solid var(--border);
  }
  .doctor-inner__top table th:first-child {
    padding-top: 0;
  }
  .doctor-inner__top table th:last-child {
    padding-bottom: 0;
    border-bottom: none;
    border-right: 2px solid var(--border);
  }
  .doctor-inner__top table td {
    padding: 12px 19px 12px 16px;
    border-bottom: 2px solid var(--border);
    border-right: none;
  }
  .doctor-inner__top table td:first-child {
    padding-top: 0;
    padding-left: 16px;
  }
  .doctor-inner__top table td:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  .doctor-inner__img {
    width: 100%;
    height: auto;
    max-height: auto;
    border-radius: 16px;
  }
  .doctor-inner__img img {
    border-radius: 16px;
  }
  .doctor-inner__name {
    margin-bottom: 16px;
  }
  .doctor-inner__description {
    margin-bottom: 24px;
  }
  .doctor-inner__title {
    margin-bottom: 20px;
    font-size: 18px;
  }
  .doctor-inner__links {
    margin-top: 20px;
  }
  .doctor-inner__links-list {
    flex-direction: column;
    gap: 8px;
  }
  .doctor-inner__links-item {
    padding: 8px 8px 8px 38px;
    display: flex;
    gap: 31px;
    align-items: center;
  }
  .doctor-inner__links-rating {
    margin: 0 auto;
  }
  .doctor-inner__tabs {
    margin-bottom: 64px;
  }
  .doctor-inner__list {
    flex-direction: column;
    gap: 12px;
  }
  .doctor-inner__mobile {
    display: block;
    margin-bottom: 48px;
  }
  .doctor-inner__mobile .button {
    width: 100%;
  }
  .doctor-inner__links-list li .doctor-inner__button {
    display: none;
  }
  .doctor-inner__item {
    padding: 8px 8px 16px 8px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: auto;
    border-radius: 16px;
  }
  .doctor-inner__item-top {
    position: relative;
    padding: 20px;
    border-radius: 10px;
  }
  .doctor-inner__item-top::before {
    width: 45px;
    height: 45px;
    border-radius: 4px;
  }
  .doctor-inner__item-top::after {
    content: "";
    position: absolute;
    width: 45px;
    height: 45px;
    background-size: 20px 20px;
  }
  .doctor-inner__item-bottom {
    margin-top: 20px;
    padding: 0 12px;
  }
  .doctor-inner__slider {
    padding-bottom: 0;
  }
  .doctor-inner__slider .document {
    height: 387px;
  }
  .doctor-inner__navigation {
    margin-top: 32px;
    justify-content: center;
  }
  .doctor-inner + .reviews.block-accent {
    margin-bottom: 140px;
  }
  .tabs {
    display: none;
  }
  .tabs--mobile {
    display: block;
    position: relative;
    margin-bottom: 24px;
  }
  .tabs__selected::after {
    content: "";
    position: absolute;
    top: 17px;
    right: 16px;
    width: 6px;
    height: 12px;
    -webkit-mask-image: url("../../assets/img/icons/stack.svg#menu-right");
    mask-image: url("../../assets/img/icons/stack.svg#menu-right");
    background-color: var(--black);
    transform: rotate(90deg);
    transition: transform 0.7s;
  }
  .tabs--mobile.opened .tabs__selected::after {
    transform: rotate(-90deg);
    transition: transform 0.7s;
  }
  .tabs__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 16px 20px;
    gap: 12px;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--background);
    box-shadow: 8px 9px 9px 0px rgba(196, 196, 196, 0.7411764706);
    z-index: 3;
    display: none;
  }
  .tabs__dropdown .tab {
    padding: 0;
    background-color: transparent;
  }
  .tabs__dropdown .tab--active {
    color: var(--black);
  }
  .tabs--mobile.opened .tabs__dropdown {
    display: flex;
    flex-direction: column;
  }
  .tab,
  .tabs__selected {
    width: 100%;
    text-align: left;
  }
  .tab:hover,
  .tabs__selected:hover {
    background-color: var(--background);
  }
  .tab-content {
    display: none;
  }
  .tab-content.active {
    display: block;
  }
}
.reviews {
  position: relative;
  padding: 120px 0;
}
.reviews::before {
  content: url("../../assets/img/sections/background/back-reviews-2.svg");
  position: absolute;
  right: 0;
  top: 0;
}
.reviews::after {
  content: url("../../assets/img/sections/background/back-reviews-1.svg");
  position: absolute;
  left: 0;
  bottom: -5px;
}
.reviews__wrapper {
  position: relative;
  z-index: 2;
}
.reviews__title {
  margin-bottom: 20px;
}
.reviews__title.title--secondary {
  text-align: center;
}
.reviews__subtitle {
  margin-bottom: 40px;
  text-align: center;
}
.reviews__slider {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.reviews__bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
}
.reviews__link {
  margin: 0;
}

.review {
  position: relative;
  padding: 32px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 314px;
  color: var(--black);
  background-color: var(--white);
  border-radius: 24px;
}
.review__text {
  max-height: 117px;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.review__button {
  margin-top: 12px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--main);
  text-align: left;
  text-decoration: underline;
}
.review__button:hover {
  opacity: 0.8;
}
.review__button.hidden {
  display: none;
}
.review__bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
}
.review__date {
  opacity: 0.4;
}
.review__name {
  font-weight: 600;
  font-size: 20px;
}

.rating {
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.rating span {
  position: relative;
  width: 24px;
  height: 24px;
}

.rating span::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 0;
  top: 0;
  background-image: url("./../img/icons/star-empty.svg");
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: center;
}

.rating span.active::before {
  background-image: url("./../img/icons/star.svg");
}

.rating span.active-half::before {
  background-image: url("./../img/icons/star-half.svg");
}

@media (max-width: 1500px) {
  .reviews::after {
    content: "";
  }
}
@media (max-width: 1023px) {
  .reviews {
    padding: 64px 0;
  }
  .reviews__title {
    margin-bottom: 16px;
  }
  .reviews__subtitle {
    margin-bottom: 20px;
  }
  .reviews::before {
    content: url("../../assets/img/sections/background/back-mob.webp");
    right: 0;
    top: 0;
    width: 100%;
  }
  .reviews::after {
    display: block;
    content: url("../../assets/img/sections/background/back-mob.webp");
    left: 0;
    bottom: 0;
    width: 100%;
    transform: rotate(180deg);
  }
  .reviews__bottom {
    margin-top: 0;
    flex-direction: column;
    gap: 32px;
  }
  .reviews .slider-navigation {
    display: none;
  }
  .reviews .button--more {
    margin: 0 auto;
  }
  .review {
    padding: 20px;
    height: auto;
    border-radius: 16px;
  }
  .review__text {
    max-height: 189px;
  }
  .review__name {
    font-size: 16px;
  }
  .rating {
    margin-bottom: 16px;
  }
  .rating span {
    position: relative;
    width: 20px;
    height: 20px;
  }
  .rating span::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 0;
    top: 0;
    background-size: 18px 18px;
  }
}
.reviews-page {
  margin: 60px 0 140px 0;
}
.reviews-page__list.active {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.reviews-page .review {
  width: calc(50% - 24px);
  background-color: var(--background);
}
.reviews-page .review--image {
  padding: 12px;
}
.reviews-page .review--image .review__wrapper {
  position: relative;
  width: 100%;
  height: 314px;
  border-radius: 11px;
  overflow: hidden;
}
.reviews-page .review--image .review__img {
  width: 100%;
}
.reviews-page .review--image .review__filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 11px;
  background-color: rgba(34, 0, 2, 0.6);
  backdrop-filter: blur(4px);
}
.reviews-page .review__img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center top;
  object-position: center top;
  transition: filter 0.7s;
}
.reviews-page .review a {
  display: block;
  height: 100%;
  width: 100%;
}
.reviews-page .review a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url("../../assets/img/icons/stack.svg#scale");
  background-size: 50px 50px;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 3;
}
.reviews-page .review a::after {
  content: "Посмотреть отзыв из соцсетей";
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translateX(-50%);
  width: 179px;
  text-align: center;
  font-weight: 600;
  color: var(--white);
  z-index: 3;
}
.reviews-page .review__site {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 80px;
  height: 23px;
  z-index: 2;
}

@media (max-width: 768px) {
  .reviews-page {
    margin: 64px 0;
  }
  .reviews-page__list.active {
    flex-direction: column;
    gap: 15px;
  }
  .reviews-page .review {
    width: 100%;
  }
  .reviews-page .review--image .review__wrapper {
    height: 290px;
  }
  .reviews-page .review--image .review__img {
    width: auto;
    height: 290px;
  }
  .reviews-page .review a {
    display: block;
    height: 100%;
    width: 100%;
  }
  .reviews-page .review a::before {
    background-size: 40px 40px;
  }
  .reviews-page .review__site {
    top: 20px;
    right: 20px;
    width: 70px;
    height: 20px;
  }
}
.documents__slider {
  position: relative;
  overflow: hidden;
}
.documents__title {
  margin-bottom: 40px;
}

.document {
  position: relative;
  width: 19%;
  height: 421px;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}
.document__img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 24px;
  transition: all 0.3s ease;
}
.document a {
  display: block;
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.document a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  opacity: 0;
  background-image: url("../../assets/img/icons/stack.svg#scale");
  z-index: 3;
}
.document a:hover .document__img {
  filter: brightness(0.5);
}
.document a:hover::before {
  opacity: 1;
}
.document__name {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 20px 24px;
  border-bottom-left-radius: 24px;
  border-top-right-radius: 24px;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  background-color: var(--main);
}

@media (min-width: 769px) {
  .documents .swiper-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .documents__title {
    margin-bottom: 20px;
  }
  .documents__slider {
    overflow: visible;
  }
  .document {
    width: 100%;
    height: 385px;
    border-radius: 16px;
  }
  .document__img {
    width: 100%;
    height: auto;
  }
  .document__name {
    padding: 16px 24px;
    font-size: 16px;
    border-bottom-left-radius: 16px;
  }
}
.documents-page {
  margin: 60px 0 140px 0;
}
.documents-page__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.documents-page .document {
  width: calc(25% - 24px);
  height: 531px;
}
.documents-page .document img {
  height: 531px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  overflow: hidden;
}

@media (max-width: 1640px) {
  .documents-page .document {
    width: 32%;
  }
}
@media (max-width: 1440px) {
  .documents-page .document {
    width: 48%;
  }
}
@media (max-width: 768px) {
  .documents-page {
    margin: 40px 0 64px 0;
  }
  .documents-page__list {
    flex-direction: column;
  }
  .documents-page .document {
    width: 100%;
    height: 381px;
  }
  .documents-page .document img {
    width: 100%;
    height: auto;
  }
}
.faq {
  margin-top: -43px;
  padding-top: 113px;
  overflow: hidden;
}
.faq__title {
  position: relative;
  text-align: left;
  z-index: 2;
}
.faq__subtitle {
  position: relative;
  margin-top: auto;
  z-index: 2;
}
.faq__subtitle a {
  display: inline-block;
  font-weight: 600;
  border-bottom: 1px solid var(--main);
}
.faq__subtitle a:hover {
  color: var(--main);
}
.faq__wrapper {
  display: flex;
  gap: 12px;
}
.faq__flex {
  position: relative;
  padding: 0 400px 140px 0;
  display: flex;
  flex-direction: column;
  min-height: 653px;
  width: 50%;
}
.faq__img {
  position: absolute;
  right: 0;
  top: -43px;
}
.faq__list {
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 49%;
}

.question {
  position: relative;
  padding: 17px 32px 17px 32px;
  display: block;
  width: 100%;
  transition: 0.3s;
  overflow: hidden;
  background-color: var(--background);
  color: var(--text-accent);
  border-radius: 24px;
}

.question[open] {
  padding-bottom: 93px;
}

.question__title {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.question__title::marker, .service-toggle__title::marker {
  content: "";
}
.question__title::-webkit-details-marker, .service-toggle__title::-webkit-details-marker {
  display: none;
}

@media screen and (max-width: 1022px) {
  .service-toggle__subservice thead {
    display: none;
  }
  .service-toggle__subservice, .service-toggle__subservice tbody, .service-toggle__subservice th, .service-toggle__subservice td, .service-toggle__subservice tr {
    display: block;
    width: 100%;
  }
  .service-toggle {
    padding: 20px;
  }
  
  .service-toggle__subservice {
    margin: 0px 0px -90px 0px;
  }

  .service-toggle__subservice td {
    padding: 0;
  }

  .service-toggle__subservice tr {
    padding: 17px 0px;
  }

  .service-toggle__subservice-title {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .service-toggle__subservice-description {
    margin-bottom: 17px;
    font-size: 16px;
  }

  .service-toggle__subservice-price {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .service-toggle__title {
    font-size: 20px;
  }

  .service-toggle__top {
    text-align: center;
  }
  .service-toggle__oferta {
    font-size: 16px;
  }
}

.question__content {
  margin-top: 17px;
  margin-bottom: -69px;
  padding-right: 10px;
}

.question__button {
  position: relative;
  margin-left: 24px;
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--background-icon);
  transition: background-color 0.7s;
}

.question__button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 16px;
  background-color: var(--main);
  opacity: 1;
  transition: opacity 0.3s;
}

.question__button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 2px;
  background-color: var(--main);
}

.question[open] .question__button::before,
.question[open] .question__button::after {
  background-color: var(--white);
}

.question[open] .question__button {
  background-color: var(--main);
}

.question[open] .question__button::before {
  opacity: 0;
  transition: opacity 0.3s;
}

@media (max-width: 1440px) {
  .faq__wrapper {
    gap: 0;
  }
  .faq__flex {
    min-height: auto;
    width: 60%;
  }
  .faq__list {
    min-height: auto;
    width: 40%;
  }
}
@media (max-width: 1023px) {
  .faq__title {
    text-align: center;
  }
  .faq__subtitle {
    margin-top: 16px;
    text-align: center;
  }
  .faq__subtitle a {
    border-bottom: none;
  }
  .faq__wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .faq__flex {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .faq__img {
    display: none;
  }
  .faq__list {
    width: 100%;
  }
  .question {
    position: relative;
    padding: 17px 20px;
    border-radius: 16px;
  }
  .question[open] {
    padding-bottom: 100px;
  }
  .question__title {
    font-size: 18px;
  }
  .question__title::marker {
    content: "";
  }
  .question__title::-webkit-details-marker {
    display: none;
  }
  .question__content {
    margin-top: 18px;
    margin-bottom: -69px;
    padding-right: 0;
  }
  .question__button {
    width: 32px;
    min-width: 32px;
    height: 32px;
  }
  .question__button::before {
    height: 12px;
  }
}
.faq-page {
  margin: 60px 0 140px 0;
}
.faq-page__wrapper {
  display: flex;
  gap: 24px;
}
.faq-page .faq__list {
  padding: 0;
  flex-grow: 1;
}
.faq-page .text-content__flex-form {
  margin-bottom: auto;
  width: 412px;
}

@media (max-width: 1023px) {
  .faq-page {
    margin: 40px 0 64px 0;
  }
  .faq-page__wrapper {
    flex-direction: column;
  }
  .faq-page .text-content__flex-form {
    margin-bottom: 0;
    width: 100%;
  }
}
.footer {
  position: relative;
  padding: 73px 0 56px 0;
}
.footer::before {
  content: url("../../assets/img/sections/background/back-footer-2.webp");
  position: absolute;
  right: 0;
  top: 0;
}
.footer::after {
  content: url("../../assets/img/sections/background/back-footer-1.webp");
  position: absolute;
  left: 0;
  bottom: -5px;
}
.footer__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 37px;
  z-index: 2;
}
.footer__top {
  display: flex;
  align-items: center;
}
.footer__top p {
  font-size: 16px;
  width: 30%;
}
.footer .logo {
  margin-right: 40px;
  padding-right: 40px;
  width: 254px;
  border-right: 1px solid var(--white);
}
.footer .logo__text {
  font-size: 20px;
}
.footer .logo__text,
.footer .logo__text span {
  color: var(--white);
}
.footer .form {
  padding: 0;
  width: 328px;
  margin-left: auto;
  background-color: transparent;
}
.footer .form .label {
  width: 100%;
}
.footer .form .input {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1019607843);
}
.footer .form .input::-moz-placeholder {
  color: var(--white);
}
.footer .form .input::placeholder {
  color: var(--white);
}
.footer__middle {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer__flex {
  padding: 20px 24px;
  background-color: rgba(255, 255, 255, 0.0509803922);
  backdrop-filter: blur(34px);
  width: 19%;
  height: auto;
  border-radius: 24px;
}
.footer__flex-title {
  margin-bottom: 20px;
}
.footer__flex-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 16px;
}
.footer__flex a:hover {
  opacity: 0.8;
}
.footer__flex-item {
  opacity: 0.8;
}
.footer__phone,
.footer__email,
.footer__address,
.footer__work {
  position: relative;
  padding-left: 33px;
}
.footer__phone::before,
.footer__email::before,
.footer__address::before,
.footer__work::before {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  left: 0;
  top: 0;
  background-color: var(--white);
  -webkit-mask-size: 21px 21px;
  mask-size: 21px 21px;
}
.footer__phone::before {
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#phone");
  mask-image: url("../../assets/img/icons/stack.svg#phone");
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.footer__email::before {
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#mail");
  mask-image: url("../../assets/img/icons/stack.svg#mail");
}
.footer__address::before {
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#address");
  mask-image: url("../../assets/img/icons/stack.svg#address");
}
.footer__work::before {
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#clock");
  mask-image: url("../../assets/img/icons/stack.svg#clock");
}
.footer .socials {
  margin-top: 20px;
}
.footer__button {
  margin-top: 24px;
  width: 100%;
  min-height: 52px;
}
.footer__note {
  width: 100%;
  opacity: 0.8;
}

.footer-pay__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer-pay__item {
  padding: 12px;
  width: 47%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.0509803922);
  border-radius: 12px;
}
.footer-pay__item span {
  margin-top: auto;
  opacity: 0.8;
}

.footer__bottom {
  display: flex;
  font-size: 16px;
}
.footer__bottom-rating {
  padding-right: 20px;
  padding-bottom: 19px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 19%;
  border-right: 1px solid rgba(255, 255, 255, 0.4666666667);
}
.footer__bottom-rating .rating span::before {
  width: 21px;
  height: 20px;
  background-size: 21px 20px;
}
.footer__bottom-rating p {
  font-size: 18px;
}
.footer__bottom-rating .rating span.active::before {
  background-image: url("./../img/icons/star-yellow.svg");
}
.footer__bottom-rating .rating span.active-half::before {
  background-image: url("./../img/icons/star-yellow-half.svg");
}
.footer__bottom-copy {
  padding: 0 20px 19px 20px;
  width: 41%;
  border-right: 1px solid rgba(255, 255, 255, 0.4666666667);
  opacity: 0.8;
}
.footer__bottom-copy p {
  margin-bottom: 7px;
}
.footer__bottom-dop {
  padding: 0 20px 19px 20px;
  width: 38%;
  opacity: 0.8;
}

@media (max-width: 1355px) {
  .footer__middle {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer__flex {
    width: 32%;
  }
  .footer__flex.footer-pay {
    width: 66%;
  }
}
@media (max-width: 1032px) {
  .footer__flex {
    width: 31%;
  }
  .footer__flex.footer-pay {
    width: 64%;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 26px 0 20px 0;
  }
  .footer::before,
  .footer::after {
    display: none;
  }
  .footer__top {
    flex-direction: column;
  }
  .footer__top p {
    margin-bottom: 24px;
    font-size: 14px;
    width: 100%;
  }
  .footer .logo {
    margin-right: 0;
    margin-bottom: 12px;
    padding-right: 0;
    padding-bottom: 12px;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3019607843);
  }
  .footer .logo__text {
    margin: 0;
    display: flex;
    font-size: 14px;
  }
  .footer .form {
    width: 100%;
    margin-left: 0;
  }
  .footer__middle {
    flex-direction: column;
    gap: 12px;
  }
  .footer__flex {
    padding: 16px 20px;
    width: 100%;
    height: auto;
    border-radius: 24px;
  }
  .footer__flex-title {
    margin-bottom: 12px;
  }
  .footer__flex-list {
    font-size: 14px;
  }
  .footer__email::before,
  .footer__address::before,
  .footer__work::before {
    width: 18px;
    height: 18px;
    -webkit-mask-size: 18px 18px;
    mask-size: 18px 18px;
  }
  .footer__phone::before {
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    -webkit-mask-size: 16px 16px;
    mask-size: 16px 16px;
  }

  .footer__button {
    margin-top: 20px;
  }
  .footer__flex.footer-pay {
    width: 100%;
  }
  .footer-pay__list {
    gap: 8px;
  }
  .footer-pay__item {
    font-size: 14px;
  }
  .footer__bottom {
    flex-direction: column;
    font-size: 14px;
  }
  .footer__bottom-rating {
    padding-right: 0;
    padding-bottom: 12px;
    width: 100%;
    border-right: none;
  }
  .footer__bottom-rating p {
    font-size: 16px;
  }
  .footer__bottom-copy {
    padding: 24px 0 0 0;
    width: 100%;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.4666666667);
  }
  .footer__bottom-copy p {
    margin-bottom: 7px;
  }
  .footer__bottom-dop {
    display: none;
    padding: 24px 0 0 0;
    width: 100%;
  }
}
.scroll-top {
  width: 50px;
  height: 50px;
  position: fixed;
  left: 4.3vw;
  bottom: 100px;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid rgba(191, 31, 31, 0.2588235294);
  background-color: var(--white);
  box-shadow: 0 0 5px rgba(34, 0, 2, 0.1921568627);
  opacity: 0;
  transform: rotate(-90deg);
  transition: opacity 0.7s;
  cursor: pointer;
}

@media (max-width: 768px) {
  .scroll-top {
    bottom: 50px;
  }
}
.popup {
  height: 100vh;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 100%;
  z-index: 1000;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  background: rgba(37, 39, 52, 0.4784313725);
  backdrop-filter: blur(14px);
}

.popup__body {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.popup.open {
  opacity: 1;
  pointer-events: all;
}

.popup__content {
  width: 100%;
  max-width: 917px;
  max-height: 578px;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 52px;
  padding: 32px 52px 32px 32px;
  background-color: var(--white);
  border-radius: 24px;
  overflow: visible;
}

.popup__content > * {
  position: relative;
  z-index: 2;
}

.popup__img {
  width: 40%;
  background: var(--main)
    url("../../assets/img/sections/background/back-popup.webp") top right
    no-repeat;
  border-radius: 24px;
}
.popup__img picture {
  position: relative;
  top: -18px;
  margin-bottom: 18px;
}

.popup .form {
  padding: 0;
}

.popup__form {
  display: flex;
  flex-direction: column;
  width: 60%;
  height: auto;
}

.popup__subtitle {
  margin-top: auto;
  margin-bottom: 20px;
  width: 100%;
}
.popup__subtitle a {
  font-weight: 600;
  color: var(--text-accent);
}
.popup__subtitle a:hover {
  color: var(--main);
}

.popup__subtitle--small {
  margin-top: 0;
  font-size: 14px;
  line-height: 110%;
  color: rgba(34, 0, 2, 0.4);
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.popup__subtitle--small::before,
.popup__subtitle--small::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(34, 0, 2, 0.1490196078);
}

.popup--search .form {
  position: relative;
  margin-bottom: 30px;
  width: 100%;
  min-height: auto;
}

.popup--search .popup__title {
  padding-left: 0;
  margin-bottom: 0;
  text-align: left;
}

.search__input {
  width: 100%;
  color: var(--black);
  padding-right: 46px;
}

.popup--search .form__label {
  position: relative;
  display: block;
  width: 100%;
}

.popup--search .popup__content {
  padding: 40px 60px;
  flex-direction: column;
  gap: 0;
}
.popup--search .popup__title {
  margin-bottom: 32px;
  text-align: center;
}
.popup--search .form__result {
  margin-top: 24px;
  margin-bottom: 16px;
  color: rgba(34, 0, 2, 0.6);
}

.form__list {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-height: 322px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

.popup__close {
  cursor: pointer;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -40px;
  right: -40px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1019607843);
  border-radius: 50%;
}
.popup__close svg {
  transition: transform 0.7s;
}
.popup__close:hover svg {
  transform: rotate(360deg);
}

.button__ok {
  margin: 0 auto;
  margin-top: 20px;
  width: 137px;
}

.popup-responce .popup__content {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 38px;
  height: 578px;
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
  color: var(--text-accent);
}

@media (max-width: 768px) {
  .popup__content {
    padding: 20px;
    max-width: auto;
    max-height: auto;
  }
  .popup__img {
    display: none;
  }
  .popup__form {
    width: 100%;
  }
  .popup__title {
    margin-bottom: 24px;
  }
  .popup__subtitle {
    margin-bottom: 16px;
  }
  .popup__subtitle a {
    display: block;
  }
  .popup__close {
    top: -56px;
    right: 0;
  }
  .close-popup {
    width: 24px;
    height: 24px;
    top: 10px;
    right: 10px;
  }
  .popup--search .popup__content {
    padding: 24px 20px;
  }
  .popup--search .popup__title {
    margin-bottom: 20px;
  }
  .form__list {
    max-height: 276px;
  }
  .form__result {
    margin-top: 20px;
  }
}
.cookie-block {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--black);
  color: var(--white);
  padding: 10px 14px;
  font-size: 14px;
  z-index: 10151;
}

.cookie-block button {
  border: 0;
  outline: 0;
  padding: 16px;
  margin: 0 8px;
  min-width: 394px;
  height: 52px;
  border-radius: 5px;
  background-color: var(--main);
  border-radius: 12px;
  cursor: pointer;
}

.cookie-block.accepted {
  bottom: -999px;
  opacity: 0.2;
}

@media (max-width: 768px) {
  .cookie-block {
    flex-direction: column;
    gap: 10px;
    align-items: start;
    font-size: 12px;
  }
}
.widget {
  position: fixed;
  right: 0;
  bottom: 139px;
  z-index: 5;
}
.widget__wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.7s ease;
}
.widget__wrapper.active {
  max-width: 254px;
}
.widget__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background-color: var(--black);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}
.widget__item {
  padding: 20px;
  border-radius: 8px;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.0509803922);
  transition: background-color 0.7s;
  white-space: nowrap;
}
.widget__item:hover {
  background-color: rgba(255, 255, 255, 0.1019607843);
}
.widget__link {
  display: flex;
  align-items: center;
  gap: 20px;
}
.widget__icon {
  width: 24px;
  height: 24px;
  color: var(--white);
}
.widget__open {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: 64px;
  height: 64px;
  background-color: var(--black);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  transition: all 0.3s;
}
.widget__open svg {
  transition: opacity 0.2s;
}
.widget__open:hover {
  opacity: 0;
}
.widget__open:hover svg {
  opacity: 0;
}
.widget__open:hover + .widget__wrapper {
  max-width: 270px;
}
.widget__open.active {
  opacity: 0;
}
.widget:hover .widget__open {
  opacity: 0;
}
.widget:hover .widget__open svg {
  opacity: 0;
}
.widget:hover .widget__wrapper {
  max-width: 270px;
}

@media (max-width: 768px) {
  .cookie-block {
    text-align: center;
  }
  .cookie-block button {
    min-width: 100%;
  }
  .widget {
    bottom: 43px;
  }
  .widget__wrapper.active {
    max-width: 213px;
  }
  .widget__item {
    padding: 12px 10px 12px 12px;
  }
  .widget__link {
    display: flex;
    gap: 16px;
  }
  .widget__icon {
    width: 24px;
    height: 24px;
    color: var(--white);
  }
}
.popup-calc .popup__content {
  min-height: 578px;
  flex-direction: column;
}
.popup-calc__wrapper {
  display: flex;
  gap: 27px;
}
.popup-calc__slides {
  padding: 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.popup-calc__slides:has(.popup-calc__slide--form) {
  padding: 0;
}
.popup-calc .popup-calc__slide--form picture {
  margin-bottom: -18px;
}
.popup-calc .popup-calc__slide--form .popup__title {
  margin-top: 16px;
  margin-bottom: auto;
}
.popup-calc .popup-calc__slide--form .popup__subtitle {
  margin-top: 0;
  margin-bottom: 20px;
}
.popup-calc .popup-calc__slide--form .popup__price {
  margin-bottom: 20px;
  font-size: 32px;
  color: var(--text-accent);
}
.popup-calc__slide {
  min-width: 100%;
}
.popup-calc__title {
  margin-bottom: 32px;
}
.popup-calc__label {
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-weight: 600;
  border-radius: 16px;
  color: var(--text-accent);
  background-color: var(--background);
  position: relative;
  overflow: hidden;
  transition: color 0.7s, background-color 0.7s;
  cursor: pointer;
}
.popup-calc__label::before {
  content: "";
  position: absolute;
  top: 0;
  right: -20%;
  width: 80%;
  height: 100%;
  background-image: url("../../assets/img/sections/background/back-radio.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  z-index: 1;
  pointer-events: none;
}
.popup-calc__label:hover {
  color: var(--white);
  background-color: rgba(188, 29, 29, 0.7882352941);
  transition: color 0.7s, background-color 0.7s;
}
.popup-calc__label:hover .popup-calc__number {
  color: var(--main);
  background-color: var(--white);
}
.popup-calc__label:hover .popup-calc__icon {
  color: var(--white);
}
.popup-calc__label:hover .popup-calc__icon circle {
  fill: var(--white);
  opacity: 0.3;
}
.popup-calc__label:has(.popup-calc__radio:checked) {
  color: var(--white);
  background-color: var(--main);
  transition: color 0.7s, background-color 0.7s;
}
.popup-calc__label:has(.popup-calc__radio:checked)::before {
  opacity: 1;
  transform: translateX(0);
}
.popup-calc__label:has(.popup-calc__radio:checked) .popup-calc__number {
  color: var(--main);
  background-color: var(--white);
}
.popup-calc__label:has(.popup-calc__radio:checked) .popup-calc__icon {
  color: var(--white);
}
.popup-calc__label:has(.popup-calc__radio:checked) .popup-calc__icon circle {
  fill: currentColor;
}
.popup-calc__label:has(.popup-calc__radio:checked)
  .popup-calc__icon
  circle
  path {
  fill: currentColor;
}
.popup-calc__label > * {
  position: relative;
  z-index: 2;
}
.popup-calc__radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.popup-calc__radio:checked + .popup-calc__number {
  color: var(--main);
  background-color: var(--white);
}
.popup-calc__form {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.popup-calc__form--service .popup-calc__label {
  width: calc(33% - 10px);
  min-height: 137px;
}
.popup-calc__form--location .popup-calc__label {
  width: calc(50% - 13px);
  min-height: 218px;
}
.popup-calc__form--urgency .popup-calc__label {
  width: calc(33% - 10px);
  min-height: 185px;
}
.popup-calc__form--condition .popup-calc__label {
  width: calc(50% - 13px);
  min-height: 154px;
}
.popup-calc__form--dop .popup-calc__label {
  width: calc(33% - 10px);
  min-height: 154px;
}
.popup-calc__form--dop .popup-calc__label.popup-calc__label:hover {
  color: var(--text-accent);
  background-color: var(--background);
}
.popup-calc__number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 23px;
  height: 23px;
  font-size: 14px;
  line-height: 110%;
  border-radius: 50%;
  color: var(--white);
  background-color: var(--main-dark);
}
.popup-calc__icon {
  color: var(--main);
}
.popup-calc__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  color: var(--text-accent);
  background-color: var(--background);
}
.popup-calc__button {
  width: calc(50% - 16px);
}
.popup-calc__bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

input[type="radio"] {
  display: none;
}

@media (max-width: 768px) {
  .popup-calc .popup__body {
    margin-top: 74px;
    align-items: flex-start;
  }
  .popup-calc .popup__content {
    min-height: 604px;
    max-height: 100%;
  }
  .popup-calc__wrapper {
    min-height: 564px;
  }
  .popup-calc__slides {
    padding: 0;
  }
  .popup-calc .popup-calc__slide--form .popup__title {
    margin-top: 12px;
  }
  .popup-calc .popup-calc__slide--form .popup__subtitle {
    margin-top: 0;
    margin-bottom: 20px;
  }
  .popup-calc .popup-calc__slide--form .popup__price {
    margin-bottom: 12px;
    font-size: 20px;
  }
  .popup-calc__title {
    margin-bottom: 20px;
  }
  .popup-calc__label {
    padding: 16px 20px;
    display: flex;
  }
  .popup-calc__form {
    margin-bottom: 22px;
    flex-direction: column;
    gap: 12px;
  }
  .popup-calc__form--service .popup-calc__label {
    width: 100%;
    min-height: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
  }
  .popup-calc__form--location .popup-calc__label {
    width: 100%;
    min-height: 136px;
  }
  .popup-calc__form--urgency .popup-calc__label {
    width: 100%;
    min-height: 110px;
  }
  .popup-calc__form--condition .popup-calc__label {
    width: 100%;
    min-height: 82px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
  }
  .popup-calc__form--dop .popup-calc__label {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    min-height: 61px;
  }
  .popup-calc__pagination {
    width: 52px;
    height: 52px;
  }
  .popup-calc__button {
    width: auto;
    flex-grow: 1;
  }
  .popup-calc__button--prev {
    width: 100%;
    order: 1;
  }
  .popup-calc__bottom {
    gap: 8px;
    flex-wrap: wrap;
  }
}
.tariffs__title {
  margin-bottom: 20px;
}
.tariffs__subtitle {
  margin-bottom: 40px;
  padding: 0 25%;
  text-align: center;
  color: #b42c2c;
}
.tariffs__slider {
  margin-bottom: 40px;
  overflow: hidden;
}

.tariff {
  padding: 12px 12px 40px 12px;
  display: flex;
  flex-direction: column;
  gap: 37px;
  height: auto;
  min-height: 673px;
  background-color: var(--background);
  border-radius: 24px;
}
.tariff__wrapper {
  padding: 24px 28px;
  border-radius: 16px;
  background-color: var(--background-icon);
  color: var(--text-accent);
}
.tariff__name {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 32px;
  line-height: 110%;
}
.tariff__list {
  margin: 0 28px;
}
.tariff__button {
  margin: auto 28px 0 28px;
  padding: 4px;
  display: flex;
  justify-content: space-between;
  background-color: var(--main);
  border-radius: 12px;
}
.tariff__button .button {
  min-height: 52px;
}
.tariff__price {
  padding: 16px;
  width: 229px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  text-align: center;
  color: var(--text-accent);
  background-color: var(--white);
  border-radius: 8px;
}
.tariff__bage {
  position: relative;
  padding: 6px 16px 6px 47px;
  height: 35px;
  border-radius: 40px;
  color: var(--text-accent);
  background-color: var(--background);
}
.tariff__bage::before {
  content: "";
  position: absolute;
  width: 23px;
  height: 23px;
  left: 16px;
  top: 6px;
  background-image: url("../../assets/img/icons/stack.svg#star");
  opacity: 0.6;
}

.tariff--accent {
  background-color: var(--main);
  color: var(--white);
  background-image: url("../../assets/img/sections/background/back-tariff.webp");
  background-position: left bottom;
  background-repeat: no-repeat;
}
.tariff--accent .tariff__wrapper {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1019607843);
}
.tariff--accent .tariff__wrapper div {
  display: flex;
  justify-content: space-between;
}
.tariff--accent .list li::before {
  background-color: var(--white);
}
.tariff--accent .tariff__button {
  background-color: var(--white);
}
.tariff--accent .button {
  color: var(--main);
  background-color: var(--white);
}
.tariff--accent .tariff__price {
  color: var(--white);
  background-color: var(--main);
}

.pay {
  display: flex;
  gap: 24px;
}
.pay div {
  border-radius: 24px;
  background-color: var(--background);
}
.pay__flex {
  padding: 18px 48px 22px 48px;
  display: flex;
  align-items: center;
  gap: 50px;
  flex-grow: 1;
}
.pay__flex p {
  font-size: 20px;
  font-weight: 600;
}
.pay__list {
  padding-left: 50px;
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  border-left: 1px solid var(--border);
}
.pay__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pay__icon {
  width: 37px;
  height: 37px;
  color: #bf1f1f;
}
.pay__note {
  padding: 33px;
  width: 26%;
  font-size: 16px;
}

@media (max-width: 1354px) {
  .tariff {
    padding: 6px 6px 20px 6px;
    gap: 20px;
    border-radius: 16px;
  }
  .tariff__wrapper {
    padding: 12px 14px;
    border-radius: 11px;
  }
  .tariff__name {
    margin-bottom: 10px;
    font-size: 20px;
  }
  .tariff__list {
    margin: 0 14px;
  }
  .tariff__button {
    margin: auto 14px 0 14px;
    flex-direction: column;
  }
  .tariff__price {
    padding: 12px;
    width: 100%;
  }
  .tariff__bage {
    padding: 4px 14px;
    height: 26px;
  }
  .tariff__bage::before {
    display: none;
  }
  .tariff--accent {
    background-image: none;
  }
  .tariff--accent .tariff__button {
    background-color: var(--background);
  }
  .tariff--accent .button {
    background-color: var(--background);
  }
  .pay {
    flex-direction: column;
    gap: 16px;
  }
  .pay__icon {
    width: 24px;
    height: 24px;
  }
  .pay__note {
    padding: 20px;
    width: 100%;
  }
}
@media (max-width: 1023px) {
  .tariffs__title {
    margin-bottom: 16px;
  }
  .tariffs__subtitle {
    margin-bottom: 20px;
    padding: 0;
  }
  .tariffs__slider {
    margin-bottom: 32px;
  }
  .tariff {
    min-height: auto;
  }
  .pay div {
    border-radius: 16px;
  }
  .pay__flex {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .pay__flex p {
    font-size: 18px;
  }
  .pay__list {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    border-left: none;
  }
  .pay__item {
    padding: 12px;
    gap: 8px;
    width: 47%;
    border-radius: 12px;
    background-color: var(--white);
  }
  .pay__note {
    padding: 16px 20px;
  }
}
.simptoms {
  position: relative;
  padding: 140px 0 78px 0;
  background-color: var(--background);
}
.simptoms__title {
  position: relative;
  text-align: left;
  z-index: 2;
}
.simptoms__subtitle {
  position: relative;
  margin-top: auto;
  top: -62px;
  width: 40%;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-accent);
  z-index: 2;
  order: 2;
  max-width: 410px;
}
.simptoms__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.simptoms__flex {
  padding-right: 300px;
  display: flex;
  flex-direction: column;
  width: 50%;
}
.simptoms__img {
  position: absolute;
  right: 48%;
  bottom: 0;
  z-index: 2;
}
.simptoms__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 49%;
}

.simptom {
  position: relative;
  width: 48%;
  padding: 72px 24px 26px 24px;
  font-size: 20px;
  font-weight: 600;
  background-color: var(--white);
  border-radius: 24px;
}
.simptom::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  left: 32px;
  top: 24px;
  background-image: url("../../assets/img/icons/stack.svg#warning");
}

@media (max-width: 1340px) {
  .simptoms__list {
    width: 45%;
  }
  .simptoms__item {
    width: 47%;
  }
}
@media (max-width: 1023px) {
  .simptoms {
    padding: 64px 0;
  }
  .simptoms__title {
    text-align: center;
  }
  .simptoms__subtitle {
    top: 0;
    width: 100%;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
  }
  .simptoms__wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .simptoms__flex {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .simptoms__img {
    display: none;
  }
  .simptoms__list {
    width: 100%;
  }
  .simptom {
    width: 100%;
    padding: 56px 20px 18px 20px;
    font-size: 18px;
    border-radius: 16px;
  }
  .simptom::before {
    width: 24px;
    height: 24px;
    left: 20px;
    top: 20px;
    background-size: 24px 24px;
  }
}
.steps__title {
  margin-bottom: 40px;
}
.steps__list {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  list-style: decimal;
}

.step {
  position: relative;
  padding: 24px 32px 24px 32px;
  min-height: 253px;
  width: 24%;
  border-radius: 24px;
  background-color: var(--background);
}
.step::marker {
  content: none;
}
.step::before {
  content: counter(list-item);
  position: absolute;
  right: 32px;
  top: -18px;
  width: 50%;
  height: 100%;
  color: transparent;
  background-image: linear-gradient(
    180deg,
    rgba(186, 26, 26, 0.6) -57.95%,
    rgba(251, 246, 246, 0.6) 80.45%
  );
  -webkit-background-clip: text;
  background-clip: text;
  text-align: right;
  font-size: 200px;
  line-height: 110%;
}
.step__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  z-index: 2;
}
.step__title {
  margin-top: auto;
  padding-right: 20%;
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
  color: var(--main);
}

@media (max-width: 1300px) {
  .steps__list {
    flex-wrap: wrap;
  }
  .step {
    width: 48%;
  }
}
@media (max-width: 768px) {
  .steps__title {
    margin-bottom: 20px;
  }
  .steps__list {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 20px;
  }
  .step {
    position: relative;
    padding: 18px 20px;
    min-height: 212px;
    height: 100%;
    width: 100%;
    border-radius: 16px;
  }
  .step::before {
    right: 22px;
    font-size: 160px;
  }
  .step__wrapper {
    gap: 12px;
  }
  .step__title {
    font-size: 18px;
  }
}
.prices__title {
  margin-bottom: 40px;
}
.prices__slider {
  overflow: hidden;
}

.price {
  padding: 12px 12px 40px 12px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: auto;
  min-height: 557px;
  background-color: var(--background);
  border-radius: 24px;
}
.price__wrapper {
  padding: 24px 28px;
  border-radius: 16px;
  background-color: var(--white);
}
.price__name {
  margin-bottom: 43px;
  font-size: 24px;
  line-height: 110%;
}
.price__number {
  font-weight: 600;
  font-size: 40px;
  line-height: 110%;
  color: var(--main);
}
.price__number span {
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
  color: rgba(186, 26, 26, 0.6);
}
.price__list {
  margin: 0 28px;
}
.price__button {
  margin: auto 28px 0 28px;
}

.price--accent .price__wrapper {
  color: var(--white);
  background-color: var(--main);
  background-image: url("../../assets/img/sections/background/back-price.png");
  background-size: auto 100%;
  background-position: right top;
  background-repeat: no-repeat;
}
.price--accent .price__number {
  color: var(--white);
}

@media (max-width: 1023px) {
  .prices__title {
    margin-bottom: 26px;
  }
  .price {
    padding: 6px 6px 20px 6px;
    gap: 20px;
    min-height: 384px;
    border-radius: 16px;
  }
  .price__wrapper {
    padding: 10px 14px;
    border-radius: 11px;
  }
  .price__name {
    margin-bottom: 26px;
    font-size: 18px;
    line-height: 130%;
  }
  .price__number {
    font-size: 22px;
  }
  .price__number span {
    font-size: 18px;
  }
  .price__list {
    margin: 0 14px;
  }
  .price__button {
    margin: auto 14px 0 14px;
  }
  .price--accent .price__wrapper {
    background-image: url("../../assets/img/sections/background/back-price-mob.png");
  }
}
.prices-page {
  margin: 20px 0 140px 0;
}
.prices-page .prices__wrapper {
  margin: 0 auto;
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1880px;
  border-radius: 24px;
  background-color: var(--background);
}
.prices-page .prices__category {
  padding: 20px 40px;
  border-radius: 24px;
  background-color: var(--white);
  transition: 0.5s;
}
.prices-page .prices__title {
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
}
.prices-page .prices__title span {
  margin-left: auto;
  margin-right: 24px;
  font-size: 18px;
  opacity: 0.6;
}
.prices-page .prices__open {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background-color: var(--background);
}
.prices-page .prices__open::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 2px;
  background-color: var(--main);
  opacity: 1;
  transition: opacity 0.7s;
}
.prices-page .prices__open::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 16px;
  background-color: var(--main);
}
.prices-page .prices__content {
  margin-bottom: -80px;
  padding: 32px 0 22px 0;
}
.prices-page .prices__list {
  width: 100%;
  border-collapse: collapse;
}
.prices-page .prices__list-cost {
  width: 26%;
}
.prices-page .prices__list-button {
  width: 10%;
  font-weight: 800;
  color: var(--main);
}
.prices-page .prices__list th {
  padding: 20px 32px;
  font-size: 16px;
  font-weight: 400;
  color: rgba(34, 0, 2, 0.6117647059);
  text-align: left;
}
.prices-page .prices__list td {
  padding: 24px 32px;
  text-align: left;
}
.prices-page .prices__list thead {
  background-color: var(--background);
}
.prices-page .prices__list thead tr th:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.prices-page .prices__list thead tr th:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.prices-page .prices__list tr:nth-child(even) {
  background-color: var(--background);
}
.prices-page .prices__list tr:nth-child(even) td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.prices-page .prices__list tr:nth-child(even) td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.prices-page .prices__category[open] {
  padding-bottom: 100px;
}
.prices-page .prices__category[open] .prices__open::after {
  opacity: 0;
  transition: opacity 0.5s;
}
.prices-page .prices__category[open] .prices__title {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 1023px) {
  .prices-page .tab {
    width: 49%;
  }
}
@media (max-width: 768px) {
  .prices-page {
    margin-bottom: 64px;
  }
  .prices-page .prices__wrapper {
    padding: 16px;
  }
  .prices-page .prices__category {
    padding: 16px 20px;
    border-radius: 16px;
  }
  .prices-page .prices__title {
    position: relative;
    margin-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px 0;
    font-size: 18px;
  }
  .prices-page .prices__title p {
    padding-right: 52px;
  }
  .prices-page .prices__title span {
    margin-left: 0;
    margin-right: 0;
    font-size: 16px;
    width: 100%;
    order: 2;
  }
  .prices-page .prices__open {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .prices-page .prices__open::before {
    width: 12px;
  }
  .prices-page .prices__open::after {
    height: 12px;
  }
  .prices-page .prices__content {
    margin-bottom: -80px;
    padding: 16px 0 0 0;
  }
  .prices-page .prices__list {
    width: 100%;
    border-collapse: collapse;
  }
  .prices-page .prices__list-name {
    width: 100%;
  }
  .prices-page .prices__list-cost {
    width: 49%;
  }
  .prices-page .prices__list-button {
    width: 49%;
    font-weight: 700;
  }
  .prices-page .prices__list td {
    padding: 0;
  }
  .prices-page .prices__list thead {
    display: none;
  }
  .prices-page .prices__list tr {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 0;
    border-radius: 12px;
  }
  .prices-page .prices__list tr:nth-child(even) {
    background-color: transparent;
  }
  .prices-page .prices__list tr:nth-child(odd) {
    background-color: var(--background);
  }
  .prices-page .prices__category[open] {
    padding-bottom: 100px;
  }
  .prices-page .prices__category[open] .prices__open::after {
    opacity: 0;
    transition: opacity 0.5s;
  }
  .prices-page .prices__category[open] .prices__title {
    padding-bottom: 16px;
  }
  .prices-page .prices__list td.prices__list-button {
    text-align: right;
  }
}
.about__list {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.about__item {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 20px;
  background-color: var(--white);
}
.about__item span {
  font-size: 32px;
  line-height: 100%;
  font-weight: 600;
}

.about__slider {
  position: absolute;
  bottom: 143px;
  right: 24%;
  width: 642px;
  z-index: 3;
  overflow: hidden;
}

.about__img {
  width: 642px;
  height: 403px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  overflow: hidden;
}

.about__slider-navigation {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

@media (max-width: 1880px) {
  .about__slider {
    right: 12%;
  }
}
@media (max-width: 1550px) {
  .about__slider {
    bottom: 125px;
    right: 34%;
    width: 479px;
  }
  .about__img {
    width: 479px;
    height: 306px;
  }
}
@media (max-width: 1023px) {
  .about__list {
    flex-direction: column;
    gap: 8px;
  }
  .about__item {
    border-radius: 16px;
    gap: 16px;
  }
  .about__item span {
    font-size: 24px;
  }
  .about__slider {
    position: absolute;
    bottom: 66px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: 233px;
  }
  .about__img {
    width: 227px;
    height: 145px;
  }
}
.article-page {
  margin-bottom: 140px;
}
.article-page .text-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}
.article-page .text-content__wrapper {
  margin-left: 0;
  max-width: 73%;
}
.article-page .text-content__nav {
  margin-bottom: 48px;
  padding: 32px 40px 20px 40px;
  width: 100%;
}
.article-page .text-content__flex {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.article-page .banner-consultation {
  margin: 80px 0;
  padding: 60px 60px 60px 80px;
}
.article-page .banner-consultation__form {
  width: 458px;
}
.article-page .banner-consultation::after {
  width: 50%;
  left: -18%;
  top: 25%;
}
.article-page .form__title {
  padding: 0;
}
.article-page .banner-consultation__text {
  width: 51%;
}
.article-page .text-content__flex-popular ul li {
  padding: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.article-page .text-content__flex-popular ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.article-page .text-content__flex-popular ul li::before {
  display: none;
}
.article-page .text-content__flex-banner {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  background-image: url("./../img/sections/background/back-banner-mob.webp");
  background-position: top right;
}
.article-page .text-content__flex-banner .text-content__flex-title {
  margin-bottom: 12px;
  color: var(--white);
  text-align: left;
  font-size: 32px;
}
.article-page .text-content__flex-buttons {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  text-decoration: underline;
}
.article-page .text-content__flex-buttons button {
  font-weight: 800;
  text-align: left;
}

.text-content__flex-form,
.text-content__flex-popular {
  padding: 28px 32px 24px 32px;
  border-radius: 24px;
  background-color: var(--background);
}

.text-content__flex-form .form {
  padding: 0;
  background-color: transparent;
}

.text-content__flex-form .input {
  background-color: var(--white);
}

.text-content__flex-title {
  margin-bottom: 24px;
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
  color: var(--main);
  text-align: center;
}

@media (max-width: 1344px) {
  .article-page .banner-consultation {
    padding: 64px 16px;
  }
  .text-content__flex-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 1023px) {
  .article-page {
    margin-bottom: 64px;
  }
  .article-page .text-content {
    display: block;
  }
  .article-page .text-content__wrapper {
    width: 100%;
    max-width: 100%;
  }
  .article-page .text-content__flex {
    display: none;
  }
  .article-page .text-content__nav {
    padding: 16px 20px 4px 20px;
  }
  .article-page .banner-consultation {
    margin: 64px 0;
  }
  .article-page .banner-consultation__form {
    width: 100%;
  }
  .article-page .banner-consultation__text {
    width: 100%;
  }
  .article-page .text-content__flex-form,
  .article-page .text-content__flex-popular {
    padding: 28px 32px 24px 32px;
    border-radius: 24px;
    background-color: var(--background);
  }
  .article-page .text-content__flex-form .form {
    padding: 0;
    background-color: transparent;
  }
  .article-page .text-content__flex-form .input {
    background-color: var(--white);
  }
  .article-page .text-content__flex-title {
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 110%;
    font-weight: 500;
    color: var(--main);
    text-align: center;
  }
  .article-page .text-content__flex-popular ul li {
    padding: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
  }
  .article-page .text-content__flex-popular ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  .article-page .text-content__flex-popular ul li::before {
    display: none;
  }
  .article-page .text-content__flex-banner {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    min-height: 290px;
  }
  .article-page .text-content__flex-banner .text-content__flex-title {
    margin-bottom: 12px;
    color: var(--white);
    text-align: left;
    font-size: 32px;
  }
  .article-page .text-content__flex-link {
    margin-top: auto;
    margin-left: auto;
    text-decoration: underline;
    background-image: url("./../img/sections/background/back-banner-mob.webp");
    background-position: top right;
  }
}
.articles__list {
  margin: 60px 0 140px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.article {
  position: relative;
  padding: 24px 40px 24px 24px;
  display: flex;
  gap: 40px;
  width: 49%;
  border-radius: 24px;
  background-color: var(--background);
}
.article__img {
  width: 40%;
  height: 273px;
  border-radius: 8px;
  overflow: hidden;
}
.article__img img {
  width: 100%;
  height: 273px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 8px;
}
.article__wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.article__title {
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
}
.article__link {
  margin-top: auto;
}
.article__link span {
  position: relative;
  padding-left: 40px;
}
.article__link span::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 0;
  top: 0;
  background-image: url("../../assets/img/icons/stack.svg#book");
}

@media (max-width: 1230px) {
  .article {
    padding: 20px;
    width: 48%;
    flex-direction: column;
    gap: 20px;
  }
  .article__img {
    width: 100%;
    height: 179px;
  }
  .article__img img {
    height: 179px;
  }
}
@media (max-width: 768px) {
  .articles__list {
    margin: 40px 0 64px 0;
    flex-direction: column;
    gap: 12px;
  }
  .article {
    width: 100%;
    border-radius: 16px;
  }
  .article__wrapper {
    gap: 12px;
  }
  .article__title {
    font-size: 18px;
  }
  .article__link {
    margin-top: 8px;
  }
  .article__link span {
    padding-left: 35px;
  }
  .article__link span::before {
    width: 19px;
    height: 19px;
    background-size: 19px 19px;
  }
}
.contacts {
  margin: 60px 0 140px 0;
}
.contacts__wrapper {
  display: flex;
  gap: 24px;
}
.contacts__flex {
  padding: 32px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  width: 49%;
  border-radius: 24px;
  background-color: var(--background);
}
.contacts__description {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contacts__list {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contacts__item {
  position: relative;
  padding-left: 79px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contacts__item::before {
  content: "";
  position: absolute;
  width: 59px;
  height: 59px;
  left: 0;
  top: 0;
  background-color: var(--white);
  border-radius: 12px;
}
.contacts__phone,
.contacts__email,
.contacts__address {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-accent);
}
.contacts a:hover {
  color: var(--black);
}
.contacts address {
  font-style: normal;
}
.contacts__phone::after,
.contacts__email::after,
.contacts__address::after {
  content: "";
  width: 21px;
  height: 21px;
  position: absolute;
  left: 19px;
  top: 17px;
  -webkit-mask-size: 21px;
  mask-size: 21px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-color: var(--main);
}
.contacts__phone::after {
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#phone");
  mask-image: url("../../assets/img/icons/stack.svg#phone");
}
.contacts__email::after {
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#mail");
  mask-image: url("../../assets/img/icons/stack.svg#mail");
}
.contacts__address::after {
  -webkit-mask-image: url("../../assets/img/icons/stack.svg#address");
  mask-image: url("../../assets/img/icons/stack.svg#address");
}
.contacts__button {
  margin-top: auto;
  width: 100%;
}
.contacts__map {
  height: auto;
  flex-grow: 1;
  border-radius: 24px;
  overflow: hidden;
}

#map {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .contacts {
    margin: 40px 0 64px 0;
  }
  .contacts__wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .contacts__flex {
    padding: 16px 20px 20px 20px;
    width: 100%;
  }
  .contacts__description {
    margin-bottom: 24px;
    gap: 12px;
  }
  .contacts__list {
    margin-bottom: 24px;
  }
  .contacts__item {
    padding-left: 65px;
  }
  .contacts__item::before {
    width: 49px;
    height: 49px;
  }
  .contacts__phone,
  .contacts__email,
  .contacts__address {
    font-size: 18px;
    font-weight: 600;
  }
  .contacts__phone::after,
  .contacts__email::after,
  .contacts__address::after {
    top: 12px;
    left: 14px;
  }
  .contacts__map {
    border-radius: 16px;
    width: 100%;
    height: 587px;
  }
}
.sitemap {
  margin-bottom: 140px;
}
.sitemap__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.sitemap__item {
  padding: 40px 32px;
  width: calc(25% - 24px);
  border-radius: 24px;
  background-color: var(--background);
}
.sitemap__item-title {
  margin-bottom: 32px;
  font-size: 24px;
  line-height: 110%;
  font-weight: 500;
  color: var(--text-accent);
}
.sitemap__item a:hover {
  color: var(--hover);
}
.sitemap__item-button {
  margin-top: 16px;
  font-weight: 700;
  color: var(--main);
  transition: color 0.7s;
}
.sitemap__item-button.hidden {
  display: none;
}
.sitemap__item-button:hover {
  color: var(--black);
  transition: color 0.7s;
}
.sitemap__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  opacity: 0.6;
  transition: max-height 0.7s;
}

@media (max-width: 1440px) {
  .sitemap__item {
    width: calc(50% - 24px);
  }
}
@media (max-width: 768px) {
  .sitemap {
    margin-bottom: 64px;
  }
  .sitemap__wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .sitemap__item {
    padding: 20px;
    width: 100%;
    border-radius: 16px;
  }
  .sitemap__item-title {
    margin-bottom: 20px;
    font-size: 18px;
  }
  .sitemap__item-button {
    margin-top: 12px;
  }
  .sitemap__list {
    gap: 8px;
  }
}
.not-found {
  margin: 0 auto;
  margin-bottom: 140px;
  width: 100%;
  max-width: 1720px;
}
.not-found__wrapper {
  display: flex;
  gap: 24px;
}
.not-found__background {
  position: relative;
  width: calc(50% - 24px);
  height: 584px;
  border-radius: 24px;
  background-color: var(--main-dark);
  background-image: url("../../assets/img/sections/background/back-404.webp");
}
.not-found__background img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.not-found__text {
  padding: 52px 52px 60px 52px;
  display: flex;
  flex-direction: column;
  width: calc(50% - 24px);
  border-radius: 24px;
  background-color: var(--background);
}
.not-found__text p {
  margin-bottom: 12px;
}
.not-found__title {
  margin-bottom: 32px;
}
.not-found__subtitle {
  margin-bottom: 40px;
  color: var(--main);
}
.not-found__links {
  margin-top: auto;
  display: flex;
  gap: 24px;
}

@media (max-width: 1555px) {
  .not-found__background {
    height: auto;
    min-height: 584px;
  }
  .not-found__links {
    margin-top: 32px;
    flex-direction: column;
    gap: 12px;
  }
  .not-found__link {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
  }
}
@media (max-width: 1023px) {
  .not-found__text {
    padding: 35px 25px 35px 35px;
  }
}
@media (max-width: 768px) {
  .not-found {
    margin-bottom: 116px;
  }
  .not-found__background {
    display: none;
  }
  .not-found__text {
    padding: 52px 20px 52px 20px;
    width: 100%;
  }
  .not-found__text p {
    margin-bottom: 8px;
  }
  .not-found__title {
    margin-bottom: 16px;
  }
  .not-found__subtitle {
    margin-bottom: 32px;
  }
}
.result-wrapper.popup-response__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.result-wrapper.popup-response__wrapper svg {
  margin-bottom: 20px;
}
.result-wrapper.popup-response__wrapper h3 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}
.result-wrapper.popup-response__wrapper p {
  font-size: 26px;
  font-weight: 500;
}
.popup.popup-responce .popup__content {
  max-height: 578px;
  height: fit-content;
  padding: 60px;
}

.submenu__link.without-arrow:before {
  display: none;
}

.popup__form--feedback .form {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.popup__title--feedback {
  margin-bottom: 20px;
}

.textarea--feedback {
  flex-grow: 1;
}

.faq-page__inner {
  width: 100%;
}
.prices-page .prices__content {
  padding: 20px 40px;
  border-radius: 24px;
  background-color: var(--white);
  margin-bottom: 20px;
  transition: 0.5s;
}


.service-toggle__subservice.service-price__subservice {
  margin: 0;
  
}

.service-price__table-wrapper {
  padding: 32px;
  background-color: #FBF6F6;
  border-radius: 24px;
}

.service-price__subservice tr:last-child td {
  padding: 34px 0px 0px 0px;
}

.service-price__subservice tr:last-child td:first-child {
  padding: 34px 20px 0px 0px;
}

.service-price__subservice tr:last-child td:nth-child(2) {
  padding: 34px 20px 0px 0px;
}

.service-price__payment {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 40px;
}

.service-price__payment-methods {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FBF6F6;
  border-radius: 24px;
  padding: 18px 48px 22px 48px;
  width: 73%;
}

.service-price__payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.service-price__payment-method-svg-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.service-price__payment-description {
  align-self: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 130%;
  position: relative;
}

.service-price__top {
  margin-bottom: 40px;
}

.service-price__payment-border {
  width: 1px;
  background-color: rgba(128, 32, 32, 0.15);
  height: 69px;
}


.service-price__payment-oferta {
  background-color: #FBF6F6;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(27% - 24px);
}

@media screen and (max-width: 1260px) {
  .service-price__payment {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
  }

  .service-price__top {
    margin-bottom: 20px;
  }

  .service-price__payment-methods, .service-price__payment-oferta {
    width: 100%;
    border-radius: 16px;
  }
  .service-price__payment-border {
    display: none;
  }

  .service-price__payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 12px;
    column-gap: 12px;
    padding: 16px 20px 20px 20px;
    
  }
  .service-price__payment-methods > *:first-child {
    grid-column: span 3;
    margin-bottom: 4px;
  }
  .service-price__payment-method {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 12px 20px;
  }
  .service-price__payment-oferta {
    padding: 16px 20px;
  }
  
  .service-price__subservice tr:last-child td {
    padding: 0;
  }
  .service-price__subservice tr:last-child td:first-child {
    padding: 0;
  }

  .service-price__subservice tr:last-child td:nth-child(2) {
    padding: 0;
  }



}

@media screen and (max-width: 768px) {
  .service-price__payment-description {
    font-size: 18px;
  }

}


@media screen and (max-width: 566px) {
  .service-price__payment-description {
    font-size: 18px;
  }
  .service-price__payment-methods {
    grid-template-columns: 1fr 1fr;
  }
  .service-price__payment-methods > *:first-child {
    grid-column: span 2;
  }

  .service-price__payment-method {
    gap: 8px;
  }

}




.cookie-block a {
    transition: 0.3s ease;
}

.cookie-block a:hover {
  color: var(--main) !important;
}

.popup-result {
    z-index: 10000;
}
.check__top {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    width: 100%;
    font-size: 14px;
    opacity: 0.8;
    gap: 4px 20px;
}

.check__top p:first-child {
    grid-row: 1 / 3;
}

.check__top p:nth-child(2) {
    grid-column: 2;
}

.check__top p:nth-child(3) {
    grid-column: 2;
}