:root {
  --color-text: #0b0b0b;
  --color-muted: #8a8a8a;
  --color-red: #ff3b3b;
  --color-gold: #c3a37c;
  --color-gold-dark: #af8d65;
  --color-line: #d9d9d9;
  --color-footer: #262626;
  --color-soft: #f5f5f5;
  --shadow-soft: 0 1.5rem 3rem rgba(68, 49, 30, 0.12);
  --container: 93.75rem;
  --container-pad: 2.5rem;
  --site-header-height: 6.25rem;
  --star:url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20.000000' height='20.000000' fill='none' customFrame='%23000000'%3e%3cpath id='Звезда 1' d='M12.2453 6.90955L19.5106 6.90983L13.633 11.1804L15.8779 18.0902L10 13.82L4.12215 18.0902L6.36696 11.1804L0.489435 6.90983L7.75466 6.90955L10 0L12.2453 6.90955Z' fill='rgb(4,138,240)' fill-rule='evenodd' /%3e%3c/svg%3e ");
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "Ruda", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background: #ffffff;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.375rem;
  padding: 1rem 3.5rem;
  border: 0;
  border-radius: 999rem;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-0.125rem);
}

.button--light {
  min-width: 21.875rem;
  color: var(--color-gold-dark);
  background: #ffffff;
}

.button--gold {
  width: 100%;
  min-height: 4rem;
  color: #ffffff;
  background: var(--color-gold);
  box-shadow: 0 1rem 2rem rgba(195, 163, 124, 0.28);
}

.button--gold:hover {
  background: var(--color-gold-dark);
}


.pointer {
  cursor: pointer;
}
.cont-vn {
  padding: 40px 0 60px;
}
.b-krohki { display: flex; justify-content: flex-start; align-items: center; margin: 30px 0;}

.hlebn-krohki { color:var(--main-1); font-size: 14px;}
.hlebn-krohki a {color:#042a35}
.hlebn-krohki ul { list-style:none; padding:0; margin:0; display: flex; flex-wrap: wrap; align-items: center; }
.hlebn-krohki li { display:inline-block}
.hlebn-krohki-dev { padding:0 10px}


.topcontrol { width:60px; height:60px; position: fixed; z-index: 9999; bottom: 50px; right: 50px; cursor: pointer; text-align:center; background:url(../images/up-arrow.png) no-repeat center #c0282b;opacity: 0.5;filter:alpha(opacity=50);border-radius:50%; webkit-border-radius:50%; moz-border-radius:50%;}
.topcontrol:hover {opacity: 1;filter:alpha(opacity=100);}

.warnText {
  color: #ff0000;
  margin: 10px 0;
}
.hidden {
  display: none;
}
.disabled {
  color: #f7f7f7;
  cursor: pointer;
}
.captcha-box {
  display: flex;
  gap: 20px;
  margin-bottom: 1.375rem;
}
.captcha-box .field__control {
  width: auto;
  min-height: auto;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
#nc_captcha_refresh_button0 {
  background: url("../img/reload.svg") no-repeat center / contain;
  text-indent: -1000%;
  border: none;
  overflow: hidden;
  width: 40px;
  height: 40px;
}

.section-title {
  position: relative;
  margin: 0;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
}

.section-title::after {
  content: "";
  display: block;
  width: 9.375rem;
  height: 0.25rem;
  margin-top: 0.625rem;
  border-radius: 999rem;
  background: var(--color-gold);
}

.section-title--left::after {
  margin-left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: var(--site-header-height);
  gap: 4.5rem;
  transition: min-height 0.2s ease;
}

.site-header__logo {
  flex: 0 0 auto;
  width: 8rem;
  transition: width 0.2s ease;
}

.site-header__logo img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-right: auto;
}

.site-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.site-nav__item--has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -1.25rem;
  right: -1.25rem;
  height: 1rem;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav__link:hover {
  color: var(--color-gold-dark);
}

.site-nav__link--dropdown::after {
  content: "";
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  margin-left: 0.5rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.1875rem) rotate(45deg);
  transition: transform 0.2s ease;
}

.site-nav__item--has-dropdown:hover .site-nav__link--dropdown::after,
.site-nav__item--has-dropdown:focus-within .site-nav__link--dropdown::after,
.site-nav__item--has-dropdown.is-open .site-nav__link--dropdown::after {
  transform: translateY(0) rotate(225deg);
}

.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: -1.25rem;
  display: flex;
  min-width: 18rem;
  flex-direction: column;
  padding: 0.75rem;
  border: 1px solid var(--color-line);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: visibility 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.site-nav__item--has-dropdown:hover .site-nav__dropdown,
.site-nav__item--has-dropdown:focus-within .site-nav__dropdown,
.site-nav__item--has-dropdown.is-open .site-nav__dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.625rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav__dropdown img {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.site-nav__dropdown a:hover,
.site-nav__dropdown a:focus-visible {
  color: var(--color-gold-dark);
  background: var(--color-soft);
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.site-header__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  transition: width 0.2s ease, height 0.2s ease;
}

.site-header__phone-icon img {
  width: 100%;
  height: 100%;
}
.site-header__phone-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 2rem;
  height: 0.1875rem;
  margin: 0.3125rem 0;
  border-radius: 999rem;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(0.5rem) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-0.5rem) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - var(--site-header-height));
  color: #ffffff;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.02)), url("/netcat_template/template/prohvost/img/home/hero-clinic.webp") center / cover no-repeat;
}

.hero__inner {
  position: relative;
  min-height: calc(100vh - var(--site-header-height));
  padding-top: 11.25rem;
  padding-bottom: 3rem;
}

.hero__content {
  display: flex;
  width: 37.5rem;
  flex-direction: column;
  align-items: flex-start;
}

.hero__title {
  margin: 0 0 1.75rem;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.22;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 35rem;
  margin: 0 0 2.25rem;
  font-size: 1.5rem;
  line-height: 1.12;
}

.hero__badge {
  margin-top: 1.5rem;
  width: 9.5625rem;
}

.services {
  padding: 4.625rem 0 7.875rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 11.875rem;
  height: 11.875rem;
  margin-bottom: 2.375rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1.75rem 2.5rem rgba(177, 143, 103, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card__media img {
  width: var(--service-icon-width, 6.25rem);
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.service-card:hover,
.service-card:focus-visible {
  color: var(--color-gold-dark);
  transform: translateY(-0.25rem);
}

.service-card:hover .service-card__media,
.service-card:focus-visible .service-card__media {
  border-color: rgba(195, 163, 124, 0.45);
  box-shadow: 0 2rem 3rem rgba(177, 143, 103, 0.28);
  transform: scale(1.03);
}

.service-card:hover .service-card__media img,
.service-card:focus-visible .service-card__media img {
  transform: scale(1.06);
}

.service-card:nth-child(3) {
  --service-icon-width: 4.5rem;
}

.service-card:nth-child(4) {
  --service-icon-width: 3.6875rem;
}

.service-card:nth-child(5) {
  --service-icon-width: 5.6875rem;
}

.service-card__title {
  max-width: 11rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.inpatient {
  padding: 2.5rem 0 8.125rem;
}

.inpatient__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25rem;
  gap: 2.75rem;
  align-items: center;
}

.inpatient__banner {
  display: block;
  overflow: hidden;
  height: 100%;
  border-radius: 1rem;
}

.inpatient__banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 2rem 1.875rem 2.25rem;
  border: 1px solid var(--color-line);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.feedback-form__title {
  margin: 0 0 1.75rem;
  color: var(--color-gold);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.375rem;
}

.field__label {
  font-size: 1rem;
  line-height: 1.25;
}

.field__control {
  width: 100%;
  min-height: 3.375rem;
  padding: 0 1.125rem;
  border: 1px solid var(--color-line);
  border-radius: 0.375rem;
  color: var(--color-text);
  background: #ffffff;
  outline: none;
}

.field__control::placeholder {
  color: #bdbdbd;
}

.field__control--textarea {
  min-height: 5.125rem;
  padding-top: 1rem;
  resize: vertical;
}

.feedback-form__agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1.375rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.25;
  cursor: pointer;
}

.feedback-form__agreement input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0.125rem 0 0;
  accent-color: var(--color-gold);
  cursor: pointer;
}

.feedback-form__agreement a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.clinic {
  padding: 3.75rem 0 9.375rem;
}

.clinic__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32.125rem;
  gap: 5.25rem;
  align-items: center;
}

.clinic__content p {
  max-width: 61rem;
  margin: 2.5rem 0 2.5rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.clinic__content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.125rem 4.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clinic__content li {
  position: relative;
  min-width: 0;
  padding-left: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.clinic__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 0.25rem;
  height: 1.375rem;
  border-radius: 999rem;
  background: var(--color-gold);
}

.clinic__photo-wrap {
  position: relative;
}

.clinic__photo-wrap img {
  width: 100%;
}

.reviews-box {
  margin: 2rem 0;
}
.reviews {
  padding: 7.5rem 0 7.75rem;
  background: var(--color-soft);
}

.reviews__track {
  --review-card-width: calc((100% - 3rem) / 3);
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.reviews__track::-webkit-scrollbar {
  display: none;
}

.reviews__track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  scroll-behavior: auto;
}

.review-card {
  flex: 0 0 var(--review-card-width);
  min-width: 0;
  padding: 2.25rem 2rem 2.625rem;
  border-radius: 1rem;
  background: #ffffff;
  scroll-snap-align: start;
  user-select: none;
}

.review-card h3 {
  margin: 0 0 0.375rem;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.2;
}

.review-card time {
  display: block;
  margin-bottom: 0.75rem;
  color: #b3b3b3;
  font-size: 1rem;
  line-height: 1.3;
}

.review-card__stars {
  margin-bottom: 1.5rem;
  color: var(--color-gold);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0;
}

.review-card p {
  position: relative;
  margin: 0;
  padding-left: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.25;
}

.review-card p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0.25rem;
  height: 100%;
  border-radius: 999rem;
  background: var(--color-gold);
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.reviews__dots:empty {
  display: none;
}

.reviews__dots button {
  width: 0.625rem;
  height: 0.625rem;
  padding: 0;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.reviews__dots button:hover,
.reviews__dots button:focus-visible {
  transform: scale(1.15);
}

.reviews__dots .is-active {
  background: var(--color-gold);
}

.d-flex-review {
  display: flex;
  align-items: center;
  gap:30px;
}
/*SVG заливка рейтинга*/
.br-wrapper {
  margin: 35px 0 25px;
}
.br-theme-svg-stars .br-widget {
  display: flex;
  gap: 3px;
}
.br-theme-svg-stars .br-widget a {
  display: block;
  width: 35px;
  height: 35px;
}
.br-theme-svg-stars .br-widget a:before {
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
  width:35px;
  height:35px;
  background-color: #EDEDED;
  display:block;
  content:'';
  transition: all .3s;
  mask-image: var(--star);
  -webkit-mask-image: var(--star);
}
.br-theme-svg-stars .br-widget a.br-active:before, .br-theme-svg-stars .br-widget a.br-selected:before {
  background-color: var(--color-gold);
}
.br-theme-svg-stars .br-readonly a {
  cursor: inherit;
}
.br-theme-svg-stars .br-current-rating {
  display: none;
}
.modal-new-review .br-widget {
  margin: 10px 0 0 0;
}
.review-item-row .br-theme-svg-stars .br-widget a {
  width:20px;
  height:20px;
}
.review-item-row .br-theme-svg-stars .br-widget a:before {
  width:20px;
  height:20px;
}


.site-footer {
  color: #ffffff;
  background: var(--color-footer);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 19rem 26rem minmax(0, 1fr);
  gap: 3rem;
  padding-top: 4.25rem;
  padding-bottom: 4.125rem;
}

.site-footer__logo {
  display: inline-flex;
  width: 7.3125rem;
}

.site-footer__brand img {
  width: 7.3125rem;
}

.site-footer__links {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  margin-top: 3.125rem;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.site-footer__nav:first-child {
  justify-content: space-between;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.24);
  font-size: 1rem;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: #ffffff;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  font-style: normal;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.25;
}

.contact-item a,
.contact-item strong,
.contact-item-flex {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.25;
}

.contact-item img {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
}

.site-footer__map {
  width: 100%;
  height: 100%;
  align-self: stretch;
  border-radius: 1rem;
  object-fit: cover;
  overflow: hidden;
}

.site-footer__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.24);
  font-size: 0.875rem;
  line-height: 1.3;
}

.site-footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--container-pad);
  left: var(--container-pad);
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.site-footer__bottom span:first-child {
  margin-right: auto;
}

.site-footer__bottom span:last-child {
  margin-left: auto;
  text-align: right;
}

.site-footer__bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
  color: #ffffff;
}

@media (min-width: 1440px) {
  html {
    font-size: 0.95vw;
  }
}

@media (min-width: 1600px) {
  html {
    font-size: 0.95vw;
  }
}

@media (min-width: 992px) {
  .site-header.is-scrolled .site-header__inner {
    min-height: 4.875rem;
  }

  .site-header.is-scrolled .site-header__logo {
    width: 6.5rem;
  }

  .site-header.is-scrolled .site-header__phone-icon {
    width: 2.125rem;
    height: 2.125rem;
  }
}

@media (max-width: 767.98px) {
  .site-nav {
    height: calc(100vh - var(--site-header-height));
    height: calc(100dvh - var(--site-header-height));
    max-height: calc(100vh - var(--site-header-height));
    overflow-x: hidden;
    overflow-y: auto;
  }

  .site-nav__item {
    display: block;
  }

  .site-nav__dropdown {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    visibility: hidden;
    opacity: 1;
    transform: none;
    transition: max-height 0.2s ease, visibility 0.2s ease;
  }

  .site-nav__item--has-dropdown.is-open .site-nav__dropdown {
    max-height: 16rem;
    margin: 0.25rem 0 0.625rem;
    padding: 0.25rem 0 0.35rem 0.875rem;
    border-left: 0.125rem solid rgba(195, 163, 124, 0.55);
    visibility: visible;
  }

  .site-nav__dropdown a {
    display: flex;
    padding: 0.38rem 0 0.38rem 0.75rem;
    border-radius: 0.5rem;
    color: rgba(11, 11, 11, 0.78);
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: normal;
  }

  .site-nav__link {
    width: 100%;
    justify-content: space-between;
  }

  .inpatient__banner {
    height: auto;
    margin-right: var(--container-pad);
    margin-left: var(--container-pad);
  }

  .inpatient__banner img {
    height: auto;
  }
}

@media (max-width: 575.98px) {
  html {
    /* Keeps the <320px layout identical to the 320px floor while preserving the fluid scale above it. */
    font-size: max(12.16px, 3.8vw);
  }

  .reviews__track {
    --review-card-width: 100%;
  }

  .hero__inner {
    display: flex;
    align-items: center;
    padding-bottom: 2.5rem;
  }

  .contact-item:nth-child(2) strong {
    align-items: flex-start;
  }

  .contact-item:nth-child(2) img {
    margin-top: 0.15em;
  }
}

@media (min-width: 1440px) and (max-width: 1599.98px) {
  :root {
    --container: 93.75rem;
  }

  .site-header__inner {
    gap: 3rem;
  }

  .site-nav {
    gap: 1.75rem;
  }

  .hero__title {
    font-size: 3.75rem;
  }

  .service-card__media {
    width: 10.75rem;
    height: 10.75rem;
  }
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
  :root {
    --container: 100%;
  }

  .site-header__inner {
    gap: 2.25rem;
  }

  .site-nav {
    gap: 1.375rem;
  }

  .site-header__phone {
    font-size: 1.1rem;
  }

  .hero,
  .hero__inner {
    min-height: calc(100vh - var(--site-header-height));
  }

  .hero__inner {
    padding-top: 8rem;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .hero__badge {
    margin-top: 1.5rem;
  }

  .services__grid {
    gap: 1.25rem;
  }

  .service-card__media {
    width: 9.5rem;
    height: 9.5rem;
  }

  .inpatient__grid {
    grid-template-columns: minmax(0, 1fr) 23rem;
  }

  .clinic__grid {
    grid-template-columns: minmax(0, 1fr) 28rem;
    gap: 3.5rem;
  }

  .site-footer__main {
    grid-template-columns: 17rem 23rem minmax(0, 1fr);
    gap: 2.25rem;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  html {
    font-size: 1.35vw;
  }

  :root {
    --container: 100%;
  }

  .site-header__inner {
    gap: 2.25rem;
  }

  .site-nav {
    gap: 1.375rem;
  }

  .site-header__phone {
    font-size: 1.1rem;
  }

  .hero,
  .hero__inner {
    min-height: calc(100vh - var(--site-header-height));
  }

  .hero__inner {
    padding-top: 8rem;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .hero__badge {
    margin-top: 1.5rem;
  }

  .services__grid {
    gap: 1.25rem;
  }

  .service-card__media {
    width: 9.5rem;
    height: 9.5rem;
  }

  .inpatient__grid {
    grid-template-columns: minmax(0, 1fr) 23rem;
  }

  .clinic__grid {
    grid-template-columns: minmax(0, 1fr) 28rem;
    gap: 3.5rem;
  }

  .site-footer__main {
    grid-template-columns: 17rem 23rem minmax(0, 1fr);
    gap: 2.25rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  html {
    font-size: 1.8vw;
  }

  :root {
    --container: 100%;
    --container-pad: 2rem;
  }

  .site-header__inner {
    gap: 1.75rem;
  }

  .site-header__logo {
    width: 7rem;
  }

  .site-nav {
    gap: 1rem;
  }

  .site-header__phone {
    gap: 0.75rem;
    margin-left: auto;
    font-size: 1rem;
  }

  .hero,
  .hero__inner {
    min-height: calc(100vh - var(--site-header-height));
  }

  .hero__inner {
    display: flex;
    align-items: center;
    padding-top: 6rem;
  }

  .hero__content {
    width: 37.5rem;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__lead {
    font-size: 1.25rem;
  }

  .hero__badge {
    margin-top: 1.5rem;
    width: 8rem;
  }

  .services {
    padding-bottom: 5.5rem;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
  }

  .inpatient__grid {
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 2rem;
  }

  .clinic__grid {
    grid-template-columns: minmax(0, 1fr) 25rem;
    gap: 3rem;
  }

  .clinic__content ul {
    grid-template-columns: 1fr;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__map {
    grid-column: 1 / -1;
    height: 16rem;
  }

  .site-footer__links {
    max-width: 28rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  html {
    font-size: 2.3vw;
  }

  :root {
    --container: 100%;
    --container-pad: 1.25rem;
    --site-header-height: 5rem;
  }

  .site-header__inner {
    min-height: 5rem;
    gap: 0.75rem;
  }

  .site-header__logo {
    width: 5.875rem;
  }

  .site-header__phone {
    margin-left: auto;
    gap: 0.625rem;
    font-size: 1rem;
  }

  .site-header__phone-icon {
    width: 2.125rem;
    height: 2.125rem;
  }

  .site-nav {
    position: fixed;
    top: var(--site-header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--site-header-height));
    padding: 0.75rem var(--container-pad) 1rem;
    background: #ffffff;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.75rem);
    transition: visibility 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    display: flex;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--color-line);
    font-size: 1.125rem;
  }

  .site-nav__item--has-dropdown {
    width: 100%;
  }

  .site-nav__item--has-dropdown.is-open .site-nav__dropdown {
    max-height: 28rem;
    margin: 0.2rem 0 0.55rem;
    padding: 0.2rem 0 0.3rem 0.85rem;
    border-left: 0.125rem solid rgba(195, 163, 124, 0.6);
    border-radius: 0;
    background: transparent;
  }

  .site-nav__dropdown a {
    display: flex;
    padding: 0.36rem 0 0.36rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.15;
    white-space: normal;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .hero__inner {
    min-height: calc(100vh - var(--site-header-height));
  }

  .hero {
    background-position: 0 0, left -5rem center;
  }

  .hero__inner {
    display: flex;
    align-items: center;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero__content {
    width: 25rem;
  }

  .hero__title {
    max-width: 21.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.28;
  }

  .hero__lead {
    max-width: 22rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.24;
  }

  .button {
    min-height: 3.375rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  .button--light {
    min-width: 16.25rem;
  }

  .hero__badge {
    margin-top: 1.5rem;
    width: 6.25rem;
  }

  .section-title {
    font-size: 1.75rem;
    text-align: center;
  }

  .section-title::after {
    width: 4.5rem;
    height: 0.1875rem;
    margin-right: auto;
    margin-left: auto;
  }

  .services {
    padding: 3.25rem 0 3.5rem;
  }

  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.75rem 1.25rem;
  }

  .service-card__media {
    width: 8.75rem;
    height: 8.75rem;
    margin-bottom: 1.5rem;
  }

  .service-card__media img {
    width: var(--service-icon-width, 5rem);
    height: auto;
  }

  .service-card:nth-child(3) {
    --service-icon-width: 3.6rem;
  }

  .service-card:nth-child(4) {
    --service-icon-width: 2.95rem;
  }

  .service-card:nth-child(5) {
    --service-icon-width: 4.55rem;
  }

  .service-card__title {
    font-size: 1rem;
  }

  .inpatient {
    padding: 0 0 3.25rem;
  }

  .inpatient__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3.25rem;
    padding-right: 0;
    padding-left: 0;
  }

  .inpatient__banner {
    border-radius: 0;
  }

  .feedback-form {
    margin: 0 var(--container-pad);
    padding: 1.75rem 1.5rem 2rem;
  }

  .clinic {
    padding: 2rem 0 4rem;
  }

  .clinic__grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .clinic__content p {
    margin: 1.75rem 0 2rem;
    font-size: 1rem;
    line-height: 1.25;
    text-align: center;
  }

  .clinic__content ul {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .clinic__content li {
    font-size: 1rem;
  }

  .clinic__photo-wrap {
    width: 100%;
  }

  .reviews {
    padding: 3.5rem 0 3.5rem;
  }

  .reviews__track {
    --review-card-width: calc((100% - 1.5rem) / 2);
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }

  .review-card {
    flex-basis: var(--review-card-width);
    padding: 2rem 1.75rem;
    scroll-snap-align: start;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__map {
    grid-column: 1 / -1;
    height: 16rem;
  }

  .site-footer__links {
    max-width: 28rem;
  }
}

@media (min-width: 480px) and (max-width: 575.98px) {
  :root {
    --container: 100%;
    --container-pad: 1.25rem;
    --site-header-height: 5rem;
  }

  .site-header__inner {
    min-height: 5rem;
    gap: 0.75rem;
  }

  .site-header__logo {
    width: 5.875rem;
  }

  .site-header__phone {
    margin-left: auto;
    gap: 0.625rem;
    font-size: 1.125rem;
  }

  .site-header__phone-icon {
    width: 2.125rem;
    height: 2.125rem;
  }

  .site-nav {
    position: fixed;
    top: var(--site-header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--container-pad) 1.5rem;
    background: #ffffff;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.75rem);
    transition: visibility 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    display: flex;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav__link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-line);
    font-size: 1.125rem;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .hero__inner {
    min-height: calc(100vh - var(--site-header-height));
  }

  .hero {
    background-position: 0 0, left -5rem center;
  }

  .hero__inner {
    padding-top: 2.5rem;
  }

  .hero__content {
    width: 25rem;
  }

  .hero__title {
    max-width: 21.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.28;
  }

  .hero__lead {
    max-width: 22rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.24;
  }

  .button {
    min-height: 3.375rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  .button--light {
    min-width: 16.25rem;
  }

  .hero__badge {
    margin-top: 1.5rem;
    width: 6.25rem;
  }

  .section-title {
    font-size: 1.75rem;
    text-align: center;
  }

  .section-title::after {
    width: 4.5rem;
    height: 0.1875rem;
    margin-right: auto;
    margin-left: auto;
  }

  .services {
    padding: 3.25rem 0 3.5rem;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem 1.25rem;
  }

  .service-card__media {
    width: 8.75rem;
    height: 8.75rem;
    margin-bottom: 1.5rem;
  }

  .service-card__media img {
    width: var(--service-icon-width, 5rem);
    height: auto;
  }

  .service-card:nth-child(3) {
    --service-icon-width: 3.6rem;
  }

  .service-card:nth-child(4) {
    --service-icon-width: 2.95rem;
  }

  .service-card:nth-child(5) {
    --service-icon-width: 4.55rem;
  }

  .service-card__title {
    font-size: 1rem;
  }

  .inpatient {
    padding: 0 0 3.25rem;
  }

  .inpatient__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3.25rem;
    padding-right: 0;
    padding-left: 0;
  }

  .inpatient__banner {
    border-radius: 0;
  }

  .feedback-form {
    margin: 0 var(--container-pad);
    padding: 1.75rem 1.5rem 2rem;
  }

  .clinic {
    padding: 2rem 0 4rem;
  }

  .clinic__grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .clinic__content p {
    margin: 1.75rem 0 2rem;
    font-size: 1rem;
    line-height: 1.25;
    text-align: center;
  }

  .clinic__content ul {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .clinic__content li {
    font-size: 1rem;
  }

  .clinic__photo-wrap {
    width: 100%;
  }

  .reviews {
    padding: 3.5rem 0 3.5rem;
  }

  .reviews__track {
    --review-card-width: 100%;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }

  .review-card {
    flex-basis: var(--review-card-width);
    padding: 2rem 1.75rem;
    scroll-snap-align: start;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    text-align: center;
  }

  .site-footer__logo {
    width: 7.3125rem;
    margin: 0 auto;
  }

  .site-footer__brand {
    display: contents;
  }

  .site-footer__brand > .site-footer__logo {
    order: 1;
  }

  .site-footer__contacts {
    order: 2;
  }

  .site-footer__links {
    order: 3;
    max-width: 22rem;
    margin: 3rem auto 0;
    gap: 2rem;
  }

  .site-footer__contacts {
    gap: 1.75rem;
  }

  .contact-item a,
  .contact-item strong,
  .contact-item-flex {
    justify-content: center;
    font-size: 1.25rem;
  }

  .site-footer__map {
    display: none;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    text-align: center;
  }

  .site-footer__bottom span:first-child,
  .site-footer__bottom span:last-child {
    margin-right: 0;
    margin-left: 0;
    text-align: center;
  }
}

@media (max-width: 479.98px) {
  html {
    font-size: max(13.12px, 4.1vw);
  }

  :root {
    --container: 100%;
    --container-pad: 1rem;
    --site-header-height: 5rem;
  }

  .site-header__inner {
    min-height: 5rem;
    gap: 0.5rem;
  }

  .site-header__logo {
    width: 5.875rem;
  }

  .site-header__phone {
    margin-left: auto;
    gap: 0.625rem;
    font-size: 1.125rem;
  }

  .site-header__phone-icon {
    width: 2.125rem;
    height: 2.125rem;
  }

  .site-nav {
    position: fixed;
    top: var(--site-header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--container-pad) 1.5rem;
    background: #ffffff;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.75rem);
    transition: visibility 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    display: flex;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav__link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-line);
    font-size: 1.125rem;
  }

  .menu-toggle {
    display: block;
    width: 3rem;
  }

  .menu-toggle span {
    width: 2rem;
  }

  .hero,
  .hero__inner {
    min-height: calc(100vh - var(--site-header-height));
  }

  .hero {
    background-position: 0 0, left -5rem center;
  }

  .hero__inner {
    padding-top: 2.5rem;
  }

  .hero__content {
    width: 100%;
  }

  .hero__title {
    max-width: 21.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.28;
  }

  .hero__lead {
    max-width: 22rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.24;
  }

  .button {
    min-height: 3.375rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  .button--light {
    min-width: 16.25rem;
  }

  .hero__badge {
    margin-top: 1.5rem;
    width: 6.25rem;
  }

  .section-title {
    font-size: 1.75rem;
    text-align: center;
  }

  .section-title::after {
    width: 4.5rem;
    height: 0.1875rem;
    margin-right: auto;
    margin-left: auto;
  }

  .services {
    padding: 3.25rem 0 3.5rem;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem 1.25rem;
  }

  .service-card__media {
    width: 8rem;
    height: 8rem;
    margin-bottom: 1.5rem;
  }

  .service-card__media img {
    width: var(--service-icon-width, 5rem);
    height: auto;
  }

  .service-card:nth-child(3) {
    --service-icon-width: 3.6rem;
  }

  .service-card:nth-child(4) {
    --service-icon-width: 2.95rem;
  }

  .service-card:nth-child(5) {
    --service-icon-width: 4.55rem;
  }

  .service-card__title {
    font-size: 1rem;
  }

  .inpatient {
    padding: 0 0 3.25rem;
  }

  .inpatient__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3.25rem;
    padding-right: 0;
    padding-left: 0;
  }

  .inpatient__banner {
    border-radius: 0;
  }

  .feedback-form {
    margin: 0 var(--container-pad);
    padding: 1.75rem 1.5rem 2rem;
  }

  .feedback-form__title {
    font-size: 1.375rem;
  }

  .clinic {
    padding: 2rem 0 4rem;
  }

  .clinic__grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .clinic__content p {
    margin: 1.75rem 0 2rem;
    font-size: 1rem;
    line-height: 1.25;
    text-align: center;
  }

  .clinic__content ul {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .clinic__content li {
    font-size: 1rem;
  }

  .clinic__photo-wrap {
    width: 100%;
  }

  .reviews {
    padding: 3.5rem 0 3.5rem;
  }

  .reviews__track {
    --review-card-width: 100%;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }

  .review-card {
    flex-basis: var(--review-card-width);
    padding: 2rem 1.75rem;
    scroll-snap-align: start;
  }

  .review-card h3 {
    font-size: 1.25rem;
  }

  .review-card p {
    font-size: 1rem;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
    text-align: center;
  }

  .site-footer__logo {
    width: 7.3125rem;
    margin: 0 auto;
  }

  .site-footer__brand {
    display: contents;
  }

  .site-footer__brand > .site-footer__logo {
    order: 1;
  }

  .site-footer__contacts {
    order: 2;
  }

  .site-footer__links {
    order: 3;
    max-width: 22rem;
    margin: 3rem auto 0;
    gap: 2rem;
  }

  .site-footer__contacts {
    gap: 1.75rem;
  }

  .contact-item a,
  .contact-item strong,
  .contact-item-flex {
    justify-content: center;
    font-size: 1.25rem;
  }

  .site-footer__map {
    display: none;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    text-align: center;
  }

  .site-footer__bottom span:first-child,
  .site-footer__bottom span:last-child {
    margin-right: 0;
    margin-left: 0;
    text-align: center;
  }
}

/* local height breakpoint: hero content; prevents badge/button from pressing into the section edge on short desktop/tablet viewports; checked 1354x650/1354x920/768x650 */
@media (min-width: 992px) and (max-height: 760px) {
  .hero__inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* local height breakpoint: hero content; keeps mobile/tablet hero breathing room on short screens without changing width ranges; checked 320x650/480x650/768x650 */
@media (max-width: 991.98px) and (max-height: 760px) {
  .hero__inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 575.98px) {
  .inpatient__banner {
    margin-right: 0;
    margin-left: 0;
  }
  .d-flex-review {
    flex-direction: column;
    gap: 20px;
  }
  .br-wrapper {
    margin: 0 0 1.375rem;
  }
  .captcha-box {
    flex-direction: column;
  }
  .captcha-box .field__control {
    width: 120px;
    min-height: 2.375rem;
  }

}

/* local breakpoint: hero image focal point on narrow mobile; keeps gradient layer fixed while moving only the bitmap; checked 320/399/400/480 */
@media (min-width: 400px) and (max-width: 480px) {
  .hero {
    background-position: 0 0, left 25% center;
  }
}

/* local breakpoint: hero image focal point on narrow mobile; keeps gradient layer fixed while moving only the bitmap; checked 320/399/400/480 */
@media (max-width: 399.98px) {
  .hero {
    background-position: 0 0, left 35% center;
  }
}
