@font-face {
  font-family: "Inter";
  font-weight: 400;
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "STIX Two Text";
  font-weight: 400;
  src: url("../fonts/STIXTwoText-Regular.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "STIX Two Text";
  font-weight: 600;
  src: url("../fonts/STIXTwoText-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "STIX Two Text";
  font-weight: 600;
  src: url("../fonts/STIXTwoText-SemiBoldItalic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "STIX Two Text";
  font-weight: 700;
  src: url("../fonts/STIXTwoText-Bold.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  font-weight: 500;
  src: url("../fonts/NotoSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  font-weight: 700;
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  font-weight: 800;
  src: url("../fonts/Inter-Black.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

section[id] {
  scroll-margin-top: 100px;
}

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

body {
  font-family: "Inter", "Arial", "Helvetica", sans-serif;
  margin-right: auto;
  margin-left: auto;
  min-width: 375px;
  position: relative;
  background-color: #FFFCF9;
}

dialog {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

a:hover {
  opacity: 0.72;
}

:focus-visible {
  outline: 2px solid #C9A96E;
  outline-offset: 3px;
  border-radius: 4px;
}

body.menu-open {
  overflow: hidden;
}

p {
  cursor: default;
  margin: 0;
}

span {
  cursor: default;
}

strong {
  cursor: default;
}

img {
  max-width: 100%;
}

li {
  cursor: default;
  list-style-type: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  cursor: default;
}

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

button {
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

button:hover {
  opacity: 0.85;
}

button:disabled {
  cursor: default;
  opacity: 0.6;
  pointer-events: none;
}

.container {
  max-width: 1406px;
  padding: 0 40px;
  margin-right: auto;
  margin-left: auto;
}
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
}

h2 {
  color: #1A1A1A;
  /* Ttile 4 */
  font-family: "STIX Two Text";
  font-size: 56px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  /* 56px */
}
@media (max-width: 993px) {
  h2 {
    color: #1A1A1A;
    font-family: "STIX Two Text";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    /* 40px */
  }
}
@charset "UTF-8";
.hero {
  background-image: url(../img/hero-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  padding-top: 121px;
  padding-bottom: 57px;
  min-height: calc(100vh - 91px);
}
@media (max-width: 993px) {
  .hero {
    position: relative;
    padding-top: 50px;
  }
}
@media (max-width: 576px) {
  .hero {
    background-image: url(../img/hero-bg-576.webp);
    min-height: 672px;
    display: flex;
    flex-direction: column;
    padding-bottom: 0px;
  }
}
.hero .container {
  position: relative;
}
@media (max-width: 993px) {
  .hero .container {
    position: static;
    height: 100%;
    margin-top: auto;
  }
}

@media (max-width: 993px) {
  .hero__block {
    border-radius: 25px;
    background: rgba(243, 245, 244, 0.55);
    -webkit-backdrop-filter: blur(8.3000001907px);
    backdrop-filter: blur(8.3000001907px);
    padding: 20px 18px;
    margin-top: 30px;
    max-width: -moz-max-content;
    max-width: max-content;
  }
}
@media (max-width: 576px) {
  .hero__block {
    margin-top: auto;
    max-width: 100%;
    width: 100%;
  }
}

.hero__title {
  color: #1A1A1A;
  /* Title 2 */
  font-family: "STIX Two Text";
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  margin-bottom: 8px;
}
.hero__title i {
  display: block;
  font-size: 100px;
  font-style: italic;
  font-weight: 600;
  line-height: 100%;
  /* 100px */
}
@media (max-width: 993px) {
  .hero__title i {
    font-size: 58px;
  }
}
@media (max-width: 993px) {
  .hero__title {
    font-size: 34px;
  }
}

.hero__text {
  color: #1A1A1A;
  /* Head 2 */
  font-family: "STIX Two Text";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  display: block;
  margin-bottom: 40px;
  /* 30px */
}
@media (max-width: 993px) {
  .hero__text {
    position: absolute;
    top: -35px;
    left: 33px;
    margin-bottom: 0;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
  }
}
@media (max-width: 576px) {
  .hero__text {
    top: -290px;
    left: 0px;
  }
}

.hero__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  max-width: -moz-max-content;
  max-width: max-content;
}
@media (max-width: 576px) {
  .hero__list {
    margin-bottom: 32px;
    gap: 8px;
  }
}

.hero__item {
  color: #1A1A1A;
  /* Head 1 */
  font-family: "STIX Two Text";
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 115%;
  /* 32.2px */
}
@media (max-width: 993px) {
  .hero__item {
    font-size: 16px;
  }
}

.hero__item::after {
  content: "";
  display: block;
  background-image: url(../img/svg/hero-divider.svg);
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 100%;
  width: 100%;
  height: 8px;
  margin-top: 12px;
}
@media (max-width: 576px) {
  .hero__item::after {
    margin-top: 8px;
  }
}

.hero__btn {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}
@media (max-width: 993px) {
  .hero__btn {
    padding: 14px 13px !important;
  }
}

.hero__list-2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  bottom: 0px;
  right: 0;
}
@media (max-width: 993px) {
  .hero__list-2 {
    display: none;
  }
}

.hero__info {
  color: #1A1A1A;
  /* Head 2 */
  font-family: "STIX Two Text";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  padding: 8px;
  background: #CFAE70;
}

.services {
  padding: 60px 0;
  background-color: #D6D0C6;
}
@media (max-width: 993px) {
  .services {
    background: linear-gradient(180deg, #FFF 0%, #FFFAF3 43.79%);
  }
}

.services__block {
  padding: 40px 60px;
  border-radius: 25px;
  background: #FFFAF3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 993px) {
  .services__block {
    background-color: transparent;
    flex-direction: column;
    padding: 0;
  }
}

.services__texts {
  max-width: 685px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (max-width: 993px) {
  .services__texts {
    display: contents;
  }
}

@media (max-width: 993px) {
  .services__title {
    order: 1;
  }
}

.services__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 993px) {
  .services__tags {
    order: 3;
    /* .services__texts здесь display: contents, поэтому ширину задаём сами,
       иначе свайпер растягивается по контенту и уезжает за экран */
    width: 100%;
    min-width: 0;
  }
}

.services__video {
  /* заполняем блок, размеры которого заданы пропорцией:
     так смена src не влияет на высоту и страница не подпрыгивает */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 25px;
  background-color: #1A1A1A;
  transition: opacity 0.2s ease;
}

/* пока новый ролик грузится, прячем пустой кадр */
.services__video.is-loading {
  opacity: 0;
}

.services__swiper {
  display: contents;
}
@media (max-width: 993px) {
  .services__swiper {
    display: block;
    width: 100%;
    min-width: 0;
  }
}
.services__swiper .swiper-wrapper {
  display: contents;
}
@media (max-width: 993px) {
  .services__swiper .swiper-wrapper {
    display: flex;
  }
}
.services__swiper .swiper-slide {
  width: unset;
}
@media (max-width: 993px) {
  .services__swiper .swiper-slide {
    max-width: -moz-max-content;
    max-width: max-content;
  }
}

.services__tag_active {
  background: #C9A96E;
}

.services__tag {
  color: #1A1A1A;
  display: block;
  /* Body 2 */
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
  /* 24.3px */
  padding: 10px 16px;
  border-radius: 100px;
  border: 1px solid #E8D5C0;
}

.services__btn {
  max-width: -moz-max-content;
  max-width: max-content;
}
@media (max-width: 993px) {
  .services__btn {
    order: 4;
  }
}

.services__video-block {
  border-radius: 25px;
  max-width: 478px;
  width: 100%;
  /* высоту держит пропорция блока, а не загруженный ролик */
  aspect-ratio: 478/564;
  position: relative;
}
@media (max-width: 993px) {
  .services__video-block {
    order: 2;
  }
}

.services__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.results {
  background-image: url(../img/results-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 61px 0 43px;
}
@media (max-width: 768px) {
  .results {
    padding: 37px 0 58px;
  }
}
@media (max-width: 768px) {
  .results .container {
    display: flex;
    flex-direction: column;
  }
}

.results__title {
  color: #FFF;
  text-align: center;
  margin-bottom: 26px;
}
@media (max-width: 768px) {
  .results__title {
    order: 1;
  }
}

.results__block {
  display: flex;
  flex-wrap: wrap;
  max-width: 676px;
  width: 100%;
  gap: 14px 24px;
  margin: 0 auto 32px;
  justify-content: center;
}
@media (max-width: 768px) {
  .results__block {
    margin-bottom: 22px;
    max-width: unset;
    justify-content: unset;
    order: 2;
  }
}

.results__swiper {
  display: contents;
}
@media (max-width: 768px) {
  .results__swiper {
    display: block;
    /* .results__block — flex-контейнер, без этого свайпер растянется по контенту */
    width: 100%;
    min-width: 0;
  }
}
.results__swiper .swiper-wrapper {
  display: contents;
}
@media (max-width: 768px) {
  .results__swiper .swiper-wrapper {
    display: flex;
  }
}
.results__swiper .swiper-slide {
  width: -moz-max-content;
  width: max-content;
}
.results__swiper .services__tag {
  display: block;
  color: #fff;
}
.results__swiper .services__tag_active {
  color: #1A1A1A;
}

.results__swiper-2 {
  margin-bottom: 28px;
  width: 100%;
  max-width: 844px;
  /* .container на мобилке — flex-колонка, а у flex-элемента min-width: auto,
     то есть он раздувается до ширины слайдов, размеченных Swiper'ом инлайново */
  min-width: 0;
}
@media (max-width: 768px) {
  .results__swiper-2 {
    order: 3;
  }
}
.results__swiper-2 img {
  display: block;
  margin: 0 auto;
  border-radius: 25px;
  border: 1px solid #C9A96E;
}

.results__slide_hidden {
  display: none;
}

.results__img {
  width: 100%;
  height: auto;
}

.results__empty {
  color: #FFF;
  text-align: center;
  font-family: Inter;
  font-size: 18px;
  line-height: 135%;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .results__empty {
    order: 3;
    font-size: 14px;
  }
}

.results__navigation {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
@media (max-width: 768px) {
  .results__navigation {
    display: none;
  }
}

.results__navigation[hidden] {
  display: none;
}

.results__text {
  display: block;
  color: #FFF;
  text-align: center;
  font-family: "STIX Two Text";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 115%;
  /* 23px */
  margin: 0 auto 24px;
  max-width: 610px;
}
@media (max-width: 768px) {
  .results__text {
    display: none;
  }
}

.results__btn {
  margin: 0 auto 48px;
  max-width: -moz-max-content;
  max-width: max-content;
}
@media (max-width: 768px) {
  .results__btn {
    order: 5;
  }
}

.results__text-2 {
  display: block;
  color: #FFF;
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  opacity: 0.4;
}
@media (max-width: 768px) {
  .results__text-2 {
    order: 4;
    margin-bottom: 27px;
  }
}

.stories {
  padding: 104px 0;
  background-color: rgb(232, 213, 192);
  overflow: hidden;
}
@media (max-width: 993px) {
  .stories {
    padding: 35px 0;
  }
}

.stories__flex {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
}
@media (max-width: 993px) {
  .stories__flex {
    flex-direction: column;
    gap: 37px;
  }
}

.stories__flex::before {
  content: "";
  position: absolute;
  left: 5px;
  width: 100%;
  height: 100%;
  background-color: rgb(232, 213, 192);
  z-index: 2;
  transform: translateX(-100%);
}
@media (max-width: 993px) {
  .stories__flex::before {
    display: none;
  }
}

.stories__block {
  max-width: 458px;
  border-radius: 25px;
  background: #FFFAF3;
  padding: 40px;
  /* карточка выше слайдов — они уходят под неё, а не поверх */
  position: relative;
  z-index: 2;
}
@media (max-width: 993px) {
  .stories__block {
    display: contents;
  }
}
.stories__block h2 {
  margin-bottom: 40px;
}
.stories__block h2 i {
  font-size: 72px;
}
@media (max-width: 993px) {
  .stories__block h2 i {
    font-size: 48px;
  }
}
@media (max-width: 993px) {
  .stories__block h2 {
    order: 1;
    text-align: center;
    margin-bottom: unset;
  }
}
.stories__block p {
  color: #1A1A1A;
  /* Body 2 */
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
  margin-bottom: 158px;
  /* 24.3px */
}
@media (max-width: 993px) {
  .stories__block p {
    display: none;
  }
}

@media (max-width: 993px) {
  .stories__btn {
    order: 3;
  }
}

.stories__btn-text-mob {
  display: none;
}
@media (max-width: 576px) {
  .stories__btn-text-mob {
    display: block;
  }
}

@media (max-width: 576px) {
  .stories__btn-text-desktop {
    display: none;
  }
}

.stories__swiper {
  overflow: unset;
}
@media (max-width: 993px) {
  .stories__swiper {
    order: 2;
  }
}
.stories__swiper .swiper-wrapper {
  margin-bottom: 20px;
}
.stories__swiper .swiper-slide {
  max-width: 285px;
  border: 1px solid #C9A96E;
  border-radius: 25px;
}
.stories__swiper video {
  min-height: 384px;
  max-width: 100%;
}

.stories__relative {
  position: relative;
  max-height: 384px;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid #C9A96E;
}

.services__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.stores__blogger-name {
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 0 0 25px 25px;
  opacity: 0.7;
  background: #22201E;
  color: #F5F0E8;
  width: 100%;
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%;
  padding: 12px 0;
  /* 20px */
}

.stories__navigation {
  display: flex;
  gap: 30px;
  justify-content: end;
  margin-left: auto;
  width: 100%;
}
@media (max-width: 993px) {
  .stories__navigation {
    display: none;
  }
}

.doctor {
  padding: 87px 0 57px;
  background: #F5F0E8;
}
@media (max-width: 993px) {
  .doctor {
    padding: 44px 0 70px;
  }
}

.doctor__tilte {
  font-size: 96px;
  margin-bottom: 22px;
}
@media (max-width: 1293px) {
  .doctor__tilte {
    text-align: center;
  }
}
@media (max-width: 993px) {
  .doctor__tilte {
    font-size: 40px;
  }
}
@media (max-width: 576px) {
  .doctor__tilte {
    margin-bottom: 30px;
  }
}

.docotor__divider {
  display: block;
  margin-bottom: 10px;
}
@media (max-width: 1293px) {
  .docotor__divider {
    display: none;
  }
}

.doctor__flex {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 58px;
}
@media (max-width: 1293px) {
  .doctor__flex {
    flex-direction: column;
  }
}
@media (max-width: 576px) {
  .doctor__flex {
    margin-bottom: 40px;
  }
}

.docotor__left {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1293px) {
  .docotor__left {
    order: 3;
  }
}

.docotor__subtitle {
  color: #1A1A1A;
  font-family: "STIX Two Text";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 115%;
  /* 27.6px */
  margin-bottom: 18px;
}
@media (max-width: 576px) {
  .docotor__subtitle {
    text-align: center;
  }
}

.doctor__item {
  color: #1A1A1A;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 152%;
}
.doctor__item strong {
  font-weight: 700;
}

.doctor__btn {
  margin-top: auto;
  justify-content: center;
}
@media (max-width: 1293px) {
  .doctor__btn {
    display: none !important;
  }
}

.doctor__image {
  max-width: 388px;
  width: 100%;
  border-radius: 25px;
  min-height: 571px;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (max-width: 1293px) {
  .doctor__image {
    order: 2;
  }
}
@media (max-width: 576px) {
  .doctor__image {
    max-height: 322px;
    min-height: unset;
    -o-object-position: top;
    object-position: top;
  }
}

.docotr__right {
  display: flex;
  flex-direction: column;
  justify-content: end;
  width: 100%;
  min-width: 311px;
}
@media (max-width: 1293px) {
  .docotr__right {
    display: contents;
  }
}

.doctor__text {
  color: #1A1A1A;
  /* Head 2 */
  font-family: "STIX Two Text";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  margin-bottom: 27px;
}
.doctor__text strong {
  font-weight: 700;
}
@media (max-width: 1293px) {
  .doctor__text {
    order: 1;
  }
}
@media (max-width: 576px) {
  .doctor__text {
    font-size: 14px;
    margin-bottom: 0;
  }
}

.doctor__statistic {
  padding: 16px 32px;
  border-radius: 25px;
  border: 1px solid #C9A96E;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 1293px) {
  .doctor__statistic {
    order: 3;
  }
}
@media (max-width: 576px) {
  .doctor__statistic {
    padding: 19px 23px;
  }
}

.statistic__item strong {
  display: block;
  color: #1A1A1A;
  font-family: "STIX Two Text";
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 115%;
  /* 41.4px */
}
@media (max-width: 576px) {
  .statistic__item strong {
    font-size: 26px;
  }
}
.statistic__item span {
  color: #1A1A1A;
  /* Head 2 */
  font-family: "STIX Two Text";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
}
@media (max-width: 576px) {
  .statistic__item span {
    font-size: 17px;
  }
}

.statistic__item:not(:last-child) {
  border-bottom: 1px solid #C9A96E;
  margin-bottom: 20px;
}

.docotor__swiper {
  max-width: 1200px;
}
.docotor__swiper .swiper-slide {
  max-width: 273px;
}
@media (max-width: 576px) {
  .docotor__swiper .swiper-slide {
    max-width: 218px;
  }
}
.docotor__swiper .docotor__img-2 {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.reviews {
  padding: 120px 0;
  background: linear-gradient(177deg, #1A1A1A 21.24%, #E8D5C0 217.96%);
}
@media (max-width: 993px) {
  .reviews {
    padding: 37px 0;
  }
}

.reviews__title {
  margin-bottom: 40px;
  color: rgb(245, 240, 232);
}
.reviews__title i {
  font-size: 72px;
  font-weight: 600;
  display: block;
}
@media (max-width: 993px) {
  .reviews__title i {
    font-size: 46px;
  }
}
@media (max-width: 576px) {
  .reviews__title i {
    font-size: 34px;
  }
}
@media (max-width: 576px) {
  .reviews__title {
    font-size: 26px;
    margin-bottom: 36px;
  }
}

.reviews__slide {
  max-width: calc(33% - 20px);
  /* height: auto вместо swiper'овского 100% — слайды тянутся до самого высокого */
  height: auto;
  display: flex;
}
@media (max-width: 1293px) {
  .reviews__slide {
    max-width: 376px;
  }
}

@media (max-width: 576px) {
  .reviews__swiper .swiper-wrapper {
    margin-bottom: 12px;
  }
}

.reviews__block {
  padding: 28px;
  border-radius: 25px;
  background: #F5F0E8;
  max-width: 376px;
  /* карточка заполняет растянутый слайд — все три одинаковой высоты */
  width: 100%;
  min-width: 0;
}
@media (max-width: 576px) {
  .reviews__block {
    padding: 24px;
  }
}

.reviews__flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.reviews__swiper-2 {
  /* слайдер оставляем обычным блоком: как flex-элемент он считает ширину по
     содержимому, Swiper проставляет слайдам инлайновую ширину, и та раскручивается
     до предела в 33 млн px */
  min-width: 0;
}
.reviews__swiper-2 .swiper-wrapper {
  margin-bottom: 12px;
}
.reviews__swiper-2 .swiper-slide {
  min-width: 0;
}
.reviews__swiper-2 p {
  color: #1A1A1A;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 576px) {
  .reviews__swiper-2 p {
    font-size: 12px;
  }
}

/* раскрытый отзыв: снимаем обрезку по строкам.
   Селектор с .reviews__swiper-2, чтобы перебить специфичность правила `.reviews__swiper-2 p` */
.reviews__swiper-2 p.reviews__text_full {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  display: block;
}

.reviews__more {
  margin-top: 8px;
  color: #C9A96E;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.25s ease;
}
.reviews__more:hover {
  opacity: 1;
  color: #1A1A1A;
}
.reviews__more[hidden] {
  display: none;
}

.reviews__user {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 12px;
  margin-bottom: 8px;
}

.reviews__info {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 2px;
}

.reviews__name {
  color: #1A1A1A;
  /* Body 3 (bold) */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%;
  /* 20px */
}
@media (max-width: 576px) {
  .reviews__name {
    font-size: 14px;
  }
}

.reviews__img {
  border-radius: 50%;
}

.reviews__date {
  color: #8A8F99;
  /* Body 4 */
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  /* 16.8px */
}
@media (max-width: 576px) {
  .reviews__date {
    font-size: 12px;
  }
}

.reviews__stars {
  margin-bottom: 8px;
  display: flex;
  gap: 3px;
}

.reviews__navigaton {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 37px;
}
@media (max-width: 576px) {
  .reviews__navigaton {
    margin-bottom: 31px;
  }
}

.reviews__navigation-2 {
  display: none;
}
@media (max-width: 576px) {
  .reviews__navigation-2 {
    display: flex;
    gap: 108px;
    justify-content: center;
  }
}

.reviews__btn {
  display: block;
}

.reviews__btn-2 {
  max-width: -moz-max-content;
  max-width: max-content;
}

.content {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease;
}

.rotate {
  transform: rotate(180deg);
}

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

.acc img {
  transition: transform 0.3s ease;
}

.text-wrapper {
  min-height: 0;
}

.price {
  padding: 120px 0 60px;
  background-color: rgb(245, 240, 232);
}
@media (max-width: 993px) {
  .price {
    padding: 31px 0 52px;
  }
}

.price__title {
  text-align: center;
  margin-bottom: 16px;
}
@media (max-width: 576px) {
  .price__title {
    margin-bottom: 19px;
  }
}

.price__text {
  color: #1A1A1A;
  text-align: center;
  max-width: 672px;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
  margin: 0 auto 40px;
}
@media (max-width: 576px) {
  .price__text {
    font-size: 13px;
  }
}

.price__acc {
  color: #1A1A1A;
  /* Head 2 */
  font-family: "STIX Two Text";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 11px;
  border-bottom: 1px solid #464C58;
  margin-bottom: 11px;
  width: 100%;
  text-align: left;
}
@media (max-width: 576px) {
  .price__acc {
    font-size: 14px;
  }
}
.price__acc svg {
  flex-shrink: 0;
}
@media (max-width: 576px) {
  .price__acc svg {
    width: 9px;
    height: 9px;
  }
}
.price__acc .price__acc-icon-bar {
  transform-origin: 8.75px 8.75px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.price__acc[aria-expanded=true] .price__acc-icon-bar {
  transform: scaleY(0);
  opacity: 0;
}
.price__acc:hover {
  opacity: 1;
  color: #C9A96E;
  border-bottom-color: #C9A96E;
}
.price__acc:hover svg rect {
  fill: #C9A96E;
}
.price__acc:focus-visible {
  outline: 2px solid #C9A96E;
  outline-offset: 4px;
  text-decoration: none;
}

.price__text-2 {
  color: #1A1A1A;
  /* Body 3 */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  padding-bottom: 10px;
  /* 20px */
}
@media (max-width: 576px) {
  .price__text-2 {
    font-size: 12px;
  }
}

.price__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 10px;
  position: relative;
  z-index: 3;
}

.price__accardeons {
  position: relative;
  margin-bottom: 10px;
  max-height: 452px;
  overflow: hidden;
}

.price__accardeons::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 85px;
  background: linear-gradient(180deg, rgba(245, 240, 232, 0) 0%, #F5F0E8 100%);
  bottom: 0;
  left: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.price__accardeons_expanded {
  max-height: none;
  overflow: visible;
}

.price__accardeons_expanded::after {
  opacity: 0;
}

.price__item {
  color: #1A1A1A;
  /* Body 3 */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  /* 20px */
  display: grid;
  grid-template-columns: 1fr 130px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
@media (max-width: 576px) {
  .price__item {
    font-size: 12px;
    grid-template-columns: 1fr 90px;
  }
}
.price__item strong {
  color: #1A1A1A;
  text-align: right;
  /* Body 1 (bold) */
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  white-space: nowrap;
  /* 24px */
}
@media (max-width: 576px) {
  .price__item strong {
    font-size: 10px;
  }
}

.price__item:not(:last-child)::after {
  content: "";
  background-image: url(../img/svg/price-divider.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  grid-column: span 2;
  height: 12px;
}
@media (max-width: 576px) {
  .price__item:not(:last-child)::after {
    font-size: 10px;
    height: 4px;
  }
}

.price__btn {
  margin: 0 auto 40px;
  border: 1px solid #353029;
  padding: 18px 28px !important;
}
.price__btn svg {
  transition: transform 0.3s ease;
}
.price__btn:hover {
  opacity: 1;
  color: #F5F0E8;
  background: linear-gradient(180deg, #1A1A1A 18.47%, #38332A 100%);
  border-color: #1A1A1A;
}
.price__btn:hover svg path {
  fill: #F5F0E8;
}
@media (max-width: 576px) {
  .price__btn {
    font-size: 13px;
    padding: 10px !important;
    margin-bottom: 30px;
  }
}

.price__text-3 {
  color: #1A1A1A;
  text-align: center;
  /* Head 1 */
  font-family: "STIX Two Text";
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 115%;
  /* 32.2px */
  margin-bottom: 24px;
}
@media (max-width: 576px) {
  .price__text-3 {
    font-size: 14px;
    margin-bottom: 34px;
  }
}

.price__btn-2 {
  margin: 0 auto;
  padding: 18px 28px !important;
}
@media (max-width: 576px) {
  .price__btn-2 {
    padding: 14px 32px !important;
  }
}

.reabilitation {
  padding: 60px 0 70px;
  background-color: #E6E0D7;
}
@media (max-width: 1293px) {
  .reabilitation {
    background-color: #FFFAF3;
  }
}
@media (max-width: 576px) {
  .reabilitation {
    padding: 40px 0 33px;
  }
}

.reabilitation__block {
  padding: 41px 78px 125px 63px;
  background-color: #FFFAF3;
  display: flex;
  align-items: stretch;
  gap: 20px;
  justify-content: space-between;
  border-radius: 25px;
}
@media (max-width: 1293px) {
  .reabilitation__block {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }
}

.reabilitation__relative {
  position: relative;
  max-width: 428px;
  width: 100%;
}
@media (max-width: 1293px) {
  .reabilitation__relative {
    order: 3;
    margin: 0 auto 23px;
  }
}
@media (max-width: 576px) {
  .reabilitation__relative {
    max-height: 339px;
    max-width: 100%;
  }
}

.reabilitation__video {
  border-radius: 25px;
  max-width: 100%;
  height: 100%;
}
@media (max-width: 576px) {
  .reabilitation__video {
    max-height: 339px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

.reabilitation__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 576px) {
  .reabilitation__play svg {
    width: 78px;
    height: 78px;
  }
}

.reabilitation__texts {
  max-width: 687px;
  width: 100%;
  margin: auto 0;
}
@media (max-width: 1293px) {
  .reabilitation__texts {
    display: contents;
  }
}

.reabilitation__title {
  color: #1A1A1A;
  /* Title 3 */
  font-family: "STIX Two Text";
  font-size: 72px;
  font-style: italic;
  font-weight: 600;
  line-height: 100%;
  /* 72px */
  margin-bottom: 43px;
}
@media (max-width: 1293px) {
  .reabilitation__title {
    order: 1;
    text-align: center;
    margin-bottom: 16px;
  }
}
@media (max-width: 576px) {
  .reabilitation__title {
    font-size: 40px;
  }
}

.reabilitation__text {
  color: #1A1A1A;
  font-family: "STIX Two Text";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  /* 25px */
  margin-bottom: 40px;
}
@media (max-width: 1293px) {
  .reabilitation__text {
    order: 2;
    margin-bottom: 24px;
    text-align: center;
  }
}
@media (max-width: 576px) {
  .reabilitation__text {
    font-size: 14px;
  }
}

.reabilitation__list {
  margin-bottom: 27px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 1293px) {
  .reabilitation__list {
    order: 4;
    margin-bottom: 37px;
  }
}

.reabilitation__item:not(:last-child)::after {
  content: "";
  background-image: url(../img/svg/price-divider.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 6px;
  display: block;
}
@media (max-width: 1293px) {
  .reabilitation__item:not(:last-child)::after {
    height: 10px;
  }
}

.reabilitation__text-2 {
  color: #1A1A1A;
  /* Head 1 */
  font-family: "STIX Two Text";
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 115%;
}
@media (max-width: 576px) {
  .reabilitation__text-2 {
    font-size: 20px;
  }
}

.reabilitation__text-3 {
  color: #1A1A1A;
  /* Body 3 */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  padding-bottom: 12px;
  /* 20px */
}
@media (max-width: 576px) {
  .reabilitation__text-3 {
    font-size: 14px;
  }
}

@media (max-width: 1293px) {
  .reabilitation__btn {
    order: 5;
    justify-content: center;
  }
}

.operations {
  padding: 60px 0;
  background-color: rgb(245, 240, 232);
}
@media (max-width: 993px) {
  .operations {
    padding: 37px 0 50px;
  }
}

.operations__title {
  text-align: center;
  margin-bottom: 16px;
}
.operations__title i {
  display: block;
  font-size: 72px;
  font-style: italic;
  font-weight: 600;
}
@media (max-width: 993px) {
  .operations__title i {
    font-size: 40px;
  }
}

.operations__text {
  color: #1A1A1A;
  text-align: center;
  /* Body 2 */
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
  /* 24.3px */
  max-width: 892px;
  margin: 0 auto 40px;
}

.operations__swiper {
  max-width: 994px;
  width: 100%;
  margin: 0 auto;
}

.operations__img {
  border-radius: 4px;
  max-height: 596px;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (max-width: 576px) {
  .operations__img {
    max-height: 170px;
  }
}

.operations__navigation {
  position: absolute;
  top: 50%;
  max-width: calc(100% - 40px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  left: 20px;
}
@media (max-width: 576px) {
  .operations__navigation {
    display: none;
  }
}

.contacts {
  padding: 64px 0 120px;
  background: #FFFAF3;
}
@media (max-width: 993px) {
  .contacts {
    padding: 30px 0;
    background-color: rgb(247, 247, 247);
  }
}

.contacts__flex {
  display: flex;
  gap: 36px;
}
@media (max-width: 993px) {
  .contacts__flex {
    flex-direction: column;
  }
}

.contacts__texts {
  max-width: 50%;
}
@media (max-width: 993px) {
  .contacts__texts {
    max-width: 100%;
  }
}
@media (max-width: 576px) {
  .contacts__texts {
    display: flex;
    flex-direction: column;
  }
}

.contacts__title {
  margin-bottom: 40px;
}
@media (max-width: 993px) {
  .contacts__title {
    text-align: center;
    margin-bottom: 20px;
  }
}

.contacts__block {
  margin-bottom: 16px;
}

@media (max-width: 576px) {
  .contacts__block:nth-child(2) {
    order: 1;
  }
}

@media (max-width: 576px) {
  .contacts__block:nth-child(3) {
    order: 2;
  }
}

@media (max-width: 576px) {
  .contacts__block:nth-child(5) {
    order: 4;
  }
}

@media (max-width: 576px) {
  .contacts__block:nth-child(6) {
    order: 5;
  }
}

.contacts__lable {
  color: #464C58;
  /* Body 2 */
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
  /* 24.3px */
  margin-bottom: 8px;
  display: block;
}
@media (max-width: 576px) {
  .contacts__lable {
    font-size: 13px;
    margin-bottom: 6px;
  }
}

.contacts__link {
  color: #1A1A1A;
  /* Head 1 */
  font-family: "STIX Two Text";
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 115%;
  /* 32.2px */
}
@media (max-width: 576px) {
  .contacts__link {
    font-size: 16px;
  }
}

.contacts__divider {
  display: block;
  margin-bottom: 16px;
}
@media (max-width: 993px) {
  .contacts__divider {
    max-width: 100%;
  }
}
@media (max-width: 576px) {
  .contacts__divider {
    display: none;
  }
}

.contacts__socials {
  margin-top: 24px;
  display: flex;
  gap: 24px;
}
@media (max-width: 576px) {
  .contacts__socials {
    order: 3;
    position: relative;
    padding: 23px 0;
    margin-bottom: 22px;
    justify-content: center;
    gap: 35px;
  }
}

@media (max-width: 576px) {
  .contacts__socials::after {
    content: "";
    background-image: url(../img/svg/contatcs-divider.svg);
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    height: 8px;
    width: 100%;
    top: 0;
  }
}

@media (max-width: 576px) {
  .contacts__socials::before {
    content: "";
    background-image: url(../img/svg/contatcs-divider.svg);
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    height: 8px;
    width: 100%;
    bottom: 0;
  }
}

.contacts__map {
  max-width: 50%;
  width: 100%;
}
@media (max-width: 993px) {
  .contacts__map {
    max-width: 100%;
  }
}
.contacts__map iframe {
  width: 100%;
  border: 0;
  height: 100%;
}
@media (max-width: 993px) {
  .contacts__map iframe {
    height: 416px;
  }
}

/* ==========================================================================
   Ховер- и фокус-состояния интерактивных элементов
   ========================================================================== */
.btn {
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.black-btn:hover {
  opacity: 1;
  background: linear-gradient(180deg, #38332A 0%, #1A1A1A 100%);
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.28);
  transform: translateY(-2px);
}

.black-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(26, 26, 26, 0.24);
}

.brown-btn:hover {
  opacity: 1;
  background: linear-gradient(180deg, #FFD17C 0%, #C9A96E 100%);
  box-shadow: 0 10px 24px rgba(201, 169, 110, 0.38);
  transform: translateY(-2px);
}

.brown-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(201, 169, 110, 0.3);
}

/* фильтры-теги услуг и результатов */
.services__tag {
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.services__tag:hover {
  opacity: 1;
  border-color: #C9A96E;
  background-color: rgba(201, 169, 110, 0.18);
}

.services__tag_active:hover {
  background-color: #C9A96E;
  border-color: #C9A96E;
}

/* стрелки слайдеров */
.results__swiper-btn,
.stories__swiper-btn,
.operations__swiper-btn,
.reviews__swiper-btn-2,
.reviews__btn {
  transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

/* ховер стрелок — смена цвета: круг темнеет, сама стрелка становится светлой.
   Селекторы по атрибуту fill, потому что у разных секций круг то золотой, то белый */
.results__swiper-btn svg path,
.stories__swiper-btn svg path,
.operations__swiper-btn svg path,
.reviews__swiper-btn-2 svg path {
  transition: fill 0.25s ease;
}

.results__swiper-btn:hover svg path[fill="#C9A96E"],
.results__swiper-btn:hover svg path[fill="#fff"],
.stories__swiper-btn:hover svg path[fill="#C9A96E"],
.stories__swiper-btn:hover svg path[fill="#fff"],
.operations__swiper-btn:hover svg path[fill="#C9A96E"],
.operations__swiper-btn:hover svg path[fill="#fff"],
.reviews__swiper-btn-2:hover svg path[fill="#C9A96E"],
.reviews__swiper-btn-2:hover svg path[fill="#fff"] {
  fill: #1A1A1A;
}

.results__swiper-btn:hover svg path[fill="#1A1A1A"],
.stories__swiper-btn:hover svg path[fill="#1A1A1A"],
.operations__swiper-btn:hover svg path[fill="#1A1A1A"],
.reviews__swiper-btn-2:hover svg path[fill="#1A1A1A"] {
  fill: #F5F0E8;
}

.results__swiper-btn:hover,
.stories__swiper-btn:hover,
.operations__swiper-btn:hover,
.reviews__swiper-btn-2:hover {
  opacity: 1;
}

.results__swiper-btn:active svg path[fill="#C9A96E"],
.results__swiper-btn:active svg path[fill="#fff"],
.stories__swiper-btn:active svg path[fill="#C9A96E"],
.stories__swiper-btn:active svg path[fill="#fff"],
.operations__swiper-btn:active svg path[fill="#C9A96E"],
.operations__swiper-btn:active svg path[fill="#fff"],
.reviews__swiper-btn-2:active svg path[fill="#C9A96E"],
.reviews__swiper-btn-2:active svg path[fill="#fff"] {
  fill: #38332A;
}

/* стрелки внутри карточек отзывов — только смена цвета, без сдвига */
.reviews__btn svg path {
  transition: fill 0.25s ease;
}

.reviews__btn:hover {
  opacity: 1;
}

.reviews__btn:hover svg path {
  fill: #C9A96E;
}

.reviews__btn:active svg path {
  fill: #38332A;
}

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

/* кнопки воспроизведения видео */
.services__play,
.reabilitation__play {
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.services__play:hover,
.reabilitation__play:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.07);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.services__play:active,
.reabilitation__play:active {
  transform: translate(-50%, -50%) scale(0.97);
}

/* контакты и соцсети — только у кликабельных строк (телефон, e-mail),
   адрес и время работы это обычный текст, ховера у них быть не должно */
a.contacts__link:hover,
.header__contact a:hover {
  opacity: 1;
  color: #C9A96E;
  text-decoration: underline;
}

.contacts__social,
.header__social {
  display: inline-flex;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.contacts__social:hover,
.header__social:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 6px 14px rgba(26, 26, 26, 0.3));
}

/* карточки-сертификаты */
.docotor__img-2 {
  transition: transform 0.35s ease;
}

.docotor__swiper .swiper-slide:hover .docotor__img-2 {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto 0;
}

details, main {
  display: block;
}

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

code, kbd, pre, samp {
  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: bolder;
}

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

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

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

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

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

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

summary {
  display: list-item;
}

[hidden], template {
  display: none;
}
@charset "UTF-8";
.footer {
  padding: 60px 0;
  background-color: #E8D5C0;
}
@media (max-width: 993px) {
  .footer {
    padding: 0 0 32px;
    background-color: rgb(247, 247, 247);
  }
}

.footer__flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
}
@media (max-width: 993px) {
  .footer__flex {
    display: none;
  }
}

.footer__logo {
  flex-shrink: 0;
}

.footer__list {
  display: flex;
  align-items: center;
  gap: 36px;
}
@media (max-width: 1293px) {
  .footer__list {
    gap: 20px;
  }
}

.footer__item {
  color: #1A1A1A;
  /* Body 3 */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  /* 20px */
}

.footer__text {
  color: #464C58;
  /* Body 3 */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  margin-bottom: 16px;
  /* 20px */
}
@media (max-width: 993px) {
  .footer__text {
    color: #464C58;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
  }
}
@media (max-width: 576px) {
  .footer__text span {
    font-weight: 600;
    display: block;
  }
}

.footer__flex-2 {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 993px) {
  .footer__flex-2 {
    flex-direction: column-reverse;
    gap: 36px;
    margin-top: 36px;
  }
}
@media (max-width: 993px) {
  .footer__flex-2 a {
    text-decoration: underline;
  }
}

.footer__text-2 {
  color: #1A1A1A;
  /* Body 3 */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  /* 20px */
}
@media (max-width: 993px) {
  .footer__text-2 {
    color: #1A1A1A;
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    /* 15px */
  }
}

.footer__divider {
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  margin-bottom: 32px;
}
@media (max-width: 993px) {
  .footer__divider {
    display: none;
  }
}

.modal {
  border: 0;
  padding: 0;
  height: 100vh;
  max-width: 100%;
  width: 100%;
  background-color: transparent;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .modal {
    bottom: 0;
    height: unset;
    position: fixed;
    max-height: 100vh;
  }
}
@media (max-width: 576px) {
  .modal {
    min-height: 100vh;
  }
}

.modal[open] {
  display: flex;
}
@media (max-width: 768px) {
  .modal[open] {
    display: block;
  }
}

.modal::backdrop {
  background: rgba(26, 26, 26, 0.87);
}

.modal__body {
  border-radius: 25px;
  display: flex;
  align-items: stretch;
  margin: 0 auto;
  max-width: 788px;
}
@media (max-width: 768px) {
  .modal__body {
    flex-direction: column;
    height: auto;
    justify-content: space-between;
  }
}
@media (max-width: 576px) {
  .modal__body {
    height: 100%;
  }
}

.modal__img {
  border-radius: 25px 0 0 25px;
  -o-object-fit: cover;
  object-fit: cover;
  height: auto;
}
@media (max-width: 768px) {
  .modal__img {
    border-radius: 0;
    max-height: 56vh;
    -o-object-position: top;
    object-position: top;
  }
}
@media (max-width: 430px) {
  .modal__img {
    max-height: unset;
    height: 100%;
  }
}

.modal__texts {
  padding: 60px 36px;
  border-radius: 0 25px 25px 0;
  background: #F5F0E8;
}
@media (max-width: 768px) {
  .modal__texts {
    border-radius: 0;
    padding: 32px 16px;
  }
}
.modal__texts h2 {
  color: #1A1A1A;
  /* Head 1 (bold) */
  font-family: "STIX Two Text";
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 115%;
  /* 32.2px */
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .modal__texts h2 {
    margin-bottom: 20px;
  }
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.modal__input-wrapper {
  position: relative;
  padding: 6px 16px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid #E8D5C0;
  background: #F0E8DF;
  /* 14.4px */
}
.modal__input-wrapper span {
  color: #1A1A1A;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  position: absolute;
  top: 6px;
  left: 16px;
}
.modal__input-wrapper input {
  background: #F0E8DF;
  border: 0;
  position: absolute;
  bottom: 3px;
  text-decoration: unset;
}
.modal__input-wrapper input::-moz-placeholder {
  color: #464C58;
  /* Body 3 */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  /* 20px */
}
.modal__input-wrapper input::placeholder {
  color: #464C58;
  /* Body 3 */
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  /* 20px */
}

.modal__input-wrapper.error {
  border: 1px solid #EC2D2D;
}

.modal__form-error {
  display: none;
  margin-top: -8px;
  color: #EC2D2D;
  /* Note (bold) */
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  /* 14.4px */
  cursor: default;
}

.modal__form-error.visible {
  display: block;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.checkbox__text {
  color: #464C58;
  font-family: Inter;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  /* 12px */
}
.checkbox__text a {
  text-decoration: underline;
  cursor: pointer;
}

.custom-checkbox {
  position: relative;
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  border: 1px solid #1A1A1A;
  background-color: transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.custom-checkbox__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.actual-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 1px;
  color: #F5F0E8;
  background-color: transparent;
  pointer-events: none;
  transition: background-color 0.25s ease;
}
.actual-checkbox svg {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-checkbox__input:checked ~ .actual-checkbox {
  background-color: #1A1A1A;
}
.custom-checkbox__input:checked ~ .actual-checkbox svg {
  opacity: 1;
  transform: scale(1);
}

.checkbox:hover .custom-checkbox {
  border-color: #C9A96E;
}

.custom-checkbox:has(.custom-checkbox__input:focus-visible) {
  border-color: #C9A96E;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.4);
}

.custom-checkbox.error {
  border: 1px solid #EC2D2D;
}

.modal__btn {
  max-width: -moz-max-content;
  max-width: max-content;
}
@media (max-width: 768px) {
  .modal__btn {
    max-width: 100%;
    justify-content: center;
  }
}

.modal__form-block.hidden {
  display: none;
}

.modal__success {
  display: none;
  flex-direction: column;
  gap: 24px;
}
.modal__success h2 {
  margin-bottom: 0;
}

.modal__success.visible {
  display: flex;
}

.modal__success-texts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal__success-text {
  color: #1A1A1A;
  /* Body 4 */
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  /* 16.8px */
}

.modal__success-btn {
  max-width: -moz-max-content;
  max-width: max-content;
}
@media (max-width: 768px) {
  .modal__success-btn {
    max-width: 100%;
    justify-content: center;
  }
}

.modal__close {
  position: absolute;
  top: 32px;
  right: 32px;
}
@media (max-width: 768px) {
  .modal__close {
    top: 20px;
    right: 16px;
  }
}

.video-modal {
  border: 0;
  padding: 0;
  height: 100vh;
  max-width: 100%;
  width: 100%;
  background-color: transparent;
  align-items: center;
  justify-content: center;
}

.video-modal[open] {
  display: flex;
}

.video-modal::backdrop {
  background: rgba(26, 26, 26, 0.87);
}

.video-modal__body {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .video-modal__body {
    padding: 0 15px;
  }
}

.video-modal__video {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 25px;
  background-color: #1A1A1A;
}
@media (max-width: 768px) {
  .video-modal__video {
    max-height: 80vh;
    border-radius: 12px;
  }
}

.video-modal__close {
  position: absolute;
  top: 32px;
  right: 32px;
}
@media (max-width: 768px) {
  .video-modal__close {
    top: 20px;
    right: 16px;
  }
}

/* ==========================================================================
   Ховер- и фокус-состояния: меню, подвал, модалки
   ========================================================================== */
.menu__link {
  position: relative;
  transition: color 0.25s ease;
}

.menu__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: #C9A96E;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.menu__link:hover {
  opacity: 1;
  color: #C9A96E;
}

.menu__link:hover::after {
  transform: scaleX(1);
}

.footer__item a,
a.footer__text-2 {
  transition: color 0.25s ease, opacity 0.25s ease;
}

/* ховер только у ссылки «Политика конфиденциальности»;
   строка с копирайтом — обычный текст */
.footer__item a:hover,
a.footer__text-2:hover {
  opacity: 1;
  color: #C9A96E;
  text-decoration: underline;
}

.footer__logo,
.header__logo {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer__logo:hover,
.header__logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.checkbox__text a:hover {
  opacity: 1;
  color: #C9A96E;
}

.modal__close,
.video-modal__close,
.header__close {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.modal__close:hover,
.video-modal__close:hover,
.header__close:hover {
  opacity: 1;
  transform: rotate(90deg) scale(1.05);
}

.header__burger-btn:hover span {
  background-color: #C9A96E;
}

.modal__input-wrapper {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.modal__input-wrapper:hover {
  border-color: #C9A96E;
}

.modal__input-wrapper:focus-within {
  border-color: #C9A96E;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.25);
}

.modal__input-wrapper input:focus-visible {
  outline: none;
}
.header {
  padding: 16px 0;
  background-color: #fff;
}

.header__flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.header__logo {
  flex-shrink: 0;
}

.menu {
  flex-basis: 879px;
}

.btn {
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px 14px 32px;
  border-radius: 65px;
  /* 20px */
}

.brown-btn {
  color: #1A1A1A;
  background: linear-gradient(180deg, #C9A96E 18.47%, #FFD17C 100%);
}
.brown-btn svg path {
  fill: #1A1A1A;
}

.black-btn {
  color: rgb(245, 240, 232);
  background: linear-gradient(180deg, #1A1A1A 18.47%, #38332A 100%);
}

.menu__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.menu__link {
  color: #1A1A1A;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  white-space: nowrap;
}

.header__burger-btn {
  display: none;
  position: relative;
  width: 24px;
  height: 24px;
  border: none;
  background-color: transparent;
  z-index: 2;
}

.header__burger-btn span {
  position: absolute;
  width: 18px;
  height: 1px;
  background-color: #1A1A1A;
  transition: transform 0.5s, opacity 0.5s, background-color 0.5s;
  border-radius: 50%;
}

.header__socials {
  display: none;
}

.header__burger-btn span:nth-child(1) {
  transform: translateY(-5px);
}

.header__burger-btn span:nth-child(3) {
  transform: translateY(5px);
}

.header.open .header__burger-btn span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.header.open .header__burger-btn span:nth-child(2) {
  opacity: 0;
}

.header.open .header__burger-btn span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.header__divider {
  display: none;
}

.header__contact {
  display: none;
}

.header__burger-block {
  display: none;
}

@media (max-width: 1293px) {
  .header__divider {
    display: block;
    margin: 20px 0 20px auto;
  }
  .header__burger-block {
    display: flex;
    gap: 12px;
    position: absolute;
    top: 21px;
    right: 16px;
  }
  .header__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }
  .header__contact span {
    color: #464C58;
    text-align: right;
    /* Body 4 */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    /* 16.8px */
  }
  .header__contact a {
    color: #1A1A1A;
    text-align: right;
    font-family: "STIX Two Text";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    /* 24px */
  }
  .header__block {
    padding: 2px 10px 2px 2px;
    background: #F2F2F3;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .header__logo {
    position: relative;
    z-index: 3;
  }
  .header__socials {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .header__burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .header__flex {
    justify-content: unset;
    gap: 27px;
  }
  .menu {
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgb(245, 240, 232);
    padding: 120px 20px 20px 20px;
    transition: transform 0.5s;
    z-index: 2;
  }
  .menu__list {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 26px;
  }
  .header.open .menu {
    transform: translateX(100%);
  }
}
@media (max-width: 576px) {
  .header {
    padding: 23px 0 10px;
  }
  .header__logo {
    width: 36px;
    height: 36px;
  }
  .header__logo svg {
    width: 36px;
    height: 36px;
  }
  .header__btn {
    padding: 12px;
  }
  .header__btn svg {
    display: none;
  }
}