:root {
  --font-family: "Inter", sans-serif;
  --second-family: "Montserrat", sans-serif;
  --color-background: #fff;
  --color-section: #f4f9ff;
  --color-main-text: #1a2a40;
  --color-secondary-text: #5b6d89;
  --color-btn: #2c7da0;
  --color-accent: #1f5e7a;
  --color-input: #d5d9df;
  --shadow: 0 4px 12px 0 rgba(26, 42, 64, 0.25);
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-main-text);
  background-color: var(--color-background);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 500;
}

h1 {
  font-family: var(--font-family);
  font-size: 48px;
}

h2 {
  font-family: var(--font-family);
  font-size: 34px;
}

h3 {
  font-size: 26px;
  line-height: normal;
}

.container {
  max-width: 1312px;
  padding: 0 16px;
  margin: 0 auto;
}

a {
  color: var(--color-main-text);
  transition: all 0.3s ease-in;
}

a:hover {
  color: var(--color-accent);
}

.contact-btn {
  padding: 16px 38px;
  background-color: var(--color-btn);
  color: var(--color-background);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease-in;
}

.contact-btn:hover {
  background-color: var(--color-accent);
}

.hero-bg {
  background-color: var(--color-section);
  min-height: 102vh;
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
}

.header {
  padding: 21px 0 20px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 36px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.burger__line {
  width: 100%;
  height: 3px;
  background-color: var(--color-btn);
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.burger:hover .burger__line {
  background-color: var(--color-accent);
}

.nav {
  transition:
    transform 0.4s ease-in,
    opacity 0.3s ease;
}

.hero__image {
  position: absolute;
  top: 54px;
  right: calc((100% - 1312px) / 6 + 16px);
  max-width: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 110px);
}

.hero__content {
  max-width: 540px;
  padding-top: clamp(60px, 8vw, 130px);
  z-index: 1;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.hero__title .title {
  color: var(--color-secondary-text);
}

.title {
  font-size: 34px;
  line-height: normal;
}

.hero__list {
  margin-bottom: 50px;
}

.hero__item:not(:last-child) {
  margin-bottom: 20px;
}

.hero__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__icon {
  max-width: 27px;
}

.hero__advantages-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.hero__advantages-item {
  max-width: 232px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__icon-big {
  max-width: 44px;
}

.about__inner {
  padding-bottom: 80px;
}

.about__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 80px;
}

.about__image {
  max-width: 630px;
}

.about__content {
  padding-top: 80px;
}

.about__title {
  padding-bottom: 30px;
}

.about__list {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

.about__item {
  max-width: 280px;
}

.about__subtitle {
  color: var(--color-accent);
  margin-bottom: 20px;
}

.add-text {
  font-family: var(--second-family);
  font-size: 16px;
  line-height: 1.4;
}

.how {
  background-color: var(--color-section);
  padding: 80px 0;
}

.how__video {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 80px auto 0;
}

.how__video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
}

.for-whom__inner {
  padding-top: 80px;
}

.for-whom__title {
  max-width: 531px;
  text-align: center;
  margin: 0 auto;
}

.for-whom__circle-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 635px;
}

.for-whom__circle {
  max-width: 800px;
  width: 100%;
  height: auto;
}

.for-whom__item {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 20px;
}

.for-whom__item--1 .for-whom__number,
.for-whom__item--2 .for-whom__number,
.for-whom__item--3 .for-whom__number {
  order: 1;
}

.for-whom__number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  background-color: var(--color-accent);
  color: var(--color-section);
  border-radius: 50%;
  font-size: 26px;
}

.for-whom__text {
  max-width: 228px;
}

.for-whom__item--1 {
  top: 20%;
  left: 10%;
}
.for-whom__item--2 {
  top: 44%;
  left: 7%;
}
.for-whom__item--3 {
  bottom: 24%;
  left: 10%;
}
.for-whom__item--4 {
  top: 20%;
  right: 10%;
}
.for-whom__item--5 {
  top: 44%;
  right: 7%;
}
.for-whom__item--6 {
  bottom: 24%;
  right: 10%;
}

.news {
  padding: 80px 0;
}

.news__title {
  text-align: center;
  margin-bottom: 80px;
}

.news__grid {
  display: grid;
  grid-template-columns: minmax(280px, 410px) 1fr;
  gap: clamp(10px, 1vw, 25px);
}

.news__card--left {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news__image--left {
  border-radius: 16px;
  margin-bottom: 30px;
}

.news__card-title {
  margin-bottom: 30px;
}

.news__card-text {
  margin-bottom: 35px;
  flex-grow: 1;
}

.news__right {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 25px);
  align-items: stretch;
  justify-content: space-between;
}

.news__row--two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1vw, 25px);
  height: 100%;
}

.news__row--one-col {
  display: grid;
  grid-template-columns: 1fr;
}

.news__item,
.news__card {
  background-color: var(--color-section);
  border-radius: 46px;
  padding: 30px;
}

.news__program-list li {
  display: list-item;
  list-style-type: "• ";
  list-style-position: inside;
}

.news__item--relative {
  position: relative;
  min-height: 222px;
}

.news__image--absolute {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 40%;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.news__invite-content {
  position: relative;
  max-width: 70%;
  z-index: 2;
}

.news__item--with-bg {
  position: relative;
  overflow: hidden;
  padding: 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.news__image--bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border-radius: 46px;
}

.news__item--with-bg .news__date,
.news__item--with-bg .add-text {
  position: relative;
  z-index: 2;
}

.news__image--bg {
  height: 367px;
}

.send {
  background: var(--color-main-text);
  border-radius: 46px 46px 0 0;
  padding: 80px 0 154px;
}

.send__title {
  max-width: 531px;
  margin: 0 auto 80px;
  color: var(--color-background);
  text-align: center;
}

.send__form,
.wpcf7 {
  background-color: var(--color-background);
  padding: 30px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.send__fields {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 25px;
}

.send__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.send__item {
  height: 54px;
  padding: 10px 20px;
  border-radius: 16px;
  background-color: var(--color-input);
}

.send__btn {
  min-width: 350px;
}

.send__choice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.send__choice legend {
  float: left;
  width: auto;
  margin-right: 6px;
}

.send__radio-item {
  position: relative;
}

.send__radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.send__radio-label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
}

.send__radio-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--color-secondary-text);
  background-color: var(--color-section);
  transition: all 0.2s ease-in;
}

.send__radio-input:checked + .send__radio-label::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.checkbox-text a {
  color: var(--color-btn);
}

/* Мешают контакт форм 
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--color-secondary-text);
  background-color: var(--color-section);
  transition: border-color 0.3s ease-out;
  position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  border-color: var(--color-accent);
  background-image: url("../images/icon-check.svg");
  background-repeat: no-repeat;
  background-position: center;
}
*/
.message {
  background-color: var(--color-background);
  margin-top: -60px;
  border-radius: 46px 46px 0 0;
  padding: 80px 0 100px;
}

.message__inner {
  max-width: 800px;
  padding-left: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.message__title {
  margin-bottom: 60px;
}

.message-btn {
  border: 0.92px solid var(--color-main-text);
  border-radius: 16px;
  padding: 12px 39px;
  transition: all 0.3s ease-in;
}

.message-btn:hover {
  border: 0.92px solid var(--color-accent);
  color: var(--color-accent);
}

/* Выпадающее меню кнопки Связаться со мной */
.message__dropdown {
  position: relative;
  display: inline-block;
}

.message__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background-color: var(--color-background);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.message__dropdown:hover .message__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.message__dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.message__dropdown-menu li a:hover {
  background-color: var(--color-section);
}

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

.social {
  display: flex;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social__item {
  width: 58px;
  display: flex;
  justify-content: center;
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social__link svg path {
  stroke: #1a2a40;
  transition: stroke 0.3s ease;
}

.social__link:hover svg path {
  stroke: var(--color-accent, #1f5e7a);
}

.social__link svg path[fill] {
  stroke: none;
  fill: #1a2a40;
  transition: fill 0.3s ease;
}

.social__link:hover svg path[fill] {
  fill: var(--color-accent, #1f5e7a);
}

.footer {
  background-color: var(--color-main-text);
  padding: 80px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer-menu__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.policy__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.footer-menu__link,
.policy__link {
  color: var(--color-background);
  transition: all 0.3s ease-in;
  text-align: center;
  display: block;
}

.footer-menu__link:hover,
.policy__link:hover {
  color: var(--color-input);
}

.how__video iframe {
  pointer-events: auto !important;
}

.hidden {
  display: none;
}

.send .wpcf7-form .send__item {
  width: 100%;
  padding: 12px 20px;
  border-radius: 16px;
  border: none;
  background-color: var(--color-input);
}

.send .wpcf7-form .send__btn {
  padding: 16px 38px;
  background-color: var(--color-btn);
  color: var(--color-background);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease-in;
  margin-bottom: 6px;
}

.send .wpcf7-form .send__btn:hover {
  background-color: var(--color-accent);
}

/* Чекбокс для Contact Form 7 — простой и рабочий */
.send .wpcf7-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  cursor: pointer;
}

.send .wpcf7-form .checkbox-label .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row;
}

.wpcf7-list-item {
  margin: 0;
  margin-right: 12px;
}

.send .wpcf7-form .checkbox-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--color-accent);
}

/* Убираем все кастомные квадратики */
.send .wpcf7-form .checkbox-label .wpcf7-list-item-label::before {
  display: none;
}

.send .wpcf7-form .checkbox-custom {
  display: none;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
}

.send__field .wpcf7-form-control-wrap {
  height: 60px;
}

.cf7-submit {
  min-width: 350px;
  padding: 16px 38px;
  background-color: var(--color-btn) !important;
  color: var(--color-background);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow) !important;
  transition: all 0.3s ease-in;
  margin-bottom: 6px;
}

.cf7-submit:hover {
  background-color: var(--color-accent) !important;
}

.page-content {
  padding: 80px 0;
}

.inner-page .hero-bg {
  min-height: auto;
}

.inner-page .page-text p {
  margin-bottom: 20px;
}

/* Списки на внутренних страницах через псевдоэлементы */
.inner-page .page-text ul {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.inner-page .page-text li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.inner-page .page-text li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-btn);
  font-size: 18px;
}

.inner-page .page-text ol {
  margin: 20px 0;
  padding-left: 25px;
  list-style: decimal;
}

.inner-page .page-text p {
  margin-bottom: 20px;
}
