*,
*::before,
*::after {
  box-sizing: border-box;
}

:where(ul, ol):where([class]) {
  padding-left: 0;
}

body,
:where(blockquote, figure):where([class]) {
  margin: 0;
}

:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl):where([class]) {
  margin-block: 0;
}

h1,
h2,
h3,
h4 {
  padding: 0;
  margin: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  margin-left: 0;
  padding: 0;
  border: none;
}

:where(ul[class]) {
  list-style: none;
}

p {
  margin-block: 0;
}

a {
  text-decoration: none;
}

img {
  display: block;
  object-fit: cover;
}

input,
textarea,
select,
button {
  font: inherit;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:target {
  padding-top: 192px;
  margin-top: -192px;
}

@media (max-width: 850px) {
  :target {
  padding-top: 78px;
  margin-top: -78px;
}
}

svg * {
  transition-property: fill, stroke;
}

ol[class]:not(.ol),
ul[class]:not(.ul) {
  list-style: none;
}

body {
  font-family: "SF Pro Display", "Arial", sans-serif;
  font-size: 16px;
  padding-top: 192px;
  letter-spacing: 0;
  font-weight: 400;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  -webkit-clip-path: inset(100%) !important;
  clip-path: inset(100%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}
.hidden {
  display: none !important;
}

:root {
  --color-blue-accent: #4073e0;
  --color-blue-dark: #283656;
  --color-black: #222222;
  --color-grey: #f5f5f5;
  --color-white: #ffffff;

  --transition: 0.3s ease-in;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("../fonts/SF-Pro-Display-Regular.eot");
  src: url("../fonts/SF-Pro-Display-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/SF-Pro-Display-Regular.woff") format("woff"),
    url("../fonts/SF-Pro-Display-Regular.woff2") format("woff2"),
    url("../fonts/SF-Pro-Display-Regular.ttf") format("truetype"),
    url("../fonts/SF-Pro-Display-Regular.svg#SF Pro Display Regular")
      format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.btn {
  border-radius: 8px;
  background-color: var(--color-blue-accent);
  color: var(--color-white);
  font-size: 18px;
  padding: 28px 32px;
  font-weight: 500;
  transition: color var(--transition), background-color var(--transition);
  cursor: pointer;

  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  border: transparent;
}

.btn:hover {
  background-color: var(--color-blue-dark);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-blue-accent);
  padding: 20px 24px;
  border: 1px solid var(--color-blue-accent);
  justify-content: space-between;
}

.btn--white:hover {
  background-color: var(--color-blue-accent);
  color: var(--color-white);
}

.tittle-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.title {
  font-weight: 700;
  font-size: 60px;
  color: var(--color-black);
}
.title span {
  color: var(--color-blue-accent);
}
.title--min {
  font-size: 32px;
  letter-spacing: 0.02em;
}
.tittle-block p {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
  letter-spacing: 0.02em;
}
.form {
  box-shadow: 0px 2px 24px 0px #0000001a;
  border-radius: 16px;
  padding: 32px;
  background-color: var(--color-white);

  /* удалить после проверки на пп */
  width: 397px;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 24px 0;
  border-bottom: 1px solid #eeeeee;
  background-color: var(--color-white);
  z-index: 10;
}
.header__wrapper {
  display: flex;
  flex-direction: column;
}
.header__content {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-black);
}
.header__logo span {
  color: var(--color-blue-accent);
  letter-spacing: 0.06em;
}
.header__inner-wrapper {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: center;
}
.header__inner {
  display: flex;
  flex-direction: row;
  gap: 43px;
}
.header__inner-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.header__inner-block span {
  opacity: 0.5;
  font-size: 14px;
}
.header__nav {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 43px;
  padding: 20px 0 0;
}
.header__link {
  color: var(--color-black);
  padding: 8px;
  transition: color var(--transition), background-color var(--transition);
}
.header__link:hover {
  color: var(--color-blue-accent);
  background-color: #4073e01a;
  border-radius: 8px;
}
.hero {
  padding: 0 0 100px;
}
.hero__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero__top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.hero__img-wrapper {
  overflow: hidden;
  border-radius: 12px;
}
.hero__img-wrapper img {
  width: 100%;
}
.choose {
  padding: 0 0 60px;
  position: relative;
}
.choose::after {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 1px;
  width: 100%;
  background-color: #2222221a;
}
.choose__top-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.choose__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.choose__list {
  display: flex;
  gap: 20px;
}
.choose__item {
  background-color: var(--color-grey);
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 0 0%;
}
.choose__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.choose__content span {
  font-size: 20px;
  color: var(--color-blue-accent);
  font-weight: 700;
}

.feedback {
  padding: 60px 0 65px;
  margin-bottom: 80px;
  position: relative;
}
.feedback::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  background-color: var(--color-blue-dark);
  height: 70%;
  z-index: -1;
}
.feedback__wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feedback__list {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feedback__item {
  display: flex;
  flex-direction: column;
  box-shadow: 0px -4px 20px 0px #94949433;
  border-radius: 12px;
  flex: 1 0 0%;
  padding: 29px 32px;
  gap: 40px;
  justify-content: space-between;
  background-color: var(--color-white);
}
.feedback__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feedback__photo-block {
  overflow: hidden;
  border-radius: 12px;
  height: 256px;
  width: 100%;
}
.feedback__photo-block img {
  width: 100%;
  height: 100%;
}
.feedback__bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.feedback__name-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-blue-accent);
}
.feedback__name {
  font-weight: 700;
}
.feedback__city {
  opacity: 0.5;
}

.hospital {
  padding: 0 0 80px;
}
.hospital__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hospital__list {
  display: flex;
  gap: 20px;
  width: 100%;
}
.hospital__item {
  background-color: var(--color-grey);
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 35px 35px 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 0%;
}
.hospital__img-block {
  overflow: hidden;
  border-radius: 12px;
  max-height: 458px;
  display: flex;
}
.hospital__img-block img {
  width: 100%;
}

.consultation {
  padding: 40px 0 80px;
}
.consultation--contact {
  padding: 40px 0 60px;
}
.consultation__wrapper {
  display: flex;
  flex-direction: column;
  gap: 42px;
}
.consultation__top-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.consultation__content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
}
.consultation__img-block {
  overflow: hidden;
  border-radius: 12px;
  max-width: 680px;
}
.consultation__img-block img {
  width: 100%;
  height: 100%;
}
.consultation__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min-content;
}
.consultation__form h2 {
  text-align: center;
}
.form__text {
  opacity: 0.5;
  font-size: 12px;
}
.error {
  color: #e9080c;
}
.error-text {
    color: #e9080c;
  opacity: 0.5;
  font-size: 12px;
}

.footer {
  background-color: var(--color-blue-dark);
  padding: 48px 0 28px;
  color: var(--color-white);
}
.footer__wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer__top-content {
  justify-content: space-between;
  gap: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 0 36px;
  position: relative;
}
.footer__top-content::after {
  content: "";
  position: absolute;
  width: 100%;
  opacity: 0.1;
  background-color: var(--color-white);
  height: 1px;
  bottom: 0;
  right: 0;
}
.footer__logo-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__logo {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--color-white);
}
.footer__logo-block span {
  opacity: 0.5;
  font-weight: 500;
  padding-left: 12px;
}
.footer__logo span {
  color: var(--color-blue-accent);
  opacity: 1;
  padding-left: 0;
  letter-spacing: 0.06em;
}
.footer__link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__link-item {
  padding: 8px;
}
.footer__link {
  color: var(--color-white);
}
.footer__link:hover {
  opacity: 0.5;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__top-item-block {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer__top-item-block span {
  opacity: 0.5;
  font-weight: 500;
}
.footer__top-item-text {
  background-color: #ffffff1a;
  padding: 16px;
  border-radius: 8px;
}
.footer__center-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 28px;
  font-size: 14px;
}
.footer__center-content p {
  opacity: 0.5;
}
.footer__links {
  display: flex;
  gap: 20px;
}
.footer__link-bottom {
  color: var(--color-white);
  opacity: 0.5;
  transition: opacity 0.3s ease-in;
}
.footer__link-bottom:hover {
  opacity: 1;
}
.footer__text-bottom {
  opacity: 0.2;
  font-size: 12px;
}

/* about-us.html */

.hero2 {
  padding: 0 0 60px;
}
.hero2__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero2__title-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero2__img-block {
  overflow: hidden;
  border-radius: 12px;
  height: 334px;
}
.hero2__img-block img {
  width: 100%;
  height: 100%;
}
.hero2__content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 0 0 60px;
  border-bottom: 1px solid #2222221a;
}
.hero2__content--faq {
  padding: 0 0 0;
}
.hero2__content--blog {
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}
.hero2--contact {
  padding: 0;
  position: relative;
}
.hero2__wrapper--contact {
  padding: 0 0 40px;
  position: relative;
  border-bottom: 1px solid #2222221a;
}
.hero2__content--blog::after,
.hero2__wrapper--contact::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-blue-accent);
  bottom: 0;
  right: 50%;
  transform: translate(+50%, +50%);
  z-index: 2;
}
.hero2__content--blog::before,
.hero2__wrapper--contact::before {
  content: "";
  position: absolute;
  width: 56px;
  height: 8px;
  background-color: var(--color-white);
  bottom: 0;
  right: 50%;
  transform: translate(+50%, +50%);
  z-index: 1;
}
.hero2__content--blog .hero2__img-block img {
  height: unset;
  object-position: 100% 15%;
}
.hero2__content p {
  text-align: center;
  font-size: 24px;
}
.hero2__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 40%;
}
.hero2__item a {
  padding: 24px 20px;
  color: var(--color-blue-accent);
  font-weight: 500;
  font-size: 18px;
  border: 1px solid #4073e033;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero2__item a span {
  color: #2222224d;
  font-size: 14px;
}
/* contact-us.html */

.hero2__contact-list {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
}
.hero2__contact-item {
  background-color: #f5f5f5;
  padding: 24px;
  border-radius: 12px;
  width: 50%;
  gap: 24px;
  display: flex;
  flex-direction: column;
}
.hero2__contact-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.hero2__contact-innet {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero2__contact-innet span {
  color: var(--color-blue-accent);
  line-height: 1.3;
}
.hero2__contact-innet p {
  font-weight: 700;
}
.hero2__contact-item h2 {
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 24px;
}
.hero2__contact-item h2 span {
  color: var(--color-blue-accent);
  letter-spacing: 0.06em;
}
.team {
  padding: 60px 0 60px;
  border: 1px solid #2222221a;
}
.team__wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.team__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.team__item {
  box-shadow: 0px -4px 20px 0px #94949433;
  background-color: var(--color-white);
  padding: 28px 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.team__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}
.team__img-block {
  overflow: hidden;
  border-radius: 12px;
}
.team__img-block img {
  width: 100%;
  width: 256px;
  height: 256px;
}
.team__name-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-blue-accent);
}
.team__name {
  font-size: 20px;
  font-weight: 700;
  opacity: 1;
}
.team__name-block span {
  font-weight: 500;
  opacity: 0.5;
}
.team__text-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: 14px;
  line-height: 1.6;
}
.team__accent-text {
  color: var(--color-blue-accent);
  font-weight: 600;
  line-height: 1.6;
  font-style: italic;
}
.marker-border {
  height: 1px;
  width: 100%;
  border-bottom: 1px solid #4073e0;
  opacity: 0.1;
}
.values {
  padding: 60px 0 80px;
}
.values__wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.values__list {
  display: flex;
  gap: 20px;
}
.values__item {
  border: 1px solid #4073e04d;
  border-radius: 12px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 0 0;
}
.values__top-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.values__top-block span {
  color: var(--color-blue-accent);
  font-size: 20px;
  font-weight: 700;
}
.values__item p {
  text-align: center;
}
.services {
  padding: 0 0 84px;
}
.services__wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.services__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.services__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.services__btn-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.services__inner {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  justify-content: space-between;

  /* for animation */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}
/* for animation */
.services__item.active .services__inner {
  max-height: 1000px;
  opacity: 1;
}
/* for animation */
.services__icon {
  transition: transform 0.3s ease;
}
/* for animation */
.services__item.active .services__icon {
  transform: rotate(180deg);
}
.services__img-block {
  overflow: hidden;
  height: 334px;
  border-radius: 12px;
  width: 100%;
}
.services__img-block img {
  width: 100%;
  height: 100%;
}
.services__contant {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 64%;
}
.services__contant p {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
}
.services__content-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.services__content-item {
  position: relative;
  padding-left: 20px;
}
.services__content-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-blue-accent);
}
.services__content-item p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
.services__toggle,
.blog__toggle {
  padding: 20px 24px 20px 32px;
}
.services__bottom-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.services__bottom-block p {
  font-size: 20px;
  font-weight: 500;
  opacity: 0.5;
  white-space: nowrap;
}
.services__marker {
  width: 100%;
  color: var(--color-blue-accent);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: end;
  font-size: 16px;
}
.services__btn:hover {
  border: 1px solid var(--color-black);
  color: var(--color-black);
  background-color: transparent;
}
.services__marker::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--color-blue-accent);
  top: 50%;
  right: 0;
  left: 0;
  z-index: -1;
}
.blog {
  padding: 0 0 88px;
}
.blog__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.blog__item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 60px;
}
.blog__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 0;
  align-items: flex-start;
}
.blog__img-block {
  overflow: hidden;
  border-radius: 12px;
}
.blog__photo-wrapper {
  position: relative;
  height: max-content;
  padding: 20px 0 20px 60px;
}
.blog__photo-wrapper::after {
  content: "";
  position: absolute;
  background-color: #2222221a;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 142px;
}
.blod__title-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.blod__title-block h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.blod__title-block p {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
}
.map {
  padding: 0 0 40px;
}
.map__wrapper {
  padding: 0 0 85px;
  position: relative;
}
.map__content {
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(+50%);
  padding: 32px;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  text-align: center;
}
.map__content span {
  color: var(--color-blue-accent);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
}
.map__content p {
  font-size: 18px;
}
.map__marker {
  position: absolute;
  padding: 8px 14px;
  background-color: var(--color-white);
  border-radius: 4px;
  top: 37%;
  right: 191px;
}
.map__marker::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--color-blue-accent);
  border-radius: 50%;
  left: 0;
  bottom: 0;
}
.map__marker p {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 24px;
}
.map__marker p span {
  color: var(--color-blue-accent);
  letter-spacing: 0.06em;
}

/* faq.html */
.faq {
  padding: 0 0 60px;
}
.faq__wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.faq__item {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.faq__item button h2 {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.4;
}
.faq__text-block p {
  line-height: 1.6;
}
.faq__button {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-white);
  border: none;
  padding: 0;
  cursor: pointer;
}
.faq__button svg {
  color: var(--color-blue-accent);
}
.faq__text-block {
  display: flex;
  flex-direction: column;
  gap: 40px;

  /* for animation */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}
/* for animation */
.faq__item.active .faq__text-block {
  max-height: 1000px;
  opacity: 1;
}
/* for animation */
.services__icon {
  transition: transform 0.3s ease;
}
/* for animation */
.faq__item.active .services__icon {
  transform: rotate(180deg);
}

.content {
  padding: 0 0 80px;
}
.content__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.content__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.content__block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.content__text-block {
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content__text-block h2 {
  line-height: 1.4;
  font-weight: 600;
  font-size: 24px;
}
.content__text-block ul {
  padding: 0;
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content__text-block ul span {
  color: var(--color-blue-accent);
}

/* poppup */
body.no-scroll {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

.popup-fade:before {
  content: "";
  background: #000000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  z-index: 101;
}

.popup-fade--1 {
  display: none;
}

.popupOne {
  display: none;
  position: fixed;
  top: 10%;
  left: 20%;
  right: 0%;
  bottom: 10%;
  transform: translate(-12%, 2%);
  opacity: 1;
  z-index: 102;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE и Edge */
  align-items: center;
  justify-content: center;
  max-height: 90vh;
}
/* Chrome, Safari and WebKit */
.popupTwo::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.popupBut {
  position: absolute;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  font-size: 15px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  margin-left: auto;
  top: 20px;
  text-align: center;
  z-index: 200;
}
.popup__inner {
  position: relative;
  max-width: 1020px;
  width: 100%;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  padding: 24px 24px 48px;
  gap: 28px;
  overflow-y: auto;

  /* for animation */
  max-height: 100%;
  transition: max-height 0.5s ease;
}
/* for animation */
.popup__inner.expanded {
  max-height: 100%;
  overflow-y: auto;
}
.popup__open-content {
  display: flex;
  flex-direction: column;
  gap: 20px;

  /* for animation */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  pointer-events: none;
  visibility: hidden;
}
/* for animation */
.popup__inner.expanded .popup__open-content {
  max-height: 2000px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  visibility: visible;
}
.popup__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.popup__top h2 {
  white-space: nowrap;
}
.popup__top p {
  max-width: 574px;
}
.popup__btn-block {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.popup__list {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.popup__item button {
  padding: 24px 16px;
  width: 100%;
  height: 100%;
}
.poppup__btn {
  background-color: #dddddd;
  border: transparent;
  color: var(--color-black);
}
.poppup__btn:hover {
  background-color: #cccccc !important;
  color: var(--color-black);
}
.popup__logo {
  font-size: 24px;
  font-weight: 700;
  color: #222222;
  letter-spacing: 0.06em;
  opacity: 0.5;
}
.popup__btn {
  color: var(--color-black);
  background-color: #dddddd;
  border: transparent;
}
.popup__text-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.popup__text-wrapper {
  color: #222222;
  opacity: 0.5;
  font-weight: 400;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;

  /* for animation */
  max-height: 10em;
  overflow: hidden;
  transition: max-height 0.3s ease;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* for animation */
.popup__text-wrapper.expanded {
  max-height: none;
  -webkit-line-clamp: unset;
  overflow: visible;
  max-height: 1000px;
}
.popup__text-btn {
  color: var(--color-blue-accent);
  border: transparent;
  background-color: transparent;
  cursor: pointer;
  margin-bottom: 4px;
}
.popup__content {
  padding: 0 20px;
}
.popup__content-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.popup__content-item {
  align-items: center;
  justify-content: space-between;
  display: grid;
  grid-template-columns: 179px 1fr;
}
.popup__title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.popup__accent {
  border-radius: 20px;
  background-color: #42ba24;
  color: var(--color-white);
  padding: 6px 10px;
  font-size: 14px;
}
.popup__title {
  color: var(--color-blue-accent);
  font-weight: 500;
  font-size: 18px;
}
.popup__title-block p {
  font-size: 12px;
  color: #222222;
  opacity: 0.5;
}

.blog__text-block span {
  color: var(--color-blue-accent);
  font-weight: 700;
}

/* for animation */
.popup__open-content.active {
  max-height: 1000px;
  opacity: 1;
  overflow-y: auto;
}
/* for animation */
.services__icon {
  transition: transform 0.3s ease;
}
/* for animation */
.popup__open-content.active .services__icon {
  transform: rotate(180deg);
}


.burger {
  width: 20px;
  height: 20px;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
  display: none;
}

.burger span {
  background: #333;
  position: absolute;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  transition: 0.3s;
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 9px;
}

.burger span:nth-child(3) {
  bottom: 0;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* blog1.html blog2.html blog3.html */
.blog-content {
  padding: 10px 0 80px;
}
.blog-content__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.blog-content__content {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
    display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 60px;
}
.blog-content__link {
  background-color: #EEEEEE;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 8px;
  height: auto;
  color: #222222;
  padding: 16px 24px;
  width: 240px;
  height: 110px;
}
.blog-content__link:hover {
  background-color: #4073e01a;
}
.blog-content__link span {
  opacity: 0.5;
  font-size: 14px;
}
.blog-content__link p {
  font-size: 16px;
  line-height: 1.4;
   max-height: calc(1.4em * 2);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* количество строк */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.blog-content__inner {
  display: flex;
  gap: 40px;
  flex-direction: column;
  max-width: 580px;
}
.blog-content__top-block {
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.blog-content__title-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-content__title-block h1 {
  font-size: 40px;
  font-weight: 700;
}
.blog-content__title-block p {
  font-size: 20px;
  line-height: 1.6;
}
.blog-content__top-img-block {
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  height: 475px;
}
.blog-content__top-img-block img,
.blog-content__bottom-img-block  img {
 width: 100%;
 height: 100%;
}
.blog-content__bottom-block {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.blog-content__text-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-content__text-block h2 {
  color: var(--color-blue-accent);
  font-size: 32px;
  font-weight: 700;
}
.blog-content__text-block p {
  font-size: 20px;
  line-height: 1.6;
}
.blog-content__bottom-img-block {
  overflow: hidden;
  border-radius: 12px;
  height: 220px;
}
.blog-content__text-block p span {
  color: var(--color-blue-accent);
  font-weight: 700;
}
.blog-content__btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-content__btn-block::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 1px;
  background-color: #2222221A;
  z-index: -1;
}
.blog-content__btn-wrapper {
  background-color: var(--color-white);
  padding: 0 24px;
}

@media (max-width: 1250px) {
  .popup__btn-block {
    flex-direction: column;
  }
  
}
@media (max-width: 1200px) {
  .blog__photo-wrapper::after {
    display: none;
  }
  .blog__photo-wrapper {
    padding: 0 0 0;
  }
  .blog__item {
    flex-direction: column-reverse;
    gap: 0px;
  }
  .blog__img-block img {
    width: 100%;
    height: 400px;
  }
  .blog__list .marker-border {
    display: none;
  }
 
  
}
@media (max-width: 1024px) {
  .hospital__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
  }
  .hospital__item {
    width: 100%;
  }
    .choose__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .choose__list--column {
    grid-template-columns: repeat(1, 1fr);
  }
  .feedback__list {
    flex-direction: column;
  }
  .feedback__item {
    width: 100%;
  }
  .feedback__photo-block {
    height: 400px;
  }
  .hero__img-wrapper {
    height: 335px;
  }
  .hero__img-wrapper img {
    width: 100%;
    height: 100%;
    object-position: center;
  }
  .footer__center-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer__links {
    flex-wrap: wrap;
  }
  .footer__link-bottom {
    white-space: nowrap;
  }

  .team__list {
    grid-template-columns: repeat(1, 1fr);
  }
  .services__inner {
    flex-direction: column;
  }
  .services__contant {
    width: 100%;
  }
  .hero2__contact-list {
    flex-direction: column;
  }
  .hero2__contact-item {
    width: 100%;
  }
  .map__marker p, .map__content span {
    font-size: 16px;
  }
  .map__content p {
    font-size: 14px;
  }
  .map__marker {
    top: 30%;
    right: 1%;
  }
  .popup__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .popup__item {
    width: 100%;
  }
   .popup__list {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
  }
  .popup__item button {
    width: 100%;
    white-space: wrap;
  }
  .title.title--min {
white-space: wrap;
  }
  .blog-content__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .blog-content__inner {
    max-width: 100%;
    grid-column: span 2;
  }
  .blog-content__link--2 {
    grid-column: 2 / 3;
    grid-row: 1;
  }
  .blog-content__link {
    width: 100%;
  }
}
@media (max-width: 850px) {
  .title {
    font-size: 32px;
  }
  .header__inner-wrapper {
    display: none;
  }
  .header__nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    pointer-events: none; 
    user-select: none;
    padding: 0;
  }
  .burger {
    display: block;
  }
  .header__nav.active {
    padding: 20px 0 0;
    max-height: 500px; /* достаточно большое значение */
    opacity: 1;
    display: flex;
    pointer-events: unset;
    user-select: unset;
  }
  body {
    padding-top: 122px;
    background-color: #F5F5F5;
  }
  .hero__top {
    flex-direction: column;
    gap: 48px;
  }
  .tittle-block {
    width: 100%;
  }
  .hero .btn {
    width: 100%;
    justify-content: center;
  }
  .consultation__content {
    flex-direction: column;
    gap: 20px;
  }
  .consultation__img-block {
    max-width: 100%;
  }
  .consultation__img-block img {
    width: 100%;
  }
  .consultation__form {
    width: 100%;
  }
  .form {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .choose__list,
  .footer__top-content {
    grid-template-columns: repeat(1, 1fr);
  }
  .values__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .hero2__content p {
    font-size: 16px;
  }
  .hero2__content--blog {
    flex-direction: column;
  }
  .hero2__list {
    max-width: 100%;
    width: 100%;
  }
  .hero2__img-block {
    width: 100%;
  }
  .hero2__content--blog .hero2__img-block img {
    width: 100%;
    height: 100%;
    object-position: center;
  }
  .hero2__wrapper--contact {
    border: none;
  }
  .hero2__content--blog::before, .hero2__wrapper--contact::before, .hero2__content--blog::after, .hero2__wrapper--contact::after {
    display: none;
  }
  .faq__button {
    background-color: #F5F5F5;
  }
  .blog-content__btn-wrapper {
    background-color: transparent;
    padding: 0 0;
  }
  .blog-content__btn-block::after {
    display: none;
  }
  .blog-content__btn-wrapper .btn,
  .blog-content__btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .blog-content__link {
    display: none;
  }
}
@media (max-width: 650px) {
.services__marker {
  display: none;
}
}
@media (max-width: 600px) {
  .services__content-item p {
    line-height: 1.4;
  }
  .popup__content-item {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
  .popup__content {
    padding: 0 0;
  }
  .services__btn-block {
    flex-direction: column;
    align-items: flex-start;
  }
  .services__btn-block button {
    width: 100%;
  }
.hospital__list {
  grid-template-columns: repeat(1, 1fr);
}
  .values__list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .team__top {
    flex-direction: column;
  }
  .team__name-block {
    align-items: center;
  }
  .team__img-block {
    width: 100%;
  }
  .team__img-block img {
    width: 100%;
    height: 400px;
  }
  .services__bottom-block {
    flex-direction: column;
    align-items: flex-start;
  }
  .services__bottom-block .btn {
    width: 100%;
    justify-content: center;
  }
  .map__content {
    padding: 10px;
  }
  .blog-content__content {
    grid-template-columns: repeat(1, 1fr);
  }
  .blog-content__inner {
    grid-column: unset;
  }
  .blog-content__link--2 {
    grid-column: unset;
    grid-row: 2;
  }
}

@media (max-width: 450px) {
  .hero2__contact-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}