@font-face {
  font-family: "Montserrat";
  src: local("Montserrat Regular"), local("Montserrat-Regular"),
    url("../fonts/Montserrat-Regular.woff2") format("woff2"),
    url("../fonts/Montserrat-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat lt";
  src: local("Montserrat Light"), local("Montserrat-Light"),
    url("../fonts/Montserrat-Light.woff2") format("woff2"),
    url("../fonts/Montserrat-Light.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat exlt";
  src: local("Montserrat ExtraLight"), local("Montserrat-ExtraLight"),
    url("../fonts/Montserrat-ExtraLight.woff2") format("woff2"),
    url("../fonts/Montserrat-ExtraLight.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat it";
  src: local("Montserrat Italic"), local("Montserrat-Italic"),
    url("../fonts/Montserrat-Italic.woff2") format("woff2"),
    url("../fonts/Montserrat-Italic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "dance";
  src: local("dance Regular"), local("dance-Regular"),
    url("../fonts/dance-Regular.woff2") format("woff2"),
    url("../fonts/dance-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --index: calc(1vw + 1vh);
  --card-1: #e1c9ce;
  --card-2: #c3929e;
  --card-3: rgba(168, 99, 115);
	--accent-text: #1f1711;
  --transition: all 0.4s;
}

body {
  font-family: "Montserrat";
	scroll-behavior: smooth;
}

.wrapper {
  min-height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0e8ea;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}
.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.preloader-logo {
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
    filter: brightness(1);
  }
  25% {
    opacity: 0.8;
    filter: brightness(1.1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
    filter: brightness(1.2);
  }
  75% {
    opacity: 0.8;
    filter: brightness(1.1);
  }
  100% {
    opacity: 0.7;
    transform: scale(1);
    filter: brightness(1);
  }
}

.preloader-logo {
  animation: pulse 4s ease-in-out infinite;
}
.main-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.preloader-progress {
  width: 250px;
  position: relative;
}

.progress-bar {
  width: 0%;
  height: 2px;
  background: #a86373;
  border-radius: 1px;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.progress-text {
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #a86373;
  font-family: sans-serif;
  letter-spacing: 1px;
  opacity: 0.8;
}

.main-content.loaded {
  opacity: 1;
  transform: translateY(0);
}

.slider-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

nav {
  font-family: "Montserrat lt";
  position: fixed;
  top: 2rem;
  left: 50%;
  display: flex;
  width: 96%;
  transform: translateX(-50%);
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1rem;
  z-index: 3;
  color: #fff;
  transition: all 0.3s ease;
}

nav.scrolled {
  background-color: rgba(0, 0, 0, 0.3);
}

nav.scrolled .burger-line {
  background-color: #fff !important;
}

.slider {
  position: relative;
  width: 100%;
  height: 100lvh;
  overflow: hidden;
}

h1 {
  font-family: "dance";
  font-size: 80px;
  font-size: calc(var(--index) * 3);
  line-height: 110%;
  text-transform: uppercase;
}
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 15px;
}
.button_wrapper {
  font-family: "Montserrat";
  display: inline-flex; /* или flex */
  align-items: center;
  gap: 0.7rem;
  background-color: #fff;
  color: #000;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none; /* убираем подчеркивание */
  
  /* Делаем всю область кликабельной */
  position: relative;
  cursor: pointer;
  
  /* Плавные переходы для всех анимируемых свойств */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  
  /* Для лучшей производительности */
  will-change: transform, box-shadow;
}

/* Ховер-эффект с увеличением */
.button_wrapper:hover {
  /* Увеличение на 5-7% */
  transform: scale(1.05);
}

/* Активное состояние (при нажатии) */
.button_wrapper:active {
  transform: scale(0.98);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition-duration: 0.1s;
}

/* Если внутри есть иконка/стрелка */
.button_wrapper svg {
  transition: transform 0.5s ease;
}
.button_wrapper svg path{
  transition: transform 0.5s ease;
}

.button_wrapper:hover svg {
  transform: translateX(5px);
}
.nav_list {
  display: flex;
  gap: 4rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ------------бургер--------------- */
/* Бургер-меню */
.burger-menu {
  display: none;
  position: relative;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999; /* Повышен z-index */
}

/* Контент меню */
.burger-content {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 96vh; /* 100vh вместо 100% */
  background-color: #fff;
  padding: 60px 30px 30px;
  transition: right 0.4s ease;
  z-index: 1000; /* Выше чем оверлей */
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.burger-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.burger-close span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #000;
  position: absolute;
}

.burger-close span:first-child {
  transform: rotate(45deg);
}

.burger-close span:last-child {
  transform: rotate(-45deg);
}

.burger-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
}

.burger-link {
  display: block;
  padding: 15px 0;
  color: #000;
  text-decoration: none;
  font-size: 18px;
  border-bottom: 1px solid #eee;
  transition: color 0.3s ease;
}

.burger-link:hover {
  color: #666;
}

.burger-footer {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

/* Состояния активного меню */
.burger-menu.active .burger-overlay {
  opacity: 1;
  visibility: visible;
}

.burger-menu.active .burger-content {
  right: 0;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.burger-link {
  opacity: 0;
  transform: translateX(150px);
  transition: all 0.3s ease;
}

.burger-menu.active .burger-link {
  opacity: 1;
  transform: translateX(0);
}

.burger-menu.active .burger-link:nth-child(1) {
  transition-delay: 0.1s;
}
.burger-menu.active .burger-link:nth-child(2) {
  transition-delay: 0.2s;
}
.burger-menu.active .burger-link:nth-child(3) {
  transition-delay: 0.3s;
}
.burger-menu.active .burger-link:nth-child(4) {
  transition-delay: 0.4s;
}
/* --------------------------------- */

.slider-images {
  position: absolute;
  width: 100%;
  height: 100%;
}
.slider-images {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-color: rgba(0, 0, 0, 0.219);
}

.slider-images img {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: center;
  will-change: transform, opacity;
}
.slider-title {
  position: absolute;
  top: 50%;
  width: 80%;
  left: 2rem;
  transform: translateY(-50%);
  color: #fff;
}
.slider-par {
  font-family: "Montserrat exlt";
  font-size: calc(var(--index) / 1.2);
  position: absolute;
  top: 75%;
  width: 36%;
  left: 2rem;
  text-transform: uppercase;
  transform: translateY(-50%);
  color: #fff;
}
.button_slider {
  font-family: "Montserrat";
  display: inline-flex; /* или flex */
  align-items: center;
  gap: 1.5rem;
  background-color: #fff;
  color: #000;
  padding: 1rem 3rem;
  border-radius: 10px;
  margin-top: 2rem;
  text-decoration: none; /* убираем подчеркивание */

  /* Делаем всю область кликабельной */
  position: relative;
  cursor: pointer;
}

.slider-indicator {
  position: absolute;
  top: 80%;
  right: 2rem;
  transform: translateY(-50%);
}
.slider-indices {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.slider-indices p {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
}
.index {
  position: relative;
  width: 1.25rem;
  display: flex;
  justify-content: flex-end;
  will-change: opacity;
}

.marker {
  position: relative;
  width: 0.75rem;
  height: 1px;
  background-color: #fff;
  transform-origin: right;
  will-change: transform;
  transform: scaleX(0);
}
.slider-progress-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.35);
}

.slider-progress {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  width: 3px;
  height: 100%;
  background-color: #fff;
  transform-origin: top;
  will-change: transform;
}

.line {
  position: relative;
  display: block;
  will-change: transform;
}

/* ---------------------about--------------------- */
.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7rem;
  margin-bottom: 7rem;
  gap: 50px;
}

.about img {
  max-width: 418px;
  object-fit: cover;
  border-radius: 10px;
}
.about-content {
  width: 100%;
  max-width: 1000px;
}
.title-block {
  position: relative;
}
.title-block > .name {
  font-family: "dance";
  margin-bottom: 55px;
  font-size: calc(var(--index) * 3);
}
.name span {
  display: block;
  text-transform: uppercase;
}
.name {
  font-size: 52px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 2px;
}
.subtitle {
  font-family: "Montserrat lt";
  position: absolute;
  content: "";
  top: 0%;
  left: 30%;
  margin-top: 10px;
  font-size: calc(var(--index) / 1.5);
  line-height: 1.4;
}
.text-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
  font-size: calc(var(--index) / 1.6);
  line-height: 1.5;
}
.quote {
  margin-top: 65px;
  display: flex;
  align-items: flex-start;

  font-size: 16px;
  width: 100%;
}
.quote-sign {
  line-height: 0.7;
  margin-top: -15px;
  margin-right: -10px;
  z-index: 2;
}
.quote-box {
  font-family: "Montserrat it";
  background: #a86373;
  color: white;
  padding: 18px 22px;
  border-radius: 6px;
  width: 100%;
  font-size: calc(var(--index) / 1.8);
}
/* -------------------------------------------------- */
/* -----------------------cta------------------------ */
.cta {
  background-color: rgba(184, 145, 154, 0.2);
}
.cta-container {
  padding: 4rem 1rem;
  display: flex;
  margin-bottom: 5rem;
  flex-direction: column;
  align-items: center;
}
.cta-par {
  text-align: center;
  font-size: calc(var(--index) * 0.9);
  text-transform: uppercase;
}
.cta-par span {
  color: #411822;
}
.cta-list {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: calc(var(--index) * 0.7);
}
.cta-list_item {
  color: #411822;
  background: rgb(168, 99, 115, 0.6);
  text-transform: uppercase;
  text-align: center;
  align-content: center;
  height: 221px;
  max-width: 415px;
  padding: 0 15px;
  border-radius: 10px;
  flex: 1;
  width: 100%;
}
.cta-list_item span {
  color: #fff;
}
.button-cta {
  text-transform: uppercase;
  padding: 1rem 4rem;
  font-size: calc(var(--index) * 0.7);
}
/* -----------------------end cta------------------------ */

/* -------------------- cards----------------------------*/
h2 {
  font-family: "dance";
  font-size: calc(var(--index) * 3);
  line-height: 110%;
  text-transform: uppercase;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.meeting {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.meeting {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sticky-header {
  position: absolute;
  top: 27%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sticky-header h2 {
  position: relative;
  text-align: center;
  will-change: transform, opacity;
  transform: translateY(40px);
  opacity: 0;
}
.card-container {
  position: relative;
  width: 75%;
  display: flex;
  perspective: 1000px;
  transform: translateY(100px);
  will-change: width;
}

.card {
  position: relative;
  flex: 1;
  aspect-ratio: 5/5;
  transform-style: preserve-3d;
  transform-origin: top;
}

#card-1 {
  border-radius: 10px 0 0 10px;
}
#card-3 {
  border-radius: 0 10px 10px 0;
}
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: inherit;
  overflow: hidden;
}

.card-back {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  text-align: left;
  transform: rotateY(180deg);
  padding: 2rem;
}
.card-back p {
  font-size: calc(var(--index) / 1.8);
}

.card-back img {
  position: absolute;
  top: 2rem;
  left: 2rem;
}
.card-back span {
  position: absolute;
  top: 3rem;
  left: 8.5rem;
  font-size: calc(var(--index) * 0.7);
  text-transform: uppercase;
}
.card-back br {
  display: none;
}

#card-1 .card-back {
  background-color: var(--card-1);
  color: var(--card-3);
}

#card-2 .card-back {
  background-color: var(--card-2);
  color: #ffe5e6;
}
#card-2 .card-back span {
  color: #fff;
}
#card-3 .card-back span {
  color: #fff;
}

#card-3 .card-back {
  background-color: var(--card-3);
  color: #ffe5e6;
}

/* -------------------- end cards----------------------------*/

/* -------------------- start courses----------------------------*/
h3 {
  font-family: "dance";
  font-size: calc(var(--index) * 3);
  line-height: 110%;
  text-transform: uppercase;
  text-align: center;
}

.wrapper-courses {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}

.course-1 img {
  max-width: 600px;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
}
.info-course {
  background: #f0e8ea;
  max-width: 600px;
  padding: 20px;
  border-radius: 0 0 10px 10px;
}
    .info-course p:nth-of-type(2) {
			font-weight: 600;
    }
.buttons-course {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}
.button-course1 {
  background-color: #a86373;
  color: #fff;
  padding: 10px 45px 10px 45px;
  text-transform: uppercase;
}
.button-course1 svg path {
  fill: #fff;
}
.button-course2 {
  padding: 10px 45px 10px 45px;
  text-transform: uppercase;
}

/* -------------------- end courses----------------------------*/

/* -------------------- end courses----------------------------*/
.testimonials__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 30px;
}

.testimonials__info {
  max-width: 632px;
}

.testimonials__title {
  margin-bottom: 20px;
}

.testimonials__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.testimonials__prev,
.testimonials__next {
  background: transparent;
  cursor: pointer;
  border: 1.5px solid #a86373;
  border-radius: 50%;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.swiper-button-disabled.testimonials__prev,
.swiper-button-disabled.testimonials__next {
  border: 1.5px solid #e1d9e1;
  cursor: auto;
  background: #fff;
}

.swiper-button-disabled.testimonials__prev path,
.swiper-button-disabled.testimonials__next path {
  fill: #e1d9e1;
}

.swiper-button-disabled.testimonials__prev:hover,
.swiper-button-disabled.testimonials__next:hover {
  background: transparent;
}

.swiper-button-disabled.testimonials__prev:hover path,
.swiper-button-disabled.testimonials__next:hover path {
  fill: #a86373;
}

.testimonials__prev path,
.testimonials__next path {
  transition: var(--transition);
}

.testimonials__prev:hover,
.testimonials__next:hover {
  background: #a86373;
}
.testimonials__prev,
.testimonials__next {
  background: #e1c9ce;
  border: #e1c9ce;
}

.testimonials__prev:hover path,
.testimonials__next:hover path {
  fill: #fff;
}

.testimonials__slider {
  overflow: visible;
}

.testimonials__wrapper {
  margin-bottom: 40px;
}

.testimonials__slide {
  background: #a86373;
  border-radius: 10px;
  transition: var(--transition);
  opacity: 0;
  height: auto;
}

.swiper-slide-prev.testimonials__slide,
.swiper-slide-next.testimonials__slide {
  opacity: 0.5;
}

.testimonials__slide.swiper-slide {
  transform: scale(0.9);
}

.swiper-slide-active.testimonials__slide {
  transform: scale(1);
  opacity: 1;
}

.testimonials__student {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  height: 50px;
  background: #f0e8ea;
  border-radius: 10px 10px 0 0;
}
.button-testimonials {
  height: 35px;
  margin: 7px 15px 7px 0;
}

.testimonials__student-name {
  margin-bottom: 5px;
  line-height: 1.6;
  color: var(--accent-text);
  padding: 12px 15px;
}

.testimonials__quote {
  padding: 15px;
  color: #fff;
  font-weight: 400;
}
.testimonials__student-inst {
  margin: 0 auto;
  color: var(--accent-color-2);
}

.testimonials__scrollbar {
  background: #e1d0d4;
}

.testimonials__scrollbar.swiper-scrollbar {
  position: static;
  width: 100%;
  height: 7px;
}

.testimonials__scrollbar .swiper-scrollbar-drag {
  background: #a86373;
  cursor: pointer;
}

/* -------------------- end testimonials----------------------------*/

/* -------------------- start helpfull info----------------------------*/
.wrapper-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 50px;
}
.video-card1 {
  background: url("../img/video1.jpg") 50% 0% / cover no-repeat;
}
.video-card2 {
  background: url("../img/video2.jpg") 50% 0% / cover no-repeat;
}
.video-card3 {
  background: url("../img/video3.jpg") 50% 0% / cover no-repeat;
}
.video-card4 {
  background: url("../img/video4.jpg") 50% 0% / cover no-repeat;
}
.video-card5 {
  background: url("../img/video5.jpg") 50% 0% / cover no-repeat;
}
.video-card6 {
  background: url("../img/video6.jpg") 50% 0% / cover no-repeat;
}
.video-card {
  position: relative;
  border-radius: 10px;
  height: 450px;
  width: 100%; /* Убираем min-width */
}
.header-video {
  background: #f8f8f7;
  padding: 10px 10px;
  border-radius: 10px 10px 0 0;
  text-transform: uppercase;
  text-align: center;
}
.header-video span {
  color: #a86373;
}
.player {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  height: 80px;
  width: 80px;
  border-radius: 50%;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
	transition: all 0.4s;
}
.player:hover{
	transition: all 0.4s;
	 transform: translate(-50%, -50%) scale(1.1);
}
.player img {
  padding-left: 8.8%;
  width: 40px;
}
.helpfull_info p {
  margin: 0 auto;
  margin-top: 30px;
  text-transform: uppercase;
  text-align: center;
  max-width: 1200px;
}
.helpfull_info p > span {
  color: #a86373;
}
.socials {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 20px;
}
.socials-bg {
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
	transition: all 0.4s;
}
.socials-bg:hover {
  transition: all 0.4s;
	transform: scale(1.1);
}
.tg {
  background: url("../img/bg-socials.png") 50% 0% / cover no-repeat;
}
.insta {
  background: url("../img/bg-socials.png") 50% 0% / cover no-repeat;
}
.youtube {
  background: url("../img/bg-socials.png") 50% 0% / cover no-repeat;
}
.audio-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.audio-lightbox.active {
  display: flex;
}

.audio-content {
  background: #111;
  padding: 20px;
  border-radius: 12px;
  position: relative;
}

.audio-content audio {
  width: 300px;
}

.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  border: none;
	width: 25px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}
/* -------------------- end helpfull info----------------------------*/

/* -------------------- start contacts----------------------------*/
.contacts {
  margin-top: 8rem;
	margin-bottom: 4rem;
}
.contacts-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
.contacts-info p {
  text-transform: uppercase;
  max-width: 650px;
}
.contacts-button {
  margin-top: 60px;
  padding: 15px 45px;
}
.contacts-photo img {
  border-radius: 10px;
  width: 500px;
}
/* -------------------- end contacts----------------------------*/

/* -------------------- start footer----------------------------*/
.footer {
  background: #f0e8ea;
  color: #a86373;
  margin-top: 30px;
  padding-top: 30px;
}
.footer-menu {
  display: flex;
  justify-self: center;
  flex-direction: column;
}
.footer-menu img {
  margin: 30px 0;
  height: 100px;
}
.footer-menu p {
  text-align: center;
}

/* -------------------- end footer----------------------------*/

@media (max-width: 1250px) {
	
  .wrapper-courses {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .course-1 {
    display: flex;
  }

  .course-1 img {
    max-width: 500px;
    border-radius: 10px 0 0 10px;
    object-fit: cover;
  }
  .info-course {
    background: #f0e8ea;
    max-width: 100%;
    padding: 20px;
    border-radius: 0 10px 10px 0;
  }
  .buttons-course {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
  }
  .button-course1 {
    background-color: #a86373;
    color: #fff;
    padding: 10px 45px 10px 45px;
    text-transform: uppercase;
  }
  .button-course1 svg path {
    fill: #fff;
  }
  .button-course2 {
    padding: 10px 45px 10px 45px;
    text-transform: uppercase;
  }
}
@media (max-width: 1024px) {
  .nav_list {
    gap: 2rem;
  }

  .about {
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
    gap: 50px;
  }
  .about img {
    max-width: 500px;
    object-fit: cover;
    border-radius: 10px;
  }
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
  }
  .title-block {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
  }
  .title-block > .name {
    margin-bottom: 10px;
  }
  .subtitle {
    font-family: "Montserrat lt";
    position: relative;
    margin-top: 10px;
    text-align: center;
    left: 0;
    font-size: calc(var(--index) / 1.5);
    line-height: 1.4;
  }
  .name span {
    display: inline;
    margin-left: 0 !important;
  }
  .text-columns {
    text-align: center;
  }
  .quote {
    margin-top: 30px;
  }
  .quote-box {
    font-size: calc(var(--index) / 1.4);
  }

  .cta-container {
    margin-bottom: 2rem;
  }
  .cta-list {
    gap: 30px;
  }
  .card-back {
    padding: 1rem;
  }
  .card-back p {
    font-size: calc(var(--index) / 1.4);
  }
  .card-back img {
    width: 70px;
  }

  .course-1 img {
    max-width: 350px;
    border-radius: 10px 0 0 10px;
    object-fit: cover;
  }
  .button-course1 {
    background-color: #a86373;
    color: #fff;
    padding: 10px 25px 10px 25px;
    text-transform: uppercase;
  }
  .button-course1 svg path {
    fill: #fff;
  }
  .button-course2 {
    padding: 10px 25px 10px 25px;
    text-transform: uppercase;
  }
}
@media (max-width: 768px) {
  nav {
    top: 1rem;
  }
  .slider-title {
    align-content: center;
    top: 40%;
    left: 0;
    width: 100% !important;
    padding: 2rem;
  }
  .slider-title h1 {
    text-align: center;
  }
  .slider-par {
    top: 60% !important;
    left: 0;
    align-content: center;
    width: 100% !important;
  }
  .slider-par p {
    text-align: center;
    width: 60% !important;
    margin: 0 auto;
  }
  .nav_list {
    display: none;
  }

  .slider-indicator {
    top: unset;
    transform: none;
    bottom: 2rem;
  }
  .button_slider {
    font-family: "Montserrat";
    display: inline-flex; /* оставляем inline-flex */
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    background-color: #fff;
    color: #000;
    padding: 1rem 3rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-decoration: none;
    position: relative;
    cursor: pointer;

    /* Для центрирования inline-flex элемента */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .subtitle {
    font-family: "Montserrat lt";
    position: relative;
    margin-top: 10px;
    left: 0;
    font-size: calc(var(--index) / 1.1);
    line-height: 1.4;
  }

  .cta-container {
    padding: 3rem 1rem;
  }
  .cta-list {
    gap: 20px;
  }
  .cta-list_item {
    height: 170px;
  }
  .button-cta {
    padding: 0.5rem 2rem;
  }
  h2 {
    font-size: 3rem;
  }
  h3 {
    font-size: 3rem;
  }

  .meeting {
    height: max-content;
    padding: 0 2rem;
    flex-direction: column;
  }

  .sticky-header {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 4rem;
  }
  .sticky-header h2 {
    opacity: 1;
  }

  .card-container {
    width: 100%;
    gap: 2rem;
    transform: translateY(0px);
  }

  .card {
    width: 100%;
    margin: 0 auto;
    border-radius: 10px !important;
  }
  .card-back {
    padding: 1rem;
  }
  .card-back br {
    display: inline;
  }
  .card-back img {
    width: 45px;
  }
  .card-back span {
    top: 13%;
    left: 35%;
    padding-bottom: 70px;
  }
  .card-back p {
    font-size: calc(var(--index) / 1.5);
  }
  #card-1,
  #card-2,
  #card-3,
  .card-back {
    transform: none;
  }
  .card-container {
    flex-direction: column;
  }
  .card-back {
    padding: 2rem;
  }
  .card-back br {
    display: inline;
  }
  .card-back img {
    width: 80px;
  }
  .card-back span {
    top: 13%;
    left: 35%;
    padding-bottom: 70px;
    font-size: calc(var(--index) * 1.2);
  }
  .card-back p {
    font-size: calc(var(--index) * 1);
  }

  .courses {
    margin-top: 70px;
  }
  .wrapper-courses {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .course-1 {
    display: flex;
    flex-direction: column;
  }

  .course-1 img {
    max-width: 100%;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
  }
  .info-course {
    background: #f0e8ea;
    max-width: 100%;
    padding: 20px;
    border-radius: 0 0 10px 10px;
  }
  .buttons-course {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
  }

  .button-course1 {
    background-color: #a86373;
    color: #fff;
    padding: 10px 45px 10px 45px;
    text-transform: uppercase;
  }
  .button-course1 svg path {
    fill: #fff;
  }
  .button-course2 {
    padding: 10px 45px 10px 45px;
    text-transform: uppercase;
  }
  .testimonials__inner {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: calc(var(--index) * 2.3);
    line-height: 110%;
    text-transform: uppercase;
  }

  .burger-menu {
    display: block;
  }

  .desktop-menu,
  .desktop-logo {
    display: none;
  }

  .nav__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .slider-par {
    font-size: calc(var(--index) / 1);
  }
  .slider-par p {
    width: 80% !important;
  }
  .button_slider {
    padding: 0.6rem 1rem;
    border-radius: 10px;
    margin-top: 2rem;
  }
  .about {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    gap: 30px;
  }
  .text-columns {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    font-size: calc(var(--index) * 1);
  }

  .text-columns > div:nth-child(1) {
    text-align: left;
  }
  .text-columns > div:nth-child(2) {
    text-align: right;
  }
  .quote-sign svg {
    width: 60px;
  }
  .quote-box {
    font-size: calc(var(--index) * 1);
  }
  .about img {
    max-width: 350px;
    object-fit: cover;
    border-radius: 10px;
  }

  .cta-container {
    padding: 3rem 1rem;
    margin-bottom: 2.5rem;
  }
  .cta-list {
    gap: 20px;
  }
  .cta-list_item {
    height: 170px;
  }
  .button-cta {
    padding: 0.5rem 2rem;
  }

  .card-back span {
    font-size: calc(var(--index) * 1.4);
  }
  .card-back p {
    font-size: 16px;
  }
  .contacts-wrapper {
    flex-direction: column-reverse;
  }
  .contacts-info p {
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
  }
  .contacts-button {
    margin-top: 30px;
    width: 100%;
    padding: 20px 45px;
  }
  .contacts-photo img {
    border-radius: 10px;
    width: 500px;
  }
}

@media (max-width: 560px) {
	h2{  
  font-size: calc(var(--index) * 2.8);
}
h3{
	font-size: calc(var(--index) * 2.8);
}
	  .subtitle {
    font-size: calc(var(--index)* 1.1);
    line-height: 1.4;
  }
  .cta-container {
    padding: 3rem 1rem;
  }
  .cta-par {
    font-size: calc(var(--index) * 1.4);
  }
  .cta-list {
    flex-direction: column;
    gap: 20px;
    font-size: calc(var(--index) * 1.2);
  }
  .cta-list_item {
    max-width: 100%;
    width: 100%;
    height: 120px;
    flex: none;
  }
  .button-cta {
    padding: 0.8rem 4rem;
    font-size: calc(var(--index) * 1.2);
  }
  .button-course1 {
    background-color: #a86373;
    color: #fff;
    padding: 10px 25px 10px 25px;
  }
  .button-course2 {
    padding: 10px 25px 10px 25px;
    text-transform: uppercase;
  }
	.testimonials__text{
		text-align: center;
		font-size: 15px;
	}
	.testimonials__quote{
		font-size: 14px;
	}
  .contacts-button {
    margin-top: 30px;
    width: 100%;
    padding: 15px 45px;
  }
	.wrapper-videos{
		margin-top: 20px;
	}
	.helpfull_info p{
		font-size: calc(var(--index) * 1.2);
	}
	.contacts-info p{
			font-size: calc(var(--index) * 1.2);
	}
	.socials-bg{
		height: 60px;
  	width: 60px;
	}
	.socials-bg img{
		height: 30px;
  	width: 30px;
	}
}

  @media (max-width: 500px) {
		
    .info-course p:nth-of-type(2) {
      font-size: 22px !important;
			font-weight: 600;
    }

    /* Для подзаголовка "построение желаемой реальности." */
    .info-course p:nth-of-type(3) {
      font-size: 17px !important;
			text-transform: uppercase;
    }
  }
  @media (max-width: 460px) {
    .buttons-course {
      margin-top: 15px;
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    .button-course1 {
      background-color: #a86373;
      color: #fff;
      padding: 12px 25px 12px 25px;
      align-items: center;
      justify-content: center;
    }
    .button-course2 {
      padding: 15px 25px 15px 25px;
      text-transform: uppercase;
      align-items: center;
      justify-content: center;
    }
    .contacts-button {
      margin-top: 30px;
      width: 100%;
      padding: 15px 45px;
    }
  }

	@media (max-width: 400px) {
    .buttons-course {
      margin-top: 15px;
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    .button-course1 {
      background-color: #a86373;
      color: #fff;
      padding: 10px;
      align-items: center;
      justify-content: center;
			font-size: 14px;
    }
    .button-course2 {
      padding: 13px;
      text-transform: uppercase;
      align-items: center;
      justify-content: center;
			font-size: 14px;
    }
    .contacts-button {
      margin-top: 30px;
      width: 100%;
      padding: 15px 45px;
    }
		.card-back img{
			width: 50px;
		}
		.card-back p{
			font-size: 14px;
		}
		.button-testimonials{
			font-size: 12px;
		}
		.button-testimonials svg{
			width: 20px;
		}
		    .info-course p:nth-of-type(2) {
      font-size: 18px !important;
			font-weight: 600;
    }

    /* Для подзаголовка "построение желаемой реальности." */
    .info-course p:nth-of-type(3) {
      font-size: 16px !important;
			text-transform: uppercase;
    }
    .info-course p:nth-of-type(4) {
      font-size: 14px !important;

    }
  }
