/* --------------------------------------------------------------------------------------- */
/* ---------------------------------------- FONTS  --------------------------------------- */
/* --------------------------------------------------------------------------------------- */
@font-face {
  font-family: "Spectral SC";
  src:
    url("../fonts/SpectralSC-SemiBold.woff2") format("woff2"),
    url("../fonts/SpectralSC-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Spectral SC";
  src:
    url("../fonts/SpectralSC-ExtraBold.woff2") format("woff2"),
    url("../fonts/SpectralSC-ExtraBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src:
    url("../fonts/hinted-IBMPlexSans-SemiBold.woff2") format("woff2"),
    url("../fonts/hinted-IBMPlexSans-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src:
    url("../fonts/IBMPlexSans-Medium.woff") format("woff"),
    url("../fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src:
    url("../fonts/hinted-IBMPlexSans-Light.woff") format("woff"),
    url("../fonts/hinted-IBMPlexSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src:
    url("../fonts/hinted-IBMPlexSans-Thin.woff2") format("woff2"),
    url("../fonts/hinted-IBMPlexSans-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src:
    url("../fonts/Montserrat-Regular.woff2") format("woff2"),
    url("../fonts/Montserrat-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src:
    url("../fonts/Montserrat-Medium.woff2") format("woff2"),
    url("../fonts/Montserrat-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src:
    url("../fonts/Montserrat-SemiBold.woff2") format("woff2"),
    url("../fonts/Montserrat-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------------------- */
/* -------------------------------- end FONTS -------------------------------------------- */
/* --------------------------------------------------------------------------------------- */
/* -------------------------------- COMMON STYLES  --------------------------------------- */
/* --------------------------------------------------------------------------------------- */
/* RESET */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: none;
  outline-offset: 3px;
  border-radius: 2px;
}

a {
  text-decoration: none;
}

button {
  display: inline-block;
  background: none;
  border: none;
  list-style: none outside none;
  margin: 0;
  padding: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

body button {
  background-color: transparent;
}

button,
a,
label {
  user-select: none;
}

button:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
  border-radius: 2px;
}

ul,
ol,
li {
  list-style: none;
  padding: 0;
}

img {
  display: flex;
  width: 100%;
  height: auto;
  vertical-align: top;
  object-fit: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

/* end RESET */
/* MAIN */
:root {
  --h1: normal 700 38px/130% "Spectral SC";
  --h2: normal 600 32px/130% "Spectral SC";
  --h3: normal 600 22px/130% Montserrat, sans-serif;
  --main-text: normal 400 18px/150% Montserrat, sans-serif;
  --text-16: normal 400 16px/150% Montserrat, sans-serif;
  --text-18: normal 400 18px/150% Montserrat, sans-serif;
  --subtitle: normal 400 18px/150% Montserrat, sans-serif;
  --text-color: #322922;
  --page-bg: #fff;
  --focus-color: #391600;
}

section {
  position: relative;
}

section:not(:first-of-type) {
  padding-top: 70px;
}

section.u-first {
  padding-top: 180px;
}

.wrapper {
  position: relative;
  max-width: 1360px;
  width: calc(100% - 32px);
  margin: 0 auto;
}

html,
body {
  min-width: 360px;
  height: auto;
  color: var(--text-color);
  font: var(--text-18);
  background-color: var(--page-bg);
  margin: 0;
}

body.prevent-scroll {
  overflow: hidden;
}

a,
button,
a:hover,
a img,
button:hover,
a:hover img,
button:hover img,
button img {
  cursor: pointer;
  transition: all 0.3s ease;
}

a:hover svg path {
  fill: #ff9600;
}

ol {
  counter-reset: custom-counter;
}

ol li {
  position: relative;
  counter-increment: custom-counter;
  list-style: none;
  padding: 0;
}

ol li::before {
  content: "0" counter(custom-counter);
  position: relative;
}

section.post-section {
  padding-top: 30px;
}

@media screen and (min-width: 700px) {
  section:not(:first-of-type) {
    padding-top: 90px;
  }

  :root {
    --h1: normal 700 48px/130% "Spectral SC";
    --h2: normal 600 32px/130% "Spectral SC";
    --h3: normal 600 26px/130% Montserrat, sans-serif;
    --main-text: normal 400 18px/150% Montserrat, sans-serif;
    --text-16: normal 400 16px/150% Montserrat, sans-serif;
  }

  .wrapper {
    width: calc(100% - 52px);
  }

  section.u-first {
    padding-top: 220px;
  }

  section.post-section {
    padding-top: 40px;
  }
}

@media screen and (min-width: 1200px) {
  :root {
    --h1: normal 700 64px/130% "Spectral SC";
    --h2: normal 600 38px/130% "Spectral SC";
    --h3: normal 600 32px/130% Montserrat, sans-serif;
    --main-text: normal 400 20px/150% Montserrat, sans-serif;
    --text-16: normal 400 16px/150% Montserrat, sans-serif;
    --subtitle: normal 400 20px/150% Montserrat, sans-serif;
  }

  section.u-first {
    padding-top: 220px;
  }

  body.prevent-scroll {
    width: 100%;
    position: fixed;
    overflow-y: scroll;
  }

  section:not(:first-of-type) {
    padding-top: 110px;
  }

  .wrapper {
    width: calc(100% - 80px);
  }

  section.post-section {
    padding-top: 40px;
  }
}

@media screen and (max-width: 374px) {
  :root {
    --h1: normal 700 40px/120% "Spectral SC";
    --h2: normal 500 30px/110% "Montserrat", sans-serif;
  }
}

.u-h1 {
  text-transform: uppercase;
  font: var(--h1);
  color: #232323;
}

.u-h2 {
  font: var(--h2);
  color: #180e07;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.u-bg {
  color: #fff;
}

.u-h3 {
  font: var(--h3);
  color: #fff;
}

.u-subtitle {
  font: var(--subtitle);
  color: #322922;
  margin-top: 24px;
}

.u-text-16 {
  font: var(--text-16);
  color: #322922;
}

.u-hide {
  display: none;
}

.u-hide-slow {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.u-disabled {
  pointer-events: none;
}

.u-btn,
.cky-notice-btn-wrapper button.cky-btn {
  position: relative;
  display: block;
  width: fit-content;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  font: var(--text-16);
  border-radius: 100px;
  padding: 13px 20px 14px;
}

.u-btn:hover {
  opacity: 0.7;
}

div.cky-notice-des P:last-child,
div.cky-notice-des P:last-child a.cky-policy {
  font-size: 16px;
  color: #322922 !important;
}

div.cky-notice-des P:last-child a.cky-policy {
  text-decoration: none;
  border-bottom: 1px solid #322922 !important;
}

div.cky-notice-des P:last-child a.cky-policy:hover {
  border-bottom: 1px solid transparent !important;
}

.u-white-btn,
.cky-notice-btn-wrapper button.cky-btn {
  background-color: #fff;
  color: #242424;
}

.u-color-btn,
.cky-notice-btn-wrapper button.cky-btn.cky-btn-accept {
  background: #ff9600;
  color: #fff;
}

.u-flex-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 50px;
}

.u-card {
  border-radius: 16px;
  background-color: #fff;
  padding: 10px;
}

.u-card-icon {
  position: relative;
}

.u-card-icon::before {
  content: "";
  position: absolute;
  top: 0;
  width: 70px;
  height: 70px;
  border-radius: 100%;
}

.u-flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.u-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: flex-start;
  border-radius: 16px;
  overflow: hidden;
  background: #fffcfa;
  padding: 30px;
}

.u-card-block__list {
  gap: 20px;
}

.u-card-block__item {
  border-radius: 16px;
  overflow: hidden;
  padding: 30px;
}

ul li.u-card-block__item {
  min-height: 435px;
  background-color: #e1eef3;
  padding: 40px 26px;
}

ul .u-card-block__item-title {
  margin-top: 23px;
}

.u-card-block__item-icon {
  width: 90px;
  height: 90px;
}

.u-card-block__item::before {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  color: #475563;
  font:
    normal 500 36px/1 Montserrat,
    sans-serif;
  background: #e0edf7;
  border-radius: 100%;
}

.u-card-block__item-title {
  display: block;
  color: #1c110a;
  font:
    normal 500 20px/150% Montserrat,
    sans-serif;
  margin-top: 30px;
}

.u-card-block__item-text {
  display: block;
  color: #000;
  font:
    normal 400 16px/150% Montserrat,
    sans-serif;
  margin-top: 14px;
}

.u-radius {
  border-radius: 16px;
  overflow: hidden;
}

/* slider */
/* ======================
   ОБОЛОЧКА СЛАЙДЕРА
====================== */

.slider.wrapper {
  position: relative;
  overflow: visible;
}

.reviews-slider {
  height: fit-content;
  overflow: visible;
  padding-bottom: 20px;
}

/* PAGINATE STYLE */
.navigation {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 79px auto 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30.5px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.navigation a,
.navigation span {
  letter-spacing: 0em;
  font:
    normal 500 16px/24px Montserrat,
    sans-serif;
  color: #121212;
}

.navigation a,
.navigation .dots {
  color: #c1c1c1;
}

.navigation .next {
  -webkit-transform: rotate(180deg) translate(1px, 1px);
  -ms-transform: rotate(180deg) translate(1px, 1px);
  transform: rotate(180deg) translate(1px, 1px);
}

.navigation .prev {
  -webkit-transform: translate(1px, -1px);
  -ms-transform: translate(1px, -1px);
  transform: translate(1px, -1px);
}

.navigation a path {
  stroke: #121212;
}

@media screen and (min-width: 740px) {
  .navigation {
    margin: 99px auto 0;
  }
}

@media screen and (min-width: 1100px) {
  .navigation {
    margin: 120px auto 0;
  }
}

/* end PAGINATE STYLE */
/* ======================
   SWIPER-СТРУКТУРА
====================== */

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  height: auto;
  /* чтобы карточки занимали высоту контента */
  box-sizing: border-box;
}

.slider__nav {
  display: block;
  position: absolute;
  bottom: -27px;
  right: 0;
  left: unset;
  width: fit-content;
  display: flex;
  justify-content: space-between;
  transform: translateY(0);
  pointer-events: none;
  z-index: 5;
  gap: 20px;
}

.slider__nav button {
  display: flex;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  background: transparent;
  box-shadow: unset;
  pointer-events: all;
  cursor: pointer;
  border: 1px solid #c1a991;
  align-items: center;
  justify-content: center;
}

.slider__nav button:not(.swiper-button-disabled):hover {
  border-color: #b29475;
}

.slider__nav {
  display: none;
}

.slider__nav-prev::before,
.slider__nav-next::before {
  content: "";
  display: block;
  width: 11px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='20' viewBox='0 0 11 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L10 10L1 19' stroke='%23C1A991' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transform: rotate(0);
}

.slider__nav button:not(.swiper-button-disabled):hover::before {
  filter: brightness(0) saturate(100%) invert(63%) sepia(31%) saturate(363%) hue-rotate(350deg) brightness(91%) contrast(87%);
}

button.swiper-button-disabled {
  border: 1px solid #c6c6c6;
}

button.swiper-button-disabled::before {
  filter: brightness(0) saturate(100%) invert(76%) sepia(77%) saturate(1%) hue-rotate(57deg) brightness(90%) contrast(94%);
}

.slider__nav-prev::before {
  transform: rotate(-180deg);
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 0 0 14px;
}

.swiper-pagination-bullets .swiper-pagination-bullet:first-child {
  margin-left: 0 !important;
}

/* ======================
  ПАГИНАЦИЯ
====================== */

.slider__pagination {
  text-align: center;
  margin-top: 20px;
}

.slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #c6c6c6;
  opacity: 1;
}

.slider .swiper-pagination-bullet-active {
  background: #391600;
}

/* end slider */
/* top-bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f0e3e3;
  padding: 12px 0 10px;
  z-index: 100;
}

.top-bar .wrapper {
  display: flex;
  justify-content: flex-end;
}

.u-icon-link {
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
}

.u-icon-link:not(:first-of-type) {
  margin-left: 9px;
}

.top-bar__calendar,
.top-bar__tel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.top-bar__tel:hover span {
  color: #ff9600;
}

.top-bar__calendar span {
  display: none;
  color: #402a13;
  font:
    normal 500 14px/130% Montserrat,
    sans-serif;
  border-bottom: 1px solid #402a13;
}

.top-bar__calendar:hover span {
  border-bottom: 1px solid transparent;
}

.top-bar__right {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-right: -4px;
}

.u-icon-link.top-bar__w-u {
  margin-left: 21px;
}

a.u-icon-link.top-bar__i-g {
  margin-left: 18px;
}

.top-bar .u-flex-container {
  margin-top: 0;
}

.top-bar__tel span {
  display: none;
  color: rgba(64, 42, 19, 0.8);
  font:
    normal 600 18px/100% Montserrat,
    sans-serif;
}

.header {
  background-color: #fff;
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  padding: 25px 0 27px;
  z-index: 100;
}

.header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.header .wrapper>div {
  display: flex;
  align-items: center;
}

.header ul {
  display: none;
  align-items: center;
  justify-content: start;
}

.header li a {
  color: #000;
  text-transform: uppercase;
  font:
    normal 400 16px/130% Montserrat,
    sans-serif;
}

.header li.current-menu-item a {
  color: #ff9600;
}

.header li a:hover {
  color: #665542;
}

.header li a.active {
  color: #ff9600;
}

.header li:not(:first-child) a {
  margin-left: 20px;
}

.header__logo-link img {
  display: block;
  width: 3.75rem;
  height: 3.75rem;
}
.custom-logo-link{
  width: 82px;
}
.header__menu-btn,
.form-popup__close-btn {
  justify-content: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 50px;
  height: 50px;
  margin: 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: absolute;
  right: -24px;
  top: 4px;
  gap: 6px;
  background-color: transparent;
  margin-right: 20px;
}

.header__menu-btn b,
.form-popup__close-btn b {
  display: block;
  height: 2px;
  width: 40px;
  background-color: #101b12;
  transition: 0.3s;
}

.header__btn {
  white-space: normal;
  display: none;
  position: relative;
  right: 0;
}

.footer {
  padding: 70px 0;
}

.footer__logo-link {
  white-space: normal;
  color: #242424;
  text-transform: uppercase;
  font:
    normal 600 24px/130% Montserrat,
    sans-serif;
}

.footer__logo-subtitle {
  color: #242424;
  font:
    normal 400 14px/120% Montserrat,
    sans-serif;
  margin-top: 9px;
}

.social-list {
  display: flex;
  gap: 5px;
  margin-top: 32px;
}

.social-item:nth-of-type(2) {
  margin-left: 5px;
}

/* .social-link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
} */
.social-link {
    width: 1.7em;
    height: 1.7em;

    display: flex;
    align-items: center;
    justify-content: center;
}
.social-link svg {
    width: 1.7em;
    height: 1.7em;
}
.social-link.y-t:hover path {
  fill: transparent;
  stroke: #ff9600;
}

.footer__container-title {
  color: #000;
  text-transform: uppercase;
  font:
    normal 500 16px/130% Montserrat,
    sans-serif;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 35px;
}

.footer__nav-link,
.footer__contacts-link {
  color: #000;
  text-transform: uppercase;
  font: normal 500 14px/130% Montserrat, sans-serif;
  word-wrap: break-word;
}

.footer__nav-link:hover,
.footer__contacts-link:hover,
.footer__contacts-link:hover span {
  color: #665542;
}

.footer__contacts {
  margin-top: 37px;
}

.footer__contacts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contacts-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 5px;
}

.footer__copy {
  border-top: 1px solid #989898;
  margin-top: 44px;
  padding-top: 41px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__contacts-link,
.footer__contacts-link span {
  color: #000;
  text-transform: uppercase;
  font:
    normal 500 14px/130% Montserrat,
    sans-serif;
}

.footer__copy {
  border-top: 1px solid #989898;
}

.footer__copy-link {
  width: fit-content;
  color: #696969;
  font:
    normal 500 10px/130% Montserrat,
    sans-serif;
  border-bottom: 1px solid #696969;
}

.footer__copy-link:hover {
  border-bottom: 1px solid transparent;
}

.footer__copy-text {
  width: 90%;
  color: #696969;
  font:
    normal 400 10px/130% Montserrat,
    sans-serif;
  margin-top: 22px;
}

/* --- Programs dropdown --- */
/* родительский пункт "Программы" */
#menu-item-88 {
  position: relative;
}

/* подменю */
#menu-item-88>.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;

  min-width: 240px;
  width: max-content;
  padding: 20px 30px 30px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  background: #fff;
  list-style: none;
  margin: 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;

  z-index: 100;
}

/* открытое состояние */
#menu-item-88.is-open>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.25);
}

/* пункты списка */
#menu-item-88>.sub-menu li+li {
  margin-top: 10px;
}

/* ссылки */
#menu-item-88>.sub-menu a {
  display: block;
  color: #000;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
  text-decoration: none;
  text-transform: none;
  padding: 6px 0;
  margin: 0;
}

/* hover */
#menu-item-88>.sub-menu a:hover {
  opacity: 0.7;
}

/* стрелка */
#menu-item-88>a {
  position: relative;
  padding-right: 18px;
}

#menu-item-88>a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;

  width: 8px;
  height: 8px;

  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;

  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.25s ease;
}

#menu-item-88.is-open>a::after {
  transform: translateY(-50%) rotate(-135deg);
}

/* Попап меню */
.menu-popup,
.form-popup {
  position: fixed;
  top: 160px;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
  overflow-y: scroll;
  background-color: #fff;
}

.menu-popup.active,
.form-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-popup__overlay,
.form-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-popup.active .menu-popup__overlay,
.form-popup.active .form-popup__overlay {
  opacity: 1;
}

.menu-popup__content,
.form-popup__content {
  position: absolute;
  top: 20px;
  /* чуть ниже хедера */
  left: 0;
  transform: translate(0, -10px);
  /* небольшой сдвиг для плавности */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
  padding-bottom: 250px;
}

.menu-popup.active .menu-popup__content,
.form-popup.active .form-popup__content {
  transform: translate(0, 0);
  /* плавно встает на место */
  opacity: 1;
}

.form-popup .form-block {
  background: none;
  padding-top: 70px;
}

.menu-popup__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-popup__list li {
  margin: 15px 0;
}

.menu-popup__list a {
  font-size: 24px;
  font-weight: 500;
  padding: 12px 0;
  display: block;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
  text-align: start;
}

.menu-popup__list .sub-menu a {
  font-size: 20px;
  font-weight: 400;
}

.menu-popup__list .sub-menu li {
  margin: 5px 0;
}

.menu-popup__list a:hover {
  opacity: 0.6;
}

/* Кнопка-бургер / крестик */
.header__menu-btn.active b:nth-child(1),
.form-popup__close-btn b:nth-child(1) {
  transform: rotate(45deg) translate(6px, 5px);
}

.header__menu-btn.active b:nth-child(2),
.form-popup__close-btn b:nth-child(2) {
  opacity: 0;
}

.header__menu-btn.active b:nth-child(3),
.form-popup__close-btn b:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -5px);
}

.form-popup__close-btn {
  display: none;
}

.header__btn-popup {
  position: relative;
  display: block;
  width: fit-content;
  margin: 20px 0 0;
  box-sizing: border-box;
  min-width: 300px;
  white-space: normal;
}

@media screen and (min-width: 700px) {
  .menu-popup.active .menu-popup__content {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  .menu-popup .header__btn-popup {
    display: none;
  }

  .menu-popup__content {
    align-items: center;
    left: 50%;
    transform: translate(-50%, -10px);
  }

  .menu-popup__list a {
    text-align: center;
  }

  .u-flex-container {
    gap: 20px;
    margin-top: 60px;
  }

  .u-card {
    flex-direction: row;
    gap: 40px;
  }

  .u-card-block__item::before,
  .u-card-block__item svg {
    position: absolute;
  }

  ul.u-flex-container {
    margin-top: 50px;
  }

  ul li.u-card-block__item {
    min-height: 214px;
    background-color: #e1eef3;
    padding: 40px 29px 34px;
  }

  ul .u-card-block__item-title {
    margin-top: 0;
  }

  .u-card-block__item-title,
  .u-card-block__item-text {
    padding-left: 120px;
  }

  .u-card-block__item-title {
    color: #1c110a;

    font:
      normal 500 20px/150% Montserrat,
      sans-serif;
    margin-top: 0;
  }

  .top-bar__calendar span,
  .top-bar__tel span {
    display: block;
  }

  .top-bar__tel {
    width: fit-content;
    margin-right: 50px;
  }

  .menu-popup {
    top: 170px;
  }

  .header__btn {
    display: block;
  }

  .header__menu-btn {
    position: relative;
  }

  .top-bar__calendar,
  .top-bar__tel {
    gap: 10px;
  }

  .top-bar__tel svg {
    display: none;
  }

  .top-bar__right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-right: 8px;
  }

  .top-bar__tel {
    margin-right: 43px;
  }

  .top-bar {
    padding: 12px 0 12px;
  }

  .header__logo-link img {
    display: block;
    width: 4.75rem;
    height: 4.75rem;
  }

  .header {
    padding: 25px 0 27px;
  }

  .header__menu-btn {
    right: -24px;
    top: -2px;
  }

  .header__btn {
    display: block;
    width: fit-content;
    min-width: 247px;
    padding: 13px 20px 12px;
  }

  .footer__logo-link {
    font-size: 30px;
  }

  .footer {
    padding: 100px 0;
  }

  .footer__logo-subtitle {
    margin-top: 2px;
  }

  .footer__nav-link,
  .footer__contacts-link {
    color: #000;
    text-transform: uppercase;
    font:
      normal 500 16px/130% Montserrat,
      sans-serif;
  }

  .footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 37px;
  }

  .footer__nav,
  .footer__contacts {
    width: calc(50% - 16px);
    max-width: 320px;
    padding-right: 30px;
  }

  .footer__contacts {
    margin-top: 40px;
  }

  .footer__contacts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
  }

  .footer__contacts-link,
  .footer__contacts-link span {
    color: #000;
    text-transform: uppercase;
    font:
      normal 500 16px/130% Montserrat,
      sans-serif;
  }

  .footer__body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer__body-container {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    width: 100%;
    max-width: 720px;
  }

  .footer__header {
    width: 100%;
  }

  .footer__copy {
    margin-top: 36px;
    padding-top: 41px;
  }
}

@media screen and (min-width: 1200px) {
  .form-popup__close-btn {
    display: flex;
    top: 15px;
    right: 15px;
    margin: 0;
  }

  .form-popup.active {
    background: #00000040;
  }

  .form-popup__container {
    max-width: 768px;
    width: 100%;
    height: fit-content;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
  }

  .form-popup .form-block {
    background: none;
    margin: 0 auto;
    width: 430px;
  }

  .form-popup__overlay {
    background: #fff;
    max-width: 768px;
    margin: 0 auto;
    left: 0;
    right: 0%;
    position: absolute;
    height: 500px;
    border-radius: 20px;
  }

  .form-popup {
    top: 180px;
    padding-top: 20px;
    background: unset;
  }

  .form-popup.active .form-popup__overlay {
    top: 20px;
  }

  .form-popup .form__description {
    padding: 0;
  }

  .u-flex-container {
    gap: 30px;
  }

  .u-card {
    width: calc(100% / 3 - 15px);
    flex-direction: column;
    gap: 80px;
  }

  .u-card-block__item::before {
    width: 90px;
    height: 90px;
    font:
      normal 500 42px/1 Montserrat,
      sans-serif;
  }

  .u-card-block__item::before,
  .u-card-block__item svg {
    position: relative;
  }

  .u-card-block__item-title,
  .u-card-block__item-text {
    padding-left: 0;
  }

  .u-card-block__item-title {
    margin-top: 80px;
  }

  .u-flex-container {
    flex-direction: row;
  }

  .u-flex-container__card {
    width: calc(100% / 3 - 20px);
  }

  .u-radius {
    border-radius: 20px;
  }

  .slider__nav {
    display: flex;
  }

  .top-bar__right {
    margin-right: 0;
  }

  .header li:not(:first-child) a {
    margin-left: 16px;
  }

  .header ul {
    display: flex;
    flex-wrap: wrap;
    margin-left: 40px;
  }

  .header__menu-btn {
    display: none;
  }

  .footer {
    padding: 89px 0;
  }

  .footer__header {
    width: fit-content;
    min-width: 380px;
  }

  .footer__nav-list,
  .footer__contacts {
    margin-top: 0;
  }

  .footer__body {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 50px;
  }

  .footer__nav {
    margin-left: 0;
  }

  .footer__body-container {
    display: flex;
    gap: 10%;
    justify-content: flex-start;
    width: 100%;
    max-width: 770px;
  }

  .footer__nav,
  .footer__contacts {
    padding: 0;
  }

  .footer__copy {
    margin-top: 50px;
    padding-top: 40px;
  }
}

/* end MAIN */

/* --------------- PAGES --------------- */
/* main page */
.main-block {
  overflow: hidden;
  position: relative;
  margin-top: 180px;
}
.main-block {
    position: relative;
    margin-top: 180px;
    min-height: 700px;

    display: grid;
}

.img-container,
.main-block__body {
    grid-area: 1 / 1;
}
.img-container {
  position: relative;
}
.main-block img {
  /* aspect-ratio: 375/400; */
  height: 100%;
  object-fit: cover;
  object-position: right;
}
img.img-photo {
  display: block;
  position: absolute;
  right: -65px;
  top: unset;
  left: unset;
  bottom: 0;
  aspect-ratio: 279/300;
  object-fit: contain;
  height: auto;
  object-position: bottom;
  max-height: 600px;
}

.main-block__body {
  /* position: absolute; */
  top: 50px;
  left: 16px;
}



.main-block__text {
  width: 55%;
  color: #232323;
  font:
    normal 500 16px/140% Montserrat,
    sans-serif;
  margin-top: 20px;
}

.innovative-approach {
  background-color: #e4dacf;
  padding-bottom: 70px;
}

.innovative-approach ol li {
  overflow: visible;
  background-color: #fffcfa;
}

.main-video__text {
  color: #000;
  font:
    normal 400 18px/140% Montserrat,
    sans-serif;
}

p.main-video__text:last-of-type {
  font-weight: 500;
  margin-top: 16px;
}

.main-video__link {
  display: block;
  margin-top: 40px;
}

.main-video__link img {
  object-fit: cover;
  aspect-ratio: 343/440;
}

/* end main page */
/* main-banner */
section.main-banner {
  align-items: center;
  display: flex;
  min-height: 380px;
  background: center center / cover url(/wp-content/uploads/2025/12/main-page-banner.jpg) no-repeat;
  padding: 30px 0;
  margin-top: 76px;
}

.main-banner__title {
  font: var(--h3);
  line-height: 150%;
  color: #fff;
}

.main-banner__text {
  font: var(--text-16);
  line-height: 130%;
  color: #fff;
  margin-top: 16px;
}

.main-banner__btns-container {
  margin-top: 30px;
}

.main-banner__btn {
      white-space: normal;
  width: 100%;
}

.main-banner .u-color-btn {
  margin-top: 20px;
}

/* end main-banner */
/* reviews */
section.reviews {
  padding-bottom: 70px;
}

.reviews {
  overflow-x: hidden;
}

.reviews-slider {
  margin-top: 50px;
}

.review-card__title {
  color: #000;
  font:
    normal 400 22px/100% Montserrat,
    sans-serif;
}

.review-card__date {
  color: #474747;
  font:
    normal 500 16px/100% Montserrat,
    sans-serif;
}

.review-card__text {
  margin-top: 11px;
}

.review-card__text p {
  color: #000;
  font:
    normal 400 16px/140% Montserrat,
    sans-serif;
}

.review-card {
  min-height: 170px;
  background: #dbeaf1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 24px;
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.review-text {
  /* line-height: 1.5; */
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.review-text {
  overflow: hidden;
  /* max-height: 4.5em; 3 строки */
  transition: max-height 0.3s ease;
}

.review-text {
  display: -webkit-box;
  /* -webkit-line-clamp: 3; */
  -webkit-box-orient: vertical;
}

.review-text.is-open {
  max-height: none;
}

.review-text {
  position: relative;
  overflow: hidden;
  /* max-height: 4.5em; */
  transition: max-height 0.3s ease;
}

.review-text {
  position: relative;
}

/* режим обрезки */
.review-text.is-collapsed {
  overflow: hidden;
  /* max-height: 4.5em; 3 строки */
}

/* градиент */
.review-text.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.2em;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(219, 234, 241, 0), #dbeaf1);
}

/* открыто — НИКАКИХ ограничений */
.review-text:not(.is-collapsed)::after {
  content: none;
}

.review-toggle {
  width: fit-content;
  color: #000;
  font:
    normal 400 14px/150% Montserrat,
    sans-serif;
  text-decoration: unset;
  border-bottom: 1px solid #000;
  padding-bottom: 1px;
}

.review-toggle:hover {
  border-bottom: 1px solid transparent;
}

.reviews__see-more {
  width: fit-content;
  display: block;
  color: #242424;
  text-transform: uppercase;
  font:
    normal 500 16px/130% Montserrat,
    sans-serif;
  border-bottom: 1px solid #242424;
  text-align: center;
  padding-bottom: 2px;
  margin: 0 auto;
}

.reviews__see-more:hover {
  border-bottom: 1px solid transparent;
}

/* end reviews */
/* faq */
.faq {
  background-color: #e4dacf;
  padding-bottom: 70px;
}

.faq ol li::before {
  content: unset;
  position: relative;
}

.faq__list {
  counter-reset: faq-counter;
  padding-left: 0;
  margin-top: 55px;
}

.faq__item {
  list-style: none;
  margin-bottom: 16px;
  max-height: fit-content;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
}

.faq__question:hover {
  background-color: #f0fafe;
}

.faq__item--hidden.faq__item {
  margin-bottom: 0;
}

.faq__item--hidden {
  max-height: 0;
  opacity: 0;
  margin: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.faq__question {
  width: 100%;
  background: #f6f6f6;
  border: none;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: #000;
  font:
    normal 500 16px/140% Montserrat,
    sans-serif;
  border-radius: 8px;
  padding: 18px 50px 18px 48px;
}

.faq__question::before {
  counter-increment: faq-counter;
  content: counter(faq-counter) ". ";
  position: absolute;
  left: 18px;
  color: #0f0f0f;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  font:
    normal 400 16px/140% Montserrat,
    sans-serif;
  padding: 0 10px;
  border-radius: 0 0 6px 6px;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.open .faq__answer {
  padding: 16px 10px;
  max-height: fit-content;
}

.faq__more {
  width: 100%;
  margin-top: 23px;
}

.faq__question {
  position: relative;
}

.faq__question::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 23px;
  width: 18px;
  height: 10px;
  transform: unset;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 18 10' xmlns='http://www.w3.org/2000/svg'><path d='M0.995117 1.00488L8.73575 8.82042' stroke='black' stroke-width='2' stroke-linecap='round'/><path d='M8.99512 9.00488L16.7358 1.18937' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
}

.open .faq__question::after {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

/* end faq */
/* end main page */
/* about page */

.about-header-block__galery {
  margin-top: 40px;
}

.about-header-block__galery .slider__pagination {
  text-align: center;
  margin-top: 0px;
  z-index: 5;
  position: absolute;
  bottom: 20px !important;
}

.about-header-block__img {
  aspect-ratio: 343/300;
  object-fit: cover;
  border-radius: 10px;
}

.about-header-block__list-nums {
  display: flex;
  margin-top: 40px;
  gap: 20px;
  flex-direction: column;
}

.about-header-block__num {
  width: 100%;
  background-color: #f0eae3;
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.about-header-block__num-title {
  color: #000;
  font:
    normal 400 50px/130% IBM Plex Sans,
    sans-serif;
}

.about-header-block__num-text {
  width: 90%;
  color: #404040;
  font:
    normal 400 14px/130% Montserrat,
    sans-serif;
}

.about-page ol li.u-card-block__item{
  background-color: #e1eef3;
}

.about-page .u-card-block__item::before{
  background: #fff;
}

.u-standart-banner .wrapper {
  padding: 34px 0;
}

.our-place__banner {
  width: 100%;
  min-height: 400px;
  background: url("/wp-content/uploads/2025/12/about-bg.jpg") center / cover no-repeat;
  padding: 0;
  margin-top: 70px;
}

.our-place__video-link {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  margin-top: 50px;
  max-width: 400px;
  aspect-ratio: 402/710;
  margin: 50px auto 0;
}

.u-standart-banner__title {
  color: #fff;
  font:
    normal 600 22px/150% Montserrat,
    sans-serif;
}

.u-standart-banner__text {
  color: #fff;
  font:
    normal 400 16px/130% Montserrat,
    sans-serif;
  margin-top: 16px;
}

.u-standart-banner__btn {
  width: 100%;
  margin-top: 30px;
}

.our-team {
  background-color: #e4dacf;
  overflow: hidden;
  padding-bottom: 70px;
}

.our-team .slider .swiper-slide {
  width: 100%;
  max-width: 520px;
  flex-shrink: 0;
}

.our-team__galery {
  margin-top: 40px;
}

.our-team__item {
  background-color: #f7f5f4;
  padding: 20px;
}

.our-team__item p {
  font-size: 14px;
  line-height: 130%;
  margin-top: 16px;
}

.our-team__img {
  border-radius: 10px;
  aspect-ratio: 303/206;
}

.our-team__item-title {
  display: block;
  color: #000;
  font:
    normal 500 26px/150% Montserrat,
    sans-serif;
  margin-top: 15px;
}

.our-team__item-subtitle {
  color: #3c3c3c;
  font:
    normal 400 12px/130% Montserrat,
    sans-serif;
}

.our-team__item-list {
  margin-top: 20px;
}

.our-team__item-item {
  position: relative;
  color: #000;
  font:
    normal 400 14px/140% Montserrat,
    sans-serif;
  padding: 0 0 15px 18px;
}

li.our-team__item-item::before {
  content: "";
  display: block;
  height: 8px;
  width: 8px;
  background: #434343;
  border-radius: 100%;
  position: absolute;
  top: 5px;
  left: 0px;
}

.our-team__item-item:last-of-type {
  padding-bottom: 0;
}

section.footer-banner-block {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0;
      display: grid;
    align-items: center;

    min-height: 400px;
    position: relative;
    padding: 0;
}

section.u-bg.footer-banner-block {
  margin-top: 70px;
}

.footer-banner-block picture {
  /* position: absolute; */
  /* top: 0;
  left: 0;
  width: 100%;
  height: 100%; */
}
.footer-banner-block picture {
    width: 100%;
    height: 100%;
}

.footer-banner-block img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}
/* .footer-banner-block .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
} */
.footer-banner-block .wrapper {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-top: 20px;
    padding-bottom: 20px;
}
.footer-banner-block picture,
.footer-banner-block .wrapper {
    grid-area: 1 / 1;
}
.footer-banner-block img {
  height: 100%;
  object-fit: cover;
}

.footer-banner-block__title {
  color: #292929;
  text-transform: uppercase;
  font:
    normal 600 22px/150% Montserrat,
    sans-serif;
}

.u-bg .footer-banner-block__title,
.u-bg .footer-banner-block__text {
  color: #fff;
}

.footer-banner-block__text {
  color: #292929;
  font:
    normal 400 18px/140% Montserrat,
    sans-serif;
  margin-top: 23px;
}

.footer-banner-block__btns-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.footer-banner-block__btn {
  width: 100%;
}

.events-banner-form .form-block {
  background: #ffffff40;
  padding: 0;
}

.events-banner-form .form__input {
  border-bottom: 1px solid #121212;
  color: #121212;
}

.events-banner-form .u-btn {
  width: 100%;
}

.events-banner-form .form-btn_container {
  padding: 0;
}

section.footer-banner-block.events-banner-form {
  height: 100%;
  min-height: 450px;
}

@media screen and (min-width: 1200px) {
  .events-banner-form .form-block {
    background: unset;
    padding: 0;
  }
}

/* end about page  */
/* events page */
.events-arch__list {
  gap: 30px;
}

.events__img-container {
  position: relative;
    aspect-ratio: 347 / 220;
    overflow: hidden;
    flex-shrink: 0;
}

.events__img-container svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

a:hover .events__img-container::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  aspect-ratio: 347/220;
  background: rgba(0, 0, 0, 0.15);
}

.events-slider {
  overflow: hidden;
}

.events__galery .swiper-slide {
  width: 100%;
  max-width: 433px;
}

.events__item-body {
  min-height: 238px;
  position: relative;
  background-color: #f0eae3;
  padding: 20px 20px 60px;
}

.events__item-tag {
  color: #313131;
  font:
    normal 400 14px/150% Montserrat,
    sans-serif;
}

.events__img {
width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.events__item-date {
  display: block;
  color: #4a4a4a;
  text-transform: uppercase;
  font:
    normal 400 12px/150% Montserrat,
    sans-serif;
}

.events__item-body {
  min-height: 265px;
}

.events__item-title {
  color: #000;
  text-transform: uppercase;
  font:
    normal 400 16px/150% Montserrat,
    sans-serif;
  margin-top: 5px;
}

.events__item-text {
  flex: 1;
  color: #242424;
  font: normal 400 14px/120% Montserrat, sans-serif;
  margin-top: 10px;
}

.publications-arch .events__item-date {
  position: absolute;
  left: 20px;
  bottom: 30px;
}

.events__item-link {
  position: absolute;
  left: 20px;
  bottom: 30px;
  color: #000;
  text-transform: uppercase;
  font: normal 400 11px/150% Montserrat, sans-serif;
  border-bottom: 1px solid #000;
}

.events__item:hover .events__item-link {
  color: #000;
  text-transform: uppercase;
  font:
    normal 400 11px/150% Montserrat,
    sans-serif;
  border-bottom: 1px solid transparent;
}

.arch .post__item {
  width: 100%;
}

.post__item a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.events-banner__body {
  min-height: 264px;
  display: flex;
  flex-direction: column;
  padding: 30px 16px;
  justify-content: center;
  background: linear-gradient(79deg,
      #97c4d7 -20.41%,
      #97c4d7 0.88%,
      #539ab9 32.55%,
      #125977 53.84%,
      #2d83a8 77.32%);
  margin: 30px -16px;
}

.events-banner__title {
  color: #fff;
  font:
    normal 600 22px/150% Montserrat,
    sans-serif;
}

.events-banner__text {
  color: #fff;
  font:
    normal 400 16px/140% Montserrat,
    sans-serif;
  margin-top: 20px;
}

.events-banner__soc-list {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.events-banner__soc-link:hover {
  opacity: 0.7;
}

.events-banner__soc-link {
  display: flex;
  /* width: 40px;
  height: 40px; */
  width: 2em;
  height: 2em;
  padding: 10px;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  background: #fff;
}
.events-banner__soc-link svg {
  width: 1.5em;
  height: 1.5em;
}
.events-banner .form-block {
  background: unset;
  padding: 0;
}

.events-banner .form-btn_container {
  padding: 0;
}

.events-banner .form__inputs {
  margin: 0;
}

.events-banner .form {
  max-width: unset;
  margin: 0;
  padding: 0;
}

.events-banner .form__body {
  background: unset;
  margin: 0;
  padding: 0;
}

.form__inputs br {
  display: none;
}

.form__inputs .wpcf7-not-valid-tip {
  font-size: 12px;
}

span.wpcf7-list-item {
  display: inline-block;
  margin: 0;
}

/* Скрываем стандартный чекбокс */
.form__checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Обёртка для кастомного чекбокса */
.form__checkbox .wpcf7-list-item-label {
  position: relative;
  padding-left: 26px;
  cursor: pointer;
  align-items: center;
}

/* Сам кастомный чекбокс */
.form__checkbox .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 2px;
  border: 1px solid #4b4b4b;
  /* неотмеченный */
  box-sizing: border-box;
}

/* Внутренний квадрат (появляется при checked) */
.form__checkbox .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.5em;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background-color: #242424;
  opacity: 0;
}

/* Отмеченный чекбокс */
.form__checkbox input[type="checkbox"]:checked+.wpcf7-list-item-label::before {
  border-color: #242424;
}

.form__checkbox input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
  opacity: 1;
}

.events-banner .form__input {
  background-color: #fff;
  border-bottom: unset;
  border-radius: 8px;
  padding: 16px 20px;
}

.events-banner__right {
  width: 100%;
  margin-top: 30px;
}

.form__textarea {
  border-radius: 4px;
  border: 1px solid #4b4b4b;
  resize: none;
  width: 100%;
  height: 120px;
}

.form__textarea::placeholder,
.form__textarea::-webkit-input-placeholder,
.form__textarea::-moz-placeholder,
.form__textarea:-ms-input-placeholder {
  color: #4b4b4b;
  font-family: Montserrat, sans;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  text-transform: capitalize;
}

.reviews__form-block .form-block {
  background: none;
  margin: 0 auto;
}

.reviews__form-block .form__inputs {
  padding: 0;
  margin: 0;
}

.before-after__img {
  /* width: auto !important; */
  height: auto !important;
  /* max-width: none !important; */
}

/* end events page  */
/* publications page */
.filter__container {
  flex-direction: row;
  gap: 16px;
  margin: 0;
}

.filter__item {
  display: block;
  color: #000;
  font:
    normal 400 18px/150% Montserrat,
    sans-serif;
  text-align: center;
  padding: 12px 30px;
  border-radius: 100px;
  background: #e8e8e8;
}

.filter__item:hover {
  background-color: #cecece;
}

.active.filter__item {
  background-color: #322922;
  color: #fff;
}

.reviews .active.filter__item {
  background-color: #322922;
  color: #fff;
}

/* publications page */
/* post page */

.posts-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.posts-nav {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.posts-nav__link {
  display: flex;
  align-items: center;
  gap: 11px;
  font: var(--text-16);
  color: #322922;
  text-decoration: none;
  transition: color 0.3s ease;
}

.posts-nav__link:hover {
  color: #ff9600;
}

.posts-nav__icon {
  width: 25px;
  height: 27px;
  transition: filter 0.3s ease;
}

.posts-content {
  flex: 1;
  margin-bottom: 70px;
}

.posts-content .u-h1 {
  font-weight: 600;
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 46px;
  line-height: 130%;
}

.posts-media {
  margin-bottom: 41px;
  width: 266px;
  height: fit-content;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.responsive-media--mobile {
  width: 100%;
  height: 100%;
  display: block;
}

.responsive-media {
  display: none;
}

.posts-media__album {
  margin-bottom: 41px;
  width: 343px;
  height: fit-content;
  border-radius: 10px;
  overflow: hidden;
}

.responsive-media__album--mobile {
  display: block;
}

.responsive-media__album {
  display: none;
}

.posts-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.posts-text .posts-subtitle {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
}

.posts-text p {
  font: var(--text-16);
  color: rgba(0, 0, 0, 1);
}

section.offer {
  text-align: end;
}

.posts-text li,
.post-content li {
  position: relative;
  font: var(--text-16);
  color: #000;
  padding-left: 20px;
}

.post-content__text[lang="ru"] {
    text-align: left;
    direction: ltr;
}

.post-content__text[lang="he"] {
    text-align: right;
    direction: rtl;
}

.about-header-block__title[lang="ru"] {
    direction: ltr;
    text-align: left;
}

.about-header-block__title[lang="he"] {
    direction: rtl;
    text-align: right;
    width: 100%;
    max-width: 1100px;
}

.posts-text li::before,
.post-content ul li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  display: block;
  background: #000;
  height: 8px;
  width: 8px;
  border-radius: 100%;
}

.posts-linksbar {
  padding: 40px 20px 40px 20px;
  border: 1px solid #b29475;
  border-radius: 12px;
}

.posts-linksbar__title {
  font: var(--main-text);
  color: rgba(0, 0, 0, 1);
  font-weight: 600;
  line-height: 130%;
  margin-bottom: 10px;
}

.posts-linksbar__pages {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.posts-linksbar__pages a {
  font: var(--main-text);
  line-height: 120%;
  color: rgba(0, 0, 0, 1);
  text-decoration: none;
}

.posts-linksbar__pages a:hover {
  text-decoration: underline;
  text-underline-offset: 25%;
}

/* end post page */
/* offer page */

.offer ol>li,
.offer ul>li .offer p {
  font-size: 18px;
  line-height: 150%;
}

.offer ol:not(:first-of-type) {
  margin-top: 40px;
}

.offer ul:not(:first-of-type) {
  margin-top: 30px;
}

.offer li {
  margin-top: 16px;
}

.offer li b {
  display: block;
  margin-top: 40px;
}

.offer ol>li {
  padding-left: 0;
}

.offer p,
.offer div {
  margin-top: 20px;
}

.offer ol>li::before {
  content: none;
  position: relative;
}

/* end offer page */
/* contacts page */
.contacts-page .u-h1 {
  font-size: 38px;
  margin-bottom: 52px;
  text-transform: uppercase;
}

.contacts-main {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 60px;
}

.contacts-details-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 64px;
}

.contacts-details {
  background: rgba(178, 148, 117, 0.35);
  border-radius: 10px;
  padding: 33px 30px 30px 30px;
}

.contacts-details .subtitle {
  font-style: normal;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 100%;
  margin-bottom: 32px;
}

.contacts-details__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts-details__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 15px 0;
}

.contacts-details__item {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contacts-details__label {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  color: rgba(84, 84, 84, 1);
}

.contacts-details__value {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  color: rgba(0, 0, 0, 1);
}

.contacts-details__value a {
  line-height: 130%;
  color: #000;
}

.contacts-details__value a:hover {
  opacity: 0.7;
}

.contacts-details__schedule {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contacts-details__schedule-item {
  display: flex;
  gap: 25px;
}

.contacts-details__schedule-item span {
  color: #000000;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
}

.form__subtitle {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 100%;
  margin-bottom: 18px;
}

.form__description {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  margin-bottom: 10px;
}

.form__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__body .form__checkbox {
  margin-top: 15px;
}

.form__body .u-btn {
  margin-top: 14px;
  white-space: normal;
}

.form__field {
  position: relative;
}

.form__inputs {
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.form__input {
  width: 100%;
  padding: 16px 10px 10px;
  border-bottom: 1px solid rgba(75, 75, 75, 1);
  background: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: rgba(75, 75, 75, 1);
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
}

.form__checkbox-input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #000000;
  cursor: pointer;
}

.form__checkbox-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  color: #322922;
  cursor: pointer;
  user-select: none;
}

.form__privacy-link {
  color: rgba(36, 36, 36, 1);
  text-decoration: none;
  border-bottom: 1px solid black;
  transition: color 0.3s ease;
}

.wpcf7-list-item-label,
.form__privacy-link {
  font-size: 14px;
  line-height: 120%;
}

.form__privacy-link:hover {
  text-decoration: none;
}

.form__body .u-btn {
  width: 100%;
}

.contacts-directions {
  padding: 60px 0;
  background-color: rgba(178, 148, 117, 0.35);
}

.contacts-directions .u-h2 {
  margin-bottom: 40px;
  color: rgba(0, 0, 0, 1);
  text-transform: uppercase;
}

.contacts-directions__cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contacts-directions__card {
  background: #fffcfa;
  border-radius: 8px;
  padding: 30px;
  position: relative;
}

.card-content__title {
  color: rgba(0, 0, 0, 1);
  line-height: 100%;
  margin-bottom: 23px;

  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 100%;
}

.contacts-directions__card p {
  margin-bottom: 15px;
  font: var(--text-16);
}

.card-icon {
  width: 90px;
  height: 91px;
  margin-bottom: 43px;
  opacity: 0.8;
}

.card-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-link {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  text-transform: uppercase;
  text-decoration: underline;
  color: #000000;
}

.map-link:hover {
  color: #9a7f66;
  text-decoration: none;
}

.contacts-map {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font: var(--text-16);
}

.contacts-map__iframe {
  width: 100%;
  height: 400px;
}

.contacts-map__iframe--mobile {
  display: block;
}

.contacts-map__iframe--desktop {
  display: none;
}

/* end contacts page */
/* programm page */

.single-programm-page-header-block__item {
  color: #000;
  font:
    normal 500 16px/150% Montserrat,
    sans-serif;
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.single-programm-page-header-block__item:last-of-type {
  margin-bottom: 0;
}

.single-programm-page-header-block__item::before {
  content: "";
  display: block;
  position: absolute;
  top: 0.6em;
  left: 0;
  background-color: #000;
  height: 10px;
  width: 10px;
  border-radius: 100%;
}

.single-programm-page-header-block__banner {
  background-color: #dbeaf1;
  padding: 50px 0;
  margin-top: 70px;
}

.single-programm-page-header-block__banner-title {
  display: block;
  color: #000;
  font:
    normal 500 16px/150% Montserrat,
    sans-serif;
  margin-bottom: 30px;
}

.approach__list {
  margin-top: 30px;
}

.approach__item {
  background-color: #f0eae3;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.approach__item:last-of-type {
  margin: 0;
}

.approach__item-num {
  color: #000;
  font:
    normal 400 44px/130% IBM Plex Sans,
    sans-serif;
}

.approach__item-text {
  margin-top: 16px;
}

.approach__item-text {
  color: #404040;
  font:
    normal 400 18px/130% Montserrat,
    sans-serif;
}

.approach__text {
  font: var(--subtitle);
  margin-top: 16px;
}

.work__list {
  margin-top: 26px;
}

.work ul li.work__item {
  min-height: unset;
  flex-direction: column;
  background-color: #f0eae3;
  padding: 20px;
  margin-bottom: 10px;
}

li.work__item svg {
  position: relative;
  width: 110px;
}

li.work__item p {
  font: var(--text-18);
  width: fit-content;
}

li.work__item p strong {
  font-weight: 500;
}

.work__item:last-of-type {
  margin: 0;
}

.before-after {
  overflow: hidden;
}

.before-after__galery {
  overflow: visible;
  margin-top: 50px;
}

.before-after .slider__nav {
  position: relative;
  display: flex;
  height: fit-content;
  width: fit-content;
  gap: 16px;
  bottom: unset;
  margin-bottom: 20px;
}

.before-after .slider__nav-prev,
.before-after .slider__nav-next {
  height: auto;
  width: fit-content;
  border-radius: 4px;
  border: 1px solid rgba(184, 184, 184, 0.8);
  background: rgba(255, 255, 255, 0.8);
  color: #4a4a4a;
  font:
    normal 400 14px/150% Montserrat,
    sans-serif;
  padding: 5px 20px;
}

.before-after .slider__nav-prev::before,
.before-after .slider__nav-next::before {
  content: none;
}

.before-after__item {
  width: 100%;
  max-width: 370px;
}

.before-after__img-container {
  aspect-ratio: 342/207;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}

.before-after .u-radius {
  border-radius: unset;
}

.before-after__item-list {
  border: 1px solid #c6c6c6;
  border-radius: 0 0 6px 6px;
  padding: 30px 20px;
}

.before-after__item-list img {
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}

.before-after__item-li {
  position: relative;
  color: #231609;
  font:
    normal 400 16px/150% Montserrat,
    sans-serif;
  padding-left: 30px;
  margin-bottom: 16px;
}

.before-after__item-li:last-of-type {
  margin-bottom: 0;
}

.before-after__item .before-after__item-li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  display: block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Crect x='0.5' y='0.5' width='19' height='19' rx='9.5' stroke='%23AC9A87'/%3E%3Cpath d='M5 10.5L9 14L14.5 6' stroke='%23AC9A87' stroke-linecap='round'/%3E%3C/svg%3E");
}

.before-after__item:first-of-type .before-after__item-li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Crect x='0.5' y='0.5' width='19' height='19' rx='9.5' stroke='%23AC9A87'/%3E%3Cpath d='M6 14.4863L14.4853 6.00105' stroke='%23AC9A87' stroke-linecap='round'/%3E%3Cpath d='M6 6L14.4853 14.4853' stroke='%23AC9A87' stroke-linecap='round'/%3E%3C/svg%3E");
}

.path-future {
  background-color: #f0eae3;
  padding: 70px 0;
  margin-top: 70px;
}

ol li.path-future__item p,
ol li.path-future__item strong {
  color: #231609;
  font:
    normal 400 18px/150% Montserrat,
    sans-serif;
}

ol li.path-future__item strong {
  font-weight: 500;
}

.path-future__item strong,
ol li.path-future__item::before {
  font-weight: 500;
}

ol li.path-future__item::before {
  content: "0" counter(custom-counter);
  position: relative;
}

.path-future__list {
  margin-top: 30px;
}

.path-future__item {
  padding: 14px 0 14px 0;
}

.proramm-form .form-block {
  background-color: unset;
}

.proramm-form__img-container {
  margin: 40px -16px 0;
  aspect-ratio: 373/249;
}

.proramm-form__img-container img:first-of-type {
  aspect-ratio: 373/249;
  object-fit: cover;
  object-position: right;
}

.proramm-form {
  overflow: hidden;
}

section.proramm-form {
  padding: 0 0;
}

.proramm-form .form__body {
  padding: 0;
}

/* end programm page */
.review-text {
  position: relative;
  /* обязательно для ::after */
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Градиент только в свернутом состоянии */
.review-text.collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.25em;

  background: linear-gradient(to bottom, rgba(219, 234, 241, 0), #dbeaf1 100%);

  pointer-events: none;
}

/* Когда раскрыто — ничего не перекрываем */
.review-text:not(.collapsed)::after {
  display: none;
}
/* 404 */
.not-found {
}
.not-found__bg-container .wrapper {
      display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

  .not-found__title {
    font-family: Spectral SC;
    font-size: 100px;
    line-height: 150%;
    color: #5D3F28;
    font-size: 130px;
    font-weight: 700;
    line-height: 1;
    background: url("/wp-content/uploads/2025/12/main-page-banner.jpg") center center / cover no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

}
.not-found__text {
}
.not-found__link {
}
.u-btn {
}
.u-color-btn {
}
/* end 404 */
@media screen and (min-width: 700px) {

  /* main page */
  .main-block img {
    /* aspect-ratio: 768/500; */
  }

  img.img-photo {
    display: block;
    position: absolute;
    right: -19px;
    top: unset;
    left: unset;
    aspect-ratio: 629/591;
    width: 59%;
    object-fit: contain;
    height: auto;
}

  .main-block__title {
    width: 60%;
  }

  .main-block__text {
    width: 42%;
    color: #232323;
    font:
      normal 500 18px/140% Montserrat,
      sans-serif;
    margin-top: 20px;
  }

  .img-container {
    position: relative;
  }

  .img-photo {
    position: absolute;
    top: 0;
    left: 0;
    object-position: right;
    aspect-ratio: 768/700;
  }

  .main-block__body {
    position: absolute;
    top: 80px;
    left: 26px;
  }

  .main-block {
    margin-top: 140px;
  }

  section.main-banner {
    align-items: center;
    display: flex;
    min-height: 290px;
    background: center center / cover url(/wp-content/uploads/2025/12/main-page-banner.jpg) no-repeat;
    
    margin-top: 90px;
  }

  .main-banner__btns-container {
    margin-top: 30px;
    display: flex;
    align-items: flex-start;
  }

  .main-banner__text {
    width: 80%;
    margin-top: 14px;
  }

  .main-banner__btns-container {
    margin-top: 28px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
  }

  .main-banner .u-color-btn {
    margin-top: 0;
  }

  .main-banner__btn {
    width: calc(50% - 25px);
  }

  .innovative-approach {
    padding-bottom: 90px;
  }

  .main-video__text {
    color: #000;
    font:
      normal 400 18px/140% Montserrat,
      sans-serif;
  }

  .main-video__link img {
    aspect-ratio: 716/440;
  }

  /* end main page */
  /* reviews */
  .reviews__title {
    width: calc(50% - 30px);
  }

  .reviews .wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .reviews__title {
    width: fit-content;
    order: 0;
    margin: 0;
  }

  .reviews__see-more {
    order: 1;
    margin: 0;
  }

  .reviews__text {
    width: 99%;
    order: 2;
  }

  .review-card__text {
    margin-top: 28px;
  }

  .slider__pagination {
    margin-top: 18px;
  }

  .reviews-slider {
    width: 100%;
    order: 3;
  }

  .swiper-slide {
    width: fit-content;
    order: 1;
  }

  /* end reviews */
  /* faq */
  .faq__question {
    font:
      normal 500 18px/140% Montserrat,
      sans-serif;
    border-radius: 8px;
    padding: 33px 50px 33px 51px;
  }

  .faq__item {
    margin-bottom: 20px;
  }

  .faq__question::after {
    top: 39px;
    right: 16px;
  }

  .faq__more {
    width: auto;
    min-width: 330px;
    margin: 32px auto 0;
  }

  /* end faq */

  /* about page */

  .about-header-block__img {
    aspect-ratio: 716/520;
    border-radius: 10px;
  }

  .about-header-block__list-nums {
    flex-wrap: wrap;
    flex-direction: row;
  }

  .about-header-block__num {
    width: calc(50% - 10px);
  }

  .u-standart-banner__title {
    color: #fff;
    font:
      normal 600 26px/150% Montserrat,
      sans-serif;
  }

  .u-standart-banner .wrapper {
    padding-top: 47px;
  }

  .our-place__banner {
    width: 100%;
    background: url("/wp-content/uploads/2025/12/about-bg.jpg") center / cover no-repeat;
    padding: 0;
    margin-top: 90px;
  }

  .u-standart-banner__text {
    width: 75%;
  }

  .u-standart-banner__btn {
    width: fit-content;
    min-width: 333px;
  }

  .footer-banner-block {
    min-height: 370px;
  }

  section.u-bg.footer-banner-block {
    margin-top: 90px;
  }

  .footer-banner-block__title {
    color: #292929;
    text-transform: uppercase;
    font:
      normal 600 26px/150% Montserrat,
      sans-serif;
  }

  .footer-banner-block__btns-container {
    flex-direction: row;
  }

  .footer-banner-block__btn {
    min-width: 320px;
    width: fit-content;
  }

  .our-team__item {
    padding: 30px;
  }

  .our-team__img {
    aspect-ratio: 460/313;
  }

  .our-team__item-title {
    margin-top: 11px;
  }

  .our-team {
    padding-bottom: 70px;
  }

  /* end about page */
  /* event page */
  a.events__item-link-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    background: #fff;
  }

  .events__item-body {
    height: inherit;
  }

  .events__item-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 30px 20px 60px;
    position: relative;
  }

  .events__item-title {
    font-size: 18px;
  }

  .events__item-link {
    left: 20px;
  }

  .arch .post__item {
    width: calc(50% - 15px);
    display: flex;
  }

  .events-arch__list.u-flex-container {
    flex-direction: row;
    row-gap: 30px;
  }

  .events-banner__body {
    border-radius: 20px;
    padding: 30px 16px;
    margin: 0;
  }

  .events-banner__left {
    max-width: 450px;
  }

  .events-banner__title {
    color: #fff;
    font:
      normal 600 28px/150% Montserrat,
      sans-serif;
  }

  .events-banner .form__input {
    border-bottom: unset;
  }

  .events-banner .form-block {
    width: 100%;
    max-width: 394px;
  }

  .events-banner__right {
    width: 100%;
    margin-top: 30px;
  }

  .events-banner .form {
    max-width: 394;
    margin: 0;
    padding: 0;
  }

  /* end event page */
  .reviews-arch__list {
    flex-direction: row;
  }

  .reviews-arch .review-card {
    width: calc(50% - 15px);
  }

  /* post page */
  .posts-content .u-h1 {
    font-size: 38px;
  }

  .posts-linksbar__pages {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 15px;
  }

  .posts-text {
    gap: 12px;
    padding-right: 22px;
  }

  .posts-text .posts-subtitle {
    margin-bottom: 4px;
  }

  .posts-linksbar {
    padding: 40px 50px 40px 30px;
  }

  .posts-media {
    width: 363px;
  }

  .responsive-media--mobile {
    display: none;
  }

  .responsive-media {
    width: 100%;
    height: auto;
    display: block;
  }

  .posts-media__album {
    width: 694px;
  }

  .responsive-media__album--mobile {
    display: block;
  }

  .responsive-media__album {
    display: none;
  }

  /* end post page */
  /* offer page */
  .offer ol:not(:first-of-type) {
    margin-top: 50px;
  }

  .offer ul:not(:first-of-type) {
    margin-top: 30px;
  }

  .offer li {
    margin-top: 16px;
  }

  .offer li b {
    display: block;
    margin-top: 50px;
  }

  .offer ol>li {
    padding-left: 0;
  }

  .offer p,
  .offer div {
    margin-top: 20px;
  }

  /* end offer page */
  /* contacts page */
  .contacts-page {
    padding: 60px 0 0;
  }

  .contacts-page .u-h1 {
    font-size: 48px;
    margin-bottom: 54px;
  }

  .contacts-main {
    gap: 80px;
    margin-bottom: 80px;
  }

  .contacts-details {
    flex-direction: row;
    gap: 60px;
    padding: 44px 40px 40px 40px;
  }

  .contacts-details .subtitle {
    font-size: 30px;
    margin-bottom: 32px;
  }

  .contacts-details__row {
    flex-direction: row;
    gap: 32px;
  }

  .contacts-details__row .contacts-details__item {
    flex: 1;
  }

  .form-block {
    padding: 0 25px 0;
    background: rgba(151, 196, 215, 0.3);
    border-radius: 10px;
  }

  .form {
    width: 100%;
    max-width: 465px;
    margin: 0 auto;
  }

  .form__subtitle {
    font-size: 26px;
    line-height: 100%;
    text-align: center;
    margin-bottom: 27px;
  }

  .form__description {
    text-align: center;
  }

  .form__body {
    padding: 0 23px;
  }

  .form__inputs {
    margin-right: 0;
    gap: 10px;
  }

  .form__input {
    background: transparent;
    padding: 16px 13px 10px;
  }

  .form__checkbox {
    padding-left: 3px;
  }

  .form__body .u-btn {
    margin: 28px 0px 0;
  }

  .form-btn_container {
    padding: 0px 25px 0px 2px;
  }

  .contacts-details-form {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 90px;
  }

  .contacts-directions {
    padding: 71px 0 112px;
  }

  .contacts-directions__cards {
    flex-direction: column;
    gap: 30px;
  }

  .contacts-directions__card {
    display: flex;
    gap: 52px;
    align-items: flex-start;
    padding: 30px;
  }

  .contacts-directions__card .card-icon {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .contacts-directions__card .card-content {
    display: flex;
    flex-direction: column;
    padding-top: 3px;
  }

  .card-content__title {
    margin-bottom: 10px;
  }

  .map-link {
    font-size: 16px;
  }

  .contacts-directions__card p {
    margin-bottom: 20px;
  }

  .contacts-directions .u-h2 {
    margin-bottom: 39px;
  }

  .contacts-map {
    height: 400px;
  }

  /* end contacts page */
  /* programm page */

  .single-programm-page-header-block__list {
    width: 95%;
  }

  .single-programm-page-header-block__item {
    color: #000;
    font:
      normal 500 21px/150% Montserrat,
      sans-serif;
  }

  .single-programm-page-header-block__item::before {
    content: "";
    top: 0.6em;
    left: 0;
  }

  .single-programm-page-header-block__banner-title {
    width: 94%;
    color: #000;
    font:
      normal 500 21px/150% Montserrat,
      sans-serif;
    margin-bottom: 30px;
  }

  .approach__item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 40px;
  }

  .approach__item-num {
    width: 130px;
  }

  .approach__item-text {
    width: 60%;
    margin: 0;
  }

  .work__list.u-card-block__item {
    flex-direction: column;
  }

  .work ul li.work__item {
    min-height: unset;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }

  .work__item.u-card-block__item-icon {
    width: 110px;
  }

  .path-future {
    padding: 90px 0;
    margin-top: 90px;
  }

  ol li.path-future__item::before {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    content: "0" counter(custom-counter);
    border-radius: 100px;
    background: rgba(96, 76, 56, 0.75);
    color: #fff;
    font:
      normal 500 18px/100% Montserrat,
      sans-serif;
  }

  ol li.path-future__item {
    position: relative;
    padding-left: 75px;
  }

  .proramm-form__img-container {
    margin: 50px 0 0;
    aspect-ratio: 358/239;
    border-radius: 20px;
  }

  .proramm-form__img-container img:first-of-type {
    aspect-ratio: 358/239;
    border-radius: 20px;
    overflow: hidden;
  }

  /* end programm page */
  /* 404 */
.not-found {
  padding-bottom: 50px;
}
.not-found__bg-container {
}
.not-found__title {
  font-size: 200px;
}
.not-found__text {
}
.not-found__link {
}
.u-btn {
}
.u-color-btn {
}
/* end 404 */
}

@media screen and (min-width: 1000px) {
  .before-after__item {
    width: 100%;
    max-width: 665px;
  }

  .before-after__img-container {
    aspect-ratio: 342/207;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
  }

  .before-after__item-list {
    border: 1px solid #c6c6c6;
    border-radius: 0 0 10px 10px;
    padding: 30px;
  }

  .before-after__item-list img {
    border-radius: 10px 10px 0 0;
  }
}

@media screen and (min-width: 1200px) {

  /* main page */
  .main-block {
    height: 700px;
    margin-top: 180px;
  }

  .img-container {
    position: absolute;
    height: 700px;
    width: 100%;
  }

  .img-photo {
    position: absolute;
    top: unset;
    left: unset;
    right: 0;
    bottom: 0;
    object-position: right;
    aspect-ratio: 375/700;
  }

  .main-block picture {
    width: 100%;
    position: absolute;
  }

  .main-block img {
    width: 100%;
    min-height: 700px;
    object-position: center;
    object-position: center;
    object-fit: cover;
  }

  img.img-photo {
    display: block;
    position: absolute;
    right: unset;
    left: 50%;
    top: unset;
    left: calc(50% + 60px);
    aspect-ratio: 300/310;
    width: fit-content;
    height: unset;
    max-height: 600px;
  }

  .main-block__body {
    width: calc(100% - 80px);
    position: relative;
    top: 44%;
    left: 0;
    bottom: unset;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .main-block__text {
    width: 50%;
    color: #232323;
    font:
      normal 500 18px/140% Montserrat,
      sans-serif;
    margin-top: 20px;
  }

  .innovative-approach {
    padding-bottom: 110px;
  }

  .innovative-approach li:not(:first-of-type)::after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: #fffcfa;
    position: absolute;
    left: -30px;
    bottom: 160px;
    z-index: 12;
  }

  .main-video .wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
  }

  .main-video__body,
  .main-video__link {
    width: calc(50% - 30px);
  }

  .main-video__title {
    color: #000;
    font: normal 600 30px/130% "Spectral SC";
    margin-bottom: 30px;
  }

  .main-video__body {
    width: calc(50% - 60px);
  }

  .main-video__link {
    width: calc(50% - 16px);
  }

  .main-video__link {
    margin-top: 0;
  }

  .main-video__link img {
    aspect-ratio: 664/440;
  }

  section.main-banner {
    align-items: center;
    display: flex;
    min-height: 260px;
    background: center center / cover url(/wp-content/uploads/2025/12/main-page-banner.jpg) no-repeat;
    width: calc(100% - 80px);
    margin: 109px auto 0;
    max-width: 1360px;
    border-radius: 20px;
  }

  .main-banner__title {
    text-align: center;
  }

  .main-banner__text {
    width: 100%;
    margin-top: 14px;
    font-weight: 500;
    margin: 3px auto 0;
    text-align: center;
    font-size: 18px;
    max-width: 520px;
  }

  .main-banner__btns-container {
    margin-top: 28px;
    gap: 30px;
    justify-content: center;
  }

  .main-banner__btn {
    /* width: calc(50% - 25px); */
    white-space: normal;
    width: fit-content;
    min-width: 333px;
  }

  /* end main page */
  /* reviews */
  section.reviews {
    padding-bottom: 137px;
  }

  .reviews-slider {
    margin-top: 71px;
  }

  .review-card {
    min-height: 255px;
    gap: 12px;
    padding: 44px 40px;
  }

  .review-card__title {
    font:
      normal 400 26px/100% Montserrat,
      sans-serif;
  }

  .review-card__date {
    color: #474747;
    font:
      normal 500 18px/100% Montserrat,
      sans-serif;
  }

  .review-card__text {
    margin-top: 11px;
  }

  .review-card__text p {
    color: #000;
    font:
      normal 400 18px/140% Montserrat,
      sans-serif;
  }

  .review-card__header {
    align-items: center;
  }

  .review-card__text {
    margin-top: 22px;
  }

  .slider__pagination {
    margin-top: 12px;
  }

  /* end reviews */
  /* faq */

  .faq__question {
    font:
      normal 500 22px/140% Montserrat,
      sans-serif;
    border-radius: 16px;
    box-shadow: 4px 4px 4px 0 rgba(182, 180, 180, 0.25);
    padding: 29px 70px 30px 84px;
  }

  .faq__question::before {
    left: 41px;
    font-size: 26px;
  }

  .faq__answer {
    padding: 0px 10px 0px 85px;
  }

  .open .faq__answer {
    width: 90%;
    padding: 32px 10px 19px 85px;
    max-height: fit-content;
    font-size: 18px;
  }

  .faq__question::after {
    top: 37px;
    right: 40px;
    width: 23px;
    height: 15px;
    transform: unset;
  }

  /* end faq */
  /* about page */

  ul .u-card-block__item-title {
    margin-top: 80px;
  }

  .about-header-block__list-nums {
    flex-wrap: wrap;
    margin-top: 60px;
  }

  .about-header-block__num {
    width: calc(25% - 15px);
  }

  .our-place .wrapper {
    display: flex;
    gap: 30px;
    justify-content: space-between;
  }

  .our-place__body {
    display: flex;
    align-items: flex-start;
    background-color: #e4dacf;
    border-radius: 20px;
    overflow: hidden;
    padding: 40px 10% 40px 40px;
    flex-direction: column;
    justify-content: center;
    /* aspect-ratio: 899/780; */
    width: calc(68% - 25px);
  }

  .our-place__text {
    width: 89%;
  }

  .our-place__video-link {
    aspect-ratio: 440/780;
    margin: 0;
    width: 440px;
    max-width: unset;
  }

  .our-place__banner {
    width: 100%;
    background: url("/wp-content/uploads/2025/12/about-bg.jpg") center / cover no-repeat;
    padding: 0;
    margin-top: 70px;
    width: calc(100% - 80px);
    margin: 70px auto 0;
    max-width: 1360px;
    border-radius: 20px;
  }

  div.u-standart-banner .wrapper {
    padding-top: 47px;
    display: block;
  }

  div.u-standart-banner .wrapper {
    padding: 50px 10px 50px;
    display: block;
  }

  .u-standart-banner__title {
    color: #fff;
    font:
      normal 600 36px/150% Montserrat,
      sans-serif;
  }

  .footer-banner-block__title {
    color: #292929;
    text-transform: uppercase;
    font:
      normal 600 34px/150% Montserrat,
      sans-serif;
  }

  ul li.u-card-block__item {
    min-height: 214px;
    background-color: #e1eef3;
    padding: 40px 30px 57px 30px;
  }

  .our-team {
    margin-top: 110px;
    padding-bottom: 110px;
  }

  .our-team__galery {
    margin-top: 70px;
  }

  .our-team .slider__nav {
    bottom: unset;
    top: -127px;
    right: 0;
    left: unset;
  }

  .our-team .slider__nav button {
    background: #fff;
  }

  .footer-banner-block__title {
    max-width: 630px;
  }

  .u-bg .footer-banner-block__title {
    max-width: unset;
  }

  /* end about page */
  /* events page */
  .arch__list.u-flex-container {
    gap: 30px;
  }

  .events__item-body {
    min-height: 265px;
  }

  .arch .post__item {
    width: calc(100% / 3 - 20px);
  }

  .events-banner__body {
    display: flex;
    border-radius: 20px;
    margin: 0;
    padding: 30px 9.5%;
    flex-direction: row;
    gap: 70px;
    justify-content: flex-start;
  }

  .events-banner__title {
    color: #fff;
    font:
      normal 600 32px/150% Montserrat,
      sans-serif;
  }

  .events-banner__left {
    max-width: 610px;
  }

  .events-banner__left,
  .events-banner__right {
    width: calc(50% - 36px);
  }

  .events-banner__soc-list {
    margin: 20px auto 0;
  }

  section.u-bg.footer-banner-block {
    margin-top: 110px;
  }

  /* end events page */
  /* post page */

  .posts-layout {
    display: grid;
    grid-template-columns: 194px 1fr 365px;
    grid-template-rows: auto 1fr;
    gap: 40px;
    align-items: start;
  }

  .posts-nav {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 220px;
    justify-content: right;
    padding-right: 20px;
  }

  .posts-content {
    grid-column: 2;
    grid-row: 1 / -1;
    padding-right: 12px;
  }

  .posts-content .u-h1 {
    font-size: 48px;
    margin-bottom: 49px;
  }

  .posts-linksbar {
    grid-column: 3;
    grid-row: 1;
    position: sticky;
    top: 220px;
    border-radius: 20px;
    padding: 41px 60px 45px 42px;
    border: none;
    background-color: rgba(178, 148, 117, 0.2);
  }

  .posts-linksbar__title {
    font-size: 18px;
  }

  .posts-linksbar__pages {
    row-gap: 16px;
  }

  .posts-linksbar__pages a {
    font-size: 18px;
  }

  /* end post page */
  /* offer page */
  .offer ol:not(:first-of-type) {
    margin-top: 70px;
  }

  .offer ul:not(:first-of-type) {
    margin-top: 50px;
  }

  .offer li {
    margin-top: 20px;
  }

  .offer li b {
    display: block;
    margin-top: 70px;
  }

  .offer ol>li {
    padding-left: 0;
  }

  .offer p,
  .offer div {
    margin-top: 26px;
  }

  .offer .post-content__text {
    width: 100%;
    max-width: 1100px;
  }

  /* end offer page */
  /* contacts page */
  .contacts-page {
    padding: 80px 0 0;
  }

  .contacts-page .u-h1 {
    font-size: 58px;
    margin-bottom: 52px;
  }

  .contacts-main {
    gap: 100px;
    margin-bottom: 100px;
  }

  .contacts-details {
    gap: 80px;
  }

  .contacts-details-form {
    flex-direction: row;
    gap: 40px;
    margin-bottom: 110px;
  }

  .contacts-details {
    width: calc(50% - 20px);
    border-radius: 16px;
  }

  .contacts-details__row {
    gap: 20px;
    justify-content: space-between;
  }

  .form-block {
    width: calc(50% - 20px);
    padding: 40px 20px;
    border-radius: 20px;
  }

  .form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .form__subtitle {
    padding: 0 4px;
  }

  .form__description {
    font-size: 14px;
    padding: 0px 20px;
    margin-bottom: 12px;
  }

  .form__body {
    padding: 0;
  }

  .form__body .form__checkbox {
    margin-top: 13px;
  }

  .form__checkbox {
    padding-left: 2px;
  }

  .form__body .u-btn {
    margin: 29px 0px 0;
  }

  .contacts-directions {
    padding: 111px 0 112px;
  }

  .contacts-directions .u-h2 {
    margin-bottom: 62px;
  }

  .contacts-directions__cards {
    gap: 30px;
    flex-direction: row;
  }

  .contacts-directions__card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border-radius: 16px;
    padding: 50px 40px 35px;
  }

  .contacts-directions__card .card-icon {
    width: 90px;
    height: 91px;
    margin-bottom: 7px;
    border-bottom: 1px solid #97c4d7;
  }

  .contacts-directions__card .card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-right: 62px;
  }

  .contacts-map {
    height: 600px;
  }

  .contacts-map__iframe {
    height: 600px;
  }

  .contacts-map__iframe--mobile {
    display: none;
  }

  .contacts-map__iframe--desktop {
    display: block;
  }

  .contacts-details__row .contacts-details__item {
    gap: 20px;
    max-width: 245px;
    width: 100%;
  }

  /* end contacts page */
  /* programm page */

  .single-programm-page-header-block__item::before {
    content: "";
    top: 0.6em;
    left: 0;
  }

  .single-programm-page-header-block__banner-title {
    max-width: 766px;
    text-align: center;
    margin: 0 auto 30px;
  }

  .single-programm-page-header-block__btn {
    margin: 0 auto;
  }

  .approach .wrapper {
    display: flex;
    gap: 30px;
  }

  .approach__body,
  .approach__list {
    width: calc(50% - 15px);
    margin: 0;
  }

  .work ul li.work__item {
    min-height: 150px;
    width: 100%;
  }

  .path-future {
    padding: 110px 0;
    margin-top: 110px;
  }

  .path-future .wrapper {
    display: grid;
    gap: 30px;
    position: relative;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    align-items: start;
  }

  .path-future__list {
    margin-top: 0;
  }

  .path-future__body {
    position: sticky;
    top: 329px;
  }

  .proramm-form .wrapper {
    display: flex;
    align-items: center;
  }

  .proramm-form__img-container,
  .proramm-form__img-container img:first-of-type {
    aspect-ratio: 631/420;
    margin: 0;
  }

  .proramm-form .form-block,
  .proramm-form__img-container {
    width: calc(50% - 15px);
  }

  /* end programm page */
  /* 404 */
.not-found {
  padding-bottom: 80px;
}
.not-found__bg-container {
}
.not-found__bg-container .wrapper {
    gap: 30px;
}
.not-found__title {
  font-size: 300px;
}
.not-found__text p{
  font-size: 24px;
}
.not-found__link {
}
.u-btn {
}
.u-color-btn {
}
/* end 404 */
}

/* Скрываем стандартный чекбокс */

/* Стилизация лейбла как кастомного чекбокса */
.form__checkbox-label {
  position: relative;
  padding-left: 25px;
  /* отступ для кастомного квадратика */
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: #242424;
}

.form__checkbox-label p,
.form__checkbox-label a {
  font-size: 14px;
  line-height: 130%;
  display: inline;
}

/* Квадрат чекбокса */
.form__checkbox-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  border: 1px solid #4b4b4b;
  border-radius: 2px;
  background-color: #fff;
  box-sizing: border-box;
}

.form__checkbox-input:checked+.form__checkbox-label::before {
  border-color: #242424;
}

/* Квадратик внутри при checked */
.form__checkbox-input:checked+.form__checkbox-label::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background-color: #242424;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  opacity: 0;
}

.form__checkbox-input:checked+.form__checkbox-label::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* --------------- end PAGES --------------- */
div.cky-box-bottom-left {
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  box-shadow: 0px -3px 10px 0 rgba(182, 180, 180, 0.3);
  margin: 0 auto;
}

@media screen and (min-width: 1000px) {
  div.cky-box-bottom-left {
    width: calc(100% - 32px);
  }
}

section.onetap-container-toggle {
  padding: 0;
}

/* ── Анимация загрузки фильтра ───────────────────────────────────────────── */
.events-arch__result {
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.events-arch__result.is-loading {
  opacity: 0.35;
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

/* ── YouTube Player ─────────────────────────────────────────────────────── */
.yt-player {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  display: block;
}

.yt-player__poster {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.yt-player--vertical {
  aspect-ratio: 9 / 16;
}

.yt-player--vertical .yt-player__poster {
  position: absolute;
  inset: 0;
  height: 100%;
}

.yt-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.2s;
  z-index: 2;
}

.yt-player:hover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.yt-player:hover .yt-player__play {
  transform: translate(-50%, -50%) scale(1.1);
}

.yt-player--active .yt-player__poster,
.yt-player--active .yt-player__play {
  visibility: hidden;
}

.yt-player--active::before {
  display: none;
}

.yt-player__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}
