html {
  overflow-y: scroll; /* всегда резервируем место под скроллбар */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  line-height: 1.5;
  background: #fff;
}

/* 1 блок (обложка) */
.hero-section {
  position: relative;
  background-image: url('/assets/Group\ 94334.png');
  background-size: cover;
  background-position: center top;   /* или center center */
  background-repeat: no-repeat;
  min-height: 100vh;                 /* или конкретная высота */
  color: #FFF5EE; 
}

/* Сам хедер — на всю ширину */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: all 0.35s ease;
}

/* Контейнер внутри — ограничивает и центрирует */
.header .container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Навигация в обычном состоянии (белый текст) */
.header__nav a {
  color: #FFF5EE !important;
  text-decoration: none !important;
  font-size: 16px;
  font-family: 'SF Pro Display', sans-serif;
  transition: opacity 0.3s ease;
}

.header__nav a:hover {
  opacity: 0.7;
}

/* ===== Состояние после скролла ===== */
.header.scrolled {
  background-color: #FFF9F5;
  padding: 14px 0;
  box-shadow: 0 4px 15px rgba(22, 22, 22, 0.1);
}

/* Состояние после скролла (светлый фон) */
.header.scrolled .header__nav a {
 color: #222222 !important;
}

/* На всякий случай ещё более сильный селектор */
.header.scrolled .header__nav a,
.header.scrolled nav a {
 color: #222222 !important;
}

/* Для логотипа-картинки */
.header .logo img {
  transition: filter 0.35s ease;
  display: block;
}

/* Когда хедер стал светлым — делаем логотип тёмным */
.header.scrolled .logo img {
  filter: brightness(0); /* белый → чёрный */
}
  
.logo {
      display: block;
  flex-shrink: 0;
  height: 27px;             /* подгони под реальное изображение */
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 99px;
  color: #FFF5EE;
}   

.header__nav a:hover {
  opacity: 0.65;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 50px;
  background-color: #EC722E;
  color: #FFF5EE;
  font-family: 'SF-Pro-Display-Medium';
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.header__btn:hover {
  background-color: #f19257;
}

.hero {
  text-align: center;
  padding-top: 490px;   /* отступ сверху, чтобы не перекрывался хедером */
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;

}

.hero-subtitle {

color: #FFF5EE;
font-size: 20px;
font-weight: 500;
word-wrap: break-word;
font-family: 'SF-Pro-Display-Medium';
margin-bottom: 24px;
letter-spacing: 0.3px;
opacity: 0.95;
padding: 0;
margin: 0;
opacity: 80%;
}

.hero-title {
  font-family: 'Playfair Display', serif;  /* или другой serif, который ты используешь */
  font-size: clamp(40px, 7.5vw, 92px);
  font-weight: 400;
  line-height: 101.8%;
  color: #FFF5EE;
  margin-bottom: 35px;
  letter-spacing: -4px;
  text-transform: uppercase;
}

.h-line { 
  gap: 35px;
  text-align: center;
}


.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.marquee {
  display: inline-flex;
  animation: marquee 35s linear infinite;
}

.marquee span {
  font-family: 'Sf pro display', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #FFF5EE;
  letter-spacing: -1px;
  text-transform: uppercase;
  padding-right: 10px; /* расстояние между повторениями */
  opacity: 80%;
}



/* Анимация */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Пауза при наведении (по желанию) */
.marquee-wrapper:hover .marquee {
  animation-play-state: paused;
} 

/* Бургер по умолчанию скрыт */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1005;
  position: relative;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* По умолчанию кнопка скрыта */
.hero-mobile-btn {
  display: none;
}

@media (max-width: 1280px){
 /* Сбрасываем возможные сдвиги */
  body, html {
    overflow-x: hidden;
  }

  .hero-section {
    width: 100%;
    min-height: 720px;
    height: 720px;
    background-size: cover;
    background-position: center center !important;
    background-repeat: no-repeat;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .header .container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 40px;
    height: auto;         
    align-items: center;
  }

  .hero {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding-top: 410px;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }

  .h-line {
    width: 100%;
    margin: 0 auto;
  }

  .marquee-wrapper {
    width: 100%;
    margin-top: 25px;
  }
  
  .logo img {
    height: 20px !important;
    width: auto !important;
    max-width: none;
  }

  .header__nav {
    gap: 80px;
  }

  .header__nav a {
    display: flex;
    align-items: center;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .header__btn {
    height: 35px;
    padding: 20px 40px;
    font-size: 14px;
  }

  .header {
    padding: 0;            /* убираем лишний padding */
  }

  .hero-subtitle {
    color: #FFF5EE;
    font-size:  16px;
  }

  .hero-title {
    font-family: 'Playfair Display', serif;  /* или другой serif, который ты используешь */
    font-size: clamp(86px, 46px + 3.12vw, 96px);
    font-weight: 400;
    line-height: 101.8%;
    color: #FFF5EE;
    margin-bottom: 0px;
    letter-spacing: -4px;
    text-transform: uppercase;
  }
  
  .h-line { 
    gap: 5px;
    text-align: center;
  }
  
  .marquee span {
    font-family: 'Sf pro display', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #FFF5EE;
    text-transform: uppercase;
    padding-right: 10px; /* расстояние между повторениями */
    opacity: 80%;
  }
}
@media (max-width: 905px) {
  .header {
    padding: 0;
  }
  .burger {
    display: flex;
    margin-left: auto;
    z-index: 1005;
    position: relative;
  }

  .header.scrolled .burger span {
    background: #222;
  }

  .header.scrolled .burger.active span {
    background: #fff;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: right 0.35s ease;
    z-index: 1002;
  }

  .header__nav.active {
    transform: translateX(0);
  }

  .header__nav a {
    color: #fff !important;
    font-size: 24px;
  }

  .header-button {
    display: none;
  }

  /* Отступы контейнера */
  .header .container {
    padding: 16px 24px !important;   /* было: 0 24px */
    height: auto !important;
    min-height: 56px;
    box-sizing: border-box;
    align-items: center;
  }
  .hero-mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 5px 60px;
    background-color: #EC722E;
    color: #FFF5EE;
    font-family: 'SF-Pro-Display-Medium';
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
  }
  .hero-title {
    font-family: 'Playfair Display', serif;  /* или другой serif, который ты используешь */
    font-size: clamp(60px, 12.5vw, 96px);
    font-weight: 400;
    line-height: 101.8%;
    color: #FFF5EE;
    margin-bottom: 0px;
    letter-spacing: -4px;
    text-transform: uppercase;
  }
  
}
@media (max-width: 768px) {

  .burger {
    display: flex;
    margin-left: auto;
  }

  /* Прячем обычную кнопку Записаться */
  .header-button {
    display: none !important;
  }

  .header__nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #111 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .header__nav.active {
    transform: translateX(0);
  }

  .header__nav a {
    font-size: 26px !important;
    color: #fff !important;
    text-decoration: none;
    opacity: 1 !important;
  }

  /* Крестик */
  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header.scrolled .burger span {
    background: #222;
  }

  .header.scrolled .burger.active span {
    background: #fff;
  }

  .hero-section {
    width: 100%;
    min-height: 1024px;
    height: 1024px;
    background-size: cover;
    background-position: center center !important;
    background-repeat: no-repeat;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .header .container {
    max-width: 768px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 30px;
    height: auto;
    align-items: center;
  }

   .hero {
    max-width: 768px;
    width: 100%;
    margin: 0 auto;
    padding-top: 513px;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }

  .header.scrolled .header__nav.active a {
    color: #ffffff !important;
  }
  
  .header__nav.active a {
    color: #ffffff !important;
    opacity: 1 !important;
  }

  .hero-subtitle {
    color: #FFF5EE;
    font-size: 16px;
    font-weight: 500;
    word-wrap: break-word;
    font-family: 'SF-Pro-Display-Medium';
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    opacity: 0.95;
    padding: 0;
    margin: 0;
    opacity: 80%;
  }

  .h-line {
    width: 100%;
    margin: 0 auto;
  }

  .marquee-wrapper {
    width: 100%;
    margin-top: 150px;
  }
  .marquee span {
  font-family: 'Sf pro display', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #FFF5EE;
  letter-spacing: -1px;
  text-transform: uppercase;
  padding-right: 10px; /* расстояние между повторениями */
  opacity: 80%;
}

  .hero-mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    height: 48px;
    padding: 5px 60px;
    background-color: #EC722E;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s ease;
  }
  .hero-title {
    font-family: 'Playfair Display', serif;  /* или другой serif, который ты используешь */
    font-size: clamp(60px, 12.5vw, 96px);
    font-weight: 400;
    line-height: 101.8%;
    color: #FFF5EE;
    margin-bottom: 0px;
    letter-spacing: -4px;
    text-transform: uppercase;
  }
}
@media (max-width: 480px) {

  .burger {
    display: flex;
    margin-left: auto;
  }

  /* Прячем обычную кнопку Записаться */
  .header-button {
    display: none !important;
  }

  .header__nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #111 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .header__nav.active {
    transform: translateX(0);
  }

  .header__nav a {
    font-size: 24px !important;
    color: #fff !important;
    text-decoration: none;
    opacity: 1 !important;
  }

  /* Крестик */
  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header.scrolled .burger span {
    background: #222;
  }

  .header.scrolled .burger.active span {
    background: #fff;
  }

  .hero-section {
    width: 100%;
    min-height: 480px;
    height: 694px;
    background-size: cover;
    background-position: center center !important;
    background-repeat: no-repeat;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .header .container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 16px;
    height: auto;
    align-items: center;
  }

  .hero {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding-top: 340px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .header.scrolled .header__nav.active a {
    color: #ffffff !important;
  }
  
  .header__nav.active a {
    color: #ffffff !important;
    opacity: 1 !important;
  }

  .hero-subtitle {
    color: #FFF5EE;
    font-size: 14px;
    font-weight: 500;
    word-wrap: break-word;
    font-family: 'SF-Pro-Display-Medium';
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    opacity: 0.95;
    padding: 0;
    margin: 0;
    opacity: 80%;
  }

  .h-line {
    width: 100%;
    margin: 0 auto;
  }

  .marquee-wrapper {
    width: 100%;
    margin-top: 80px;
  }

  .marquee span {
    font-family: 'Sf pro display', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FFF5EE;
    letter-spacing: -1px;
    text-transform: uppercase;
    padding-right: 10px; /* расстояние между повторениями */
    opacity: 80%;
  }

  .hero-mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
    height: 45px;
    padding: 5px auto !important;
    background-color: #EC722E;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s ease;
  }
  .hero-title {
    font-family: 'Playfair Display', serif;  /* или другой serif, который ты используешь */
    font-size:clamp(30px, 12.5vw, 60px);
    font-weight: 400;
    line-height: 101.8%;
    color: #FFF5EE;
    margin-bottom: 0px;
    letter-spacing: -5%;
    text-transform: uppercase;
  }
}
@media (max-width: 320px) {

  .burger {
    display: flex;
    margin-left: auto;
  }

  /* Прячем обычную кнопку Записаться */
  .header-button {
    display: none !important;
  }

  .header__nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #111 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .header__nav.active {
    transform: translateX(0);
  }

  .header__nav a {
    font-size: 20px !important;
    color: #fff !important;
    text-decoration: none;
    opacity: 1 !important;
  }

  /* Крестик */
  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header.scrolled .burger span {
    background: #222;
  }

  .header.scrolled .burger.active span {
    background: #fff;
  }

  .hero-section {
    width: 100%;
    min-height: 320px;
    height: 525px;
    background-size: cover;
    background-position: center center !important;
    background-repeat: no-repeat;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .header .container {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 10px;
    height: auto;
    align-items: center;
  }

  .hero {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    padding-top: 248px;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }

  .header.scrolled .header__nav.active a {
    color: #ffffff !important;
  }
  
  .header__nav.active a {
    color: #ffffff !important;
    opacity: 1 !important;
  }

  .hero-subtitle {
    color: #FFF5EE;
    font-size: 12px;
    font-weight: 500;
    word-wrap: break-word;
    font-family: 'SF-Pro-Display-Medium';
    margin-bottom: 5px;
    letter-spacing: 0.3px;
    opacity: 0.95;
    padding: 0;
    margin: 0;
    opacity: 80%;
  }

  .h-line {
    width: 100%;
    margin: 0 auto;
  }

  .marquee-wrapper {
    width: 100%;
    margin-top: 50px;
  }

  .marquee span {
  font-family: 'Sf pro display', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #FFF5EE;
  letter-spacing: -1px;
  text-transform: uppercase;
  padding-right: 10px; /* расстояние между повторениями */
  opacity: 80%;
}

  .hero-mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
    height: 35px;
    padding: 3px auto;
    background-color: #EC722E;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s ease;
  }
  .hero-title {
    font-family: 'Playfair Display', serif;  /* или другой serif, который ты используешь */
    font-size: clamp(30px, 9vw, 40px);
    font-weight: 400;
    line-height: 101.8%;
    color: #FFF5EE;
    margin-bottom: 0px;
    letter-spacing: -5%;
    text-transform: uppercase;
  }
}

.title {
  /* По умолчанию для самых маленьких экранов (меньше 320px) */
  font-size: 40px; 
}




/* 2 блок (обо мне) */
.about {
  background: #ffffff;
  padding: 150px 0;
}

.about__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 150px;
  display: grid;
  grid-template-columns: 215px 1fr 215px;
  gap: 60px;
  align-items: start;
}

.about__image {
  margin-top: 50px;
}

.about__image img {
  width: 215px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.about__content {
  text-align: center;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 95%;
  color: #222222;
  letter-spacing: -1px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 20px;
}

.about__content p {
  font-family: 'SF-Pro-Display-Regular', sans-serif;
  font-size: 16px;
  line-height: 100%;
  color: #222222;
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 1280px){
.about {
    padding: 100px 0 100px !important;
  }

  .about__container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px !important;
    grid-template-columns: 180px 1fr 180px;
    gap: 40px;
    align-items: start;
  }

/* Убираем лишний отступ слева */
  .about__image--left {
    padding-left: 0 !important;
  }

  .about__image {
    margin-top: 35px;
  }

  .about__image img {
    max-width: 180px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
  }

  .about-title {
    max-width: 670px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 39px !important;      /* правильный размер */
    font-weight: 400;
    line-height: 95% !important;
    letter-spacing: -0.8px;
    color: #222222;
    display: block;
  }

  .about__content p {
    font-size: 14px;
    line-height: 100%;
    max-width: 100%;
  }
}
@media (max-width: 768px){
 .about {
    padding: 100px 0 100px;
  }

  .about__container {
    max-width: 100%;
    padding: 0 30px;
    flex-direction: column;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "content content"
      "left right";
    gap: 10px;
  }

  /* Картинки переносим вниз и ставим в ряд */
  .about__image {
    margin-top: 0;
    order: 2; /* картинки после текста */
  }

  .about__image img {
    width: 160px;
    border-radius: 10px;
  }

  /* Контент сверху */
  .about__content {
    order: 1;
    width: 100%;
    grid-area: content;
  }

  .about-title {
    margin-bottom: 15px;
    max-width: 550px;
    font-family: 'Playfair Display', serif;
    font-size: 32px !important;      /* правильный размер */
    font-weight: 400;
    line-height: 95% !important;
    letter-spacing: -0.8px;
    color: #222222;
    display: block;
  }

  .about__content p {
    font-size: 14px;
    line-height: 100%;
    max-width: 100%;
  }

  /* Чтобы две картинки стояли рядом */

  .about__image--left {
    grid-area: left;
    justify-self: end;
  }

  .about__image--right {
    grid-area: right;
    justify-self: start;
  }
}
@media (max-width: 480px){
 .about {
    padding: 80px 0 80px !important;
  }

  .about__container {
    max-width: 100%;
    padding: 0 16px !important; 
    flex-direction: column;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "content content"
      "left right";
    gap: 10px;
  }

  /* Картинки переносим вниз и ставим в ряд */
  .about__image {
    margin-top: 0;
    order: 2; /* картинки после текста */
  }

  .about__image img {
    width: 160px;
    border-radius: 7px;
  }

  /* Контент сверху */
  .about__content {
    order: 1;
    width: 100%;
    grid-area: content;
  }

  .about-title {
    margin-bottom: 10px;
    max-width: 512px;
    font-family: 'Playfair Display', serif;
    font-size: 32px !important;      /* правильный размер */
    font-weight: 400;
    line-height: 95% !important;
    letter-spacing: -0.8px;
    color: #222222;
    display: block;
  }

  .about__content p {
    font-size: 14px;
    line-height: 100%;
    max-width: 100%;
  }


  .about__content {
    grid-area: content;
  }

  .about__image--left {
    grid-area: left;
    justify-self: end;
  }

  .about__image--right {
    grid-area: right;
    justify-self: start;
  }
}
@media (max-width: 320px){
 .about {
    padding: 50px 0 50px !important;
  }

  .about__container {
    max-width: 100%;
    padding: 0 10px !important; 
    flex-direction: column;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "content content"
      "left right";
    gap: 10px;
  }

  /* Картинки переносим вниз и ставим в ряд */
  .about__image {
    margin-top: 0;
    order: 2; /* картинки после текста */
  }

  .about__image img {
    width: 129px;
    border-radius: 5px;
  }

  /* Контент сверху */
  .about__content {
    order: 1;
    width: 100%;
    grid-area: content;
  }

  .about-title {
    margin-bottom: 10px;
    max-width: 268px;
    font-family: 'Playfair Display', serif;
    font-size: 22px !important;      /* правильный размер */
    font-weight: 400;
    line-height: 90% !important;
    letter-spacing: -0.8px;
    color: #222222;
    display: block;
  }

  .about__content p {
    font-size: 10px;
    line-height: 100%;
    max-width: 100%;
  }

  .about__image--left {
    grid-area: left;
    justify-self: end;
  }

  .about__image--right {
    grid-area: right;
    justify-self: start;
  }
}





/* 3 блок (консультации) */
.consultations {
  background: #ffffff;
  padding: 0 0 150px;
}

.consultations-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 150px;
  width: 100%;
}

.consultations-header {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* две равные половины */
  gap: 40px;
  align-items: start;
  margin-bottom: 30px;          
}

.consultations-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 400;
  color: #222222;
  margin: 0;
}

.what-you-get {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.what-you-get-line {
  width: 2px;
  background: #EC722E;
  flex-shrink: 0;
  align-self: stretch;
}

.what-you-get-content{
  margin-right: 0; 
}

.what-you-get-content h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #222222;
  padding: 0 0;
  line-height: 100%;
}

.what-you-get-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.what-you-get-content li {
  font-size: 16px;
  color: #222222;
  line-height: 1.6;
}

/* ========== СЕТКА КАРТОЧЕК ========== */
.cards-grid {
  max-width: 1600px;
  margin: auto;
  justify-content: space-between;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;               /* ← обязательно */
}

.what-you-get-card {
  display: none;
}

.cards-grid article {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  width: 420px;
}

.cards-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Картинка карточки */
.cards-grid article > div:first-child {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Тёплый оранжевый оверлей
.cards-grid article > div:first-child::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 148, 86, 0.55), rgba(255, 180, 120, 0.35));
  mix-blend-mode: multiply;
} */

/* Текст карточки */
.cards-grid article > div:last-child {
  min-height: 56px;          /* фиксированная высота */
  height: 56px;              /* жёстко фиксируем */
  display: flex;
  align-items: center;       /* текст по центру по вертикали */
  justify-content: center;
  padding: 8px 12px;
  box-sizing: border-box;
  background: #FDF2ED;
  border: 1px solid #DAD2CE;
  border-bottom-left-radius: 10px ;
  border-bottom-right-radius: 10px;
  text-align: center;        /* на всякий случай */
}

.cards-grid article p {
  font-family: 'SF-Pro-Display-Regular' ;
  font-size: 16px;
  font-weight: 500;
  text-align: center; 
  letter-spacing: 0;
  color: #222222;
  line-height: 100%;
  margin: 0;
  text-transform: uppercase;
}

.cards-grid article.what-you-get-card {
  display: none;
}

/* ========== ПОПАП ========== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: #FFF5EE;
  border-radius: 10px;
  max-width: 660px;
  width: 100%;
  overflow-y: auto;
  position: relative;
  padding: 30px 30px;
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup {
  transform: translateY(0);
}

.popup-close {
  width: 45px;
  height: auto;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #222222;
}

.popup-content h3 {
  font-family: 'SF-Pro-Display-Medium', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 15px;
  color: #222222;
  text-transform: uppercase;
  line-height: 100%;
}

.subtitle-popup {
  font-size: 20px;
  font-family: 'SF-Pro-Display-Medium';
  margin-bottom: 5px;
  color: #222222;
  line-height: 100%;
}

.popup-description{
    font-size: 14px;
  font-family: 'SF-Pro-Display-Regular';
  margin-bottom: 10px;
  color: #222222;
  line-height: 1.4;
  opacity: 80%;
}

.price {
  font-size: 24px;
  font-family: 'SF-Pro-Display-Medium';
  margin-top: 15px;
  margin-bottom: 20px;
  color: #222222;
  line-height: 90%;
}

.popup-line{
  width: auto;
  height: 2px;
  background:  #A0A0A0;
  opacity: 28%;
  margin-bottom: 20px;
}

/* 
.popup-content p {
  font-family:'SF-Pro-Display-Regular' ;
  font-size: 16px;
  line-height: 1.7;
  color: #222222;
  margin-bottom: 16px;
} */

.popup-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.popup-content li {
  font-size: 15px;
  line-height: 1.6;
  color: #222222;
  margin-bottom: 8px;
}

.popup-btn {
  display: block;               /* важно */
  width: fit-content;           /* или max-content */
  margin: 24px auto 0;          /* центрируем */
  background: #EC722E;
  color: #FFF5EE;
  border: none;
  border-radius: 50px;
  padding: 12px 50px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  text-align: center;
}

.popup-btn:hover {
  background: #f19257;
}

body.popup-open {
  overflow: hidden;
}
.popup-content .text1 {
  font-size: 16px;
  line-height: 1.4;
  color: #222;
}



@media (max-width: 1280px) {
  .consultations {
    padding: 0 0 100px;
  }
  
  .consultations-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
  }
  
  .consultations-header {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* две равные половины */
    gap: 40px;
    align-items: start;
    margin-bottom: 20px;
  } 

  .consultations-title {
    font-size: 34px;
    margin: 0;
    margin-right: 0;       /* фиксированное расстояние */
  }
  .what-you-get-card {
    display: none;
}

  .what-you-get {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }
  
  .what-you-get-line {
    width: 2px;
    background: #EC722E;
    flex-shrink: 0;
    align-self: stretch;             /* линия на всю высоту текста */
  }

  .what-you-get-content{
    margin-right: 0;
  }

  .what-you-get-content li {
    font-size: 14px;
    line-height: 100%;
    gap: 5px;
  }
  
  .cards-grid article.what-you-get-card {
    display: none;
  }

  .cards-grid {
    max-width: 1280px;
    margin: auto;
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;               /* ← обязательно */
  }

  .cards-grid article {
    width: 100%;
  }

  .cards-grid article > div:last-child {
    min-height: 50px;
    background: #FDF2ED;
    border: 1px solid #DAD2CE;
    border-bottom-left-radius: 10px ;
    border-bottom-right-radius: 10px;
  }
  
  .cards-grid article p {
    font-size: 14px;
    text-transform: uppercase;
  }
  
  .popup {
    background: #FFF5EE;
    border-radius: 10px;
    max-width: 660px;
    width: 100%;
    max-height: auto;
    overflow-y: auto;
    position: relative;
    padding: 20px 20px;
  }

  .popup-close {
    width: 35px;
    top: 15px;
    right: 15px;
  }
  
  .popup-content h3 {
    font-size: 20px;
  }

  .subtitle-popup {
    font-size: 16px;
  }
  
  .popup-description{
    font-size: 12px;
  }
  
  .price {
    font-size: 20px;
    font-family: 'SF-Pro-Display-Medium';
    margin-top: 10px;
    margin-bottom: 15px;
  }
  
  .popup-line{
    width: auto;
    height: 2px;
    background:  #A0A0A0;
    opacity: 28%;
    margin-bottom: 15px;
  }

  .popup-btn {
    margin: 24px auto 0;          /* центрируем */
    padding: 10px 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .consultations {
    padding: 0 0 100px;
  }
  
  .consultations-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
  }

  .consultations-header {
 display: flex;
    flex-direction: column;     /* друг под другом */
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 30px;
  }
  
  .consultations-title {
    font-size: 34px;
    margin: 0;
  }

  .what-you-get {
   display: flex;
    flex-direction: column;     /* или row, если линия слева нужна */
    align-items: center;
    gap: 10px;
    max-width: 100%;
  }
  
  .what-you-get-content {
    max-width: 340px;
    margin-right: 0;
    text-align: center;
  }

  .what-you-get-content li {
    font-size: 14px;
    margin-bottom: 3px;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 100%;
  }

  .cards-grid article {
    width: 100%;
  }
  
  .cards-grid article > div:last-child {
    min-height: 48px;
    height: 48px;
    padding: 6px 10px;
    background: #FDF2ED;
    border: 1px solid #DAD2CE;
    border-bottom-left-radius: 10px ;
    border-bottom-right-radius: 10px;
  }

  .cards-grid article p {
    font-size: 14px;
    text-transform: uppercase;
  }
  
  .popup {
    background: #FFF5EE;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: auto;
    overflow-y: auto;
    position: relative;
    padding: 15px 15px;
  }

  .popup-close {
    width: 30px;
    top: 10px;
    right: 10px;
  }
  
  .popup-content h3 {
    font-size: 16px;
  }

  .subtitle-popup {
    font-size: 16px;
  }
  
  .popup-description{
    font-size: 12px;
  }
  
  .price {
    font-size: 16px;
    font-family: 'SF-Pro-Display-Medium';
    margin-top: 15px;
    margin-bottom: 10px;
  }
  
  .popup-line{
    width: auto;
    height: 1px;
    background:  #A0A0A0;
    opacity: 28%;
    margin-bottom: 10px;
  }

  .popup-btn {
    margin: 20px auto 0;          /* центрируем */
    padding: 10px 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .consultations {
    padding: 0 0 80px;
  }
  
  .consultations-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
  }

  .consultations-header {
   display: flex;
    flex-direction: column;     /* друг под другом */
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 20px;
  } 

  .consultations-title {
    font-size: 24px;
    margin: 0;
  }

  .what-you-get {
  display: flex;
    flex-direction: column;     /* или row, если линия слева нужна */
    align-items: center;
    gap: 10px;
    max-width: 100%;
  }

 .what-you-get-content {
   max-width: 280px;
    margin-right: 0;
    text-align: center;
  }
  
  .cards-grid article.what-you-get-card {
    display: none;
  }

  .what-you-get-content li {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
    margin: auto;
    justify-content: space-between;
    display: grid;
    width: 100%;       
  }

  .cards-grid article {
    width: 100%;
    height: 143px;
  }
  
  .cards-grid article > div:last-child {
    min-height: 46px;
    height: 46px;
    padding: 6px 10px;
    background: #FDF2ED;
    border: 1px solid #DAD2CE;
    border-bottom-left-radius: 10px ;
    border-bottom-right-radius: 10px;
  }

  .cards-grid article p {
    font-size: 12px;
    text-transform: none;
  }
  
  .popup {
    background: #FFF5EE;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: auto;
    overflow-y: auto;
    position: relative;
    padding: 20px 20px;
  }

  .popup-close {
    width: 30px;
    top: 10px;
    right: 10px;
  }
  
  .popup-content h3 {
    font-size: 14px;
    padding-right: 40px;
  }

  .subtitle-popup {
    font-size: 12px;
  }
  
  .popup-description{
    font-size: 10px;
  }
  
  .price {
    font-size: 14px;
    font-family: 'SF-Pro-Display-Medium';
    margin-top: 15px;
    margin-bottom: 10px;
  }
  
  .popup-line{
    width: auto;
    height: 1px;
    background:  #A0A0A0;
    opacity: 28%;
    margin-bottom: 10px;
  }

  .popup-btn {
    margin: 20px auto 0;          /* центрируем */
    padding: 10px 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    text-align: center;
  }

    .popup-content .text1 {
    font-size: 12px !important;
  }
}
@media (max-width: 380px) {
  .cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
 .cards-grid article.what-you-get-card {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    background: #FDF2ED;
    border-radius: 12px;
    padding: 12px 10px;
    min-height: 143px;
    box-shadow: none;
    border: 1px solid #e0d9d6;
  }

  .what-you-get-content{
    display: none;
  }

  .what-you-get-card h3 {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #222222;
    line-height: 1.2;
  }

  .what-you-get-card ul {
    display: block;
    list-style-type: disc;
    padding-left: 7px;
    margin: 0;
  }
 .what-you-get-card li {
    display: list-item;
    font-size: 10px;
    line-height: 100%;
    margin-bottom: 4px;
    color: #222222;
  }
  
  .popup {
    padding: 10px 10px;
    border-radius: 8px;
    max-width: calc(100% - 20px);
    box-sizing: border-box;
    background: #FFF5EE;
    border-radius: 5px;
    width: 100%;
    max-height: auto;
    overflow-y: auto;
    position: relative;

  }

  .popup-close {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .popup-close img {
    width: 16px !important;
    height: 16px !important;
    display: block;
  }

  .popup-content h3 {
    font-size: 12px;
  }

  .subtitle-popup {
    font-size: 10px;
  }
  
  .popup-description{
    font-size: 10px;
  }
  
  .price {
    font-size: 12px;
    font-family: 'SF-Pro-Display-Medium';
    margin-top: 10px;
    margin-bottom: 5px;
  }
  
  .popup-line{
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    height: 1px;
    background:  #A0A0A0;
    opacity: 28%;
    margin-bottom: 10px;
  }

  .popup-btn {
    margin: 15px auto 0;          /* центрируем */
    padding: 5px 30px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    text-align: center;
  }

  .text1 {
    font-size: 12px !important;
  }
}
@media (max-width: 320px) {
.consultations-header .what-you-get {
    display: none !important;
  }

  .cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cards-grid article.what-you-get-card {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    background: #FDF2ED;
    border-radius: 12px;
    padding: 12px 10px;
    min-height: 143px;
    box-shadow: none;
    border: 1px solid #e0d9d6;
  }

  .what-you-get-card h3 {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #222222;
    line-height: 1.2;
  }

  .what-you-get-card ul {
    display: block;
    list-style-type: disc;
    padding-left: 7px;
    margin: 0;
  }

  .what-you-get-card li {
    display: list-item;
    font-size: 10px;
    line-height: 100%;
    margin-bottom: 4px;
    color: #222222;
  }
  
  .popup {
    background: #FFF5EE;
    border-radius: 5px;
    max-width: 600px;
    width: 100%;
    max-height: auto;
    overflow-y: auto;
    position: relative;
    padding: 10px 10px;
  }

  .popup-close {
    width: 15px !important;
    height: auto;
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .popup-content h3 {
    font-size: 12px;
  }

  .subtitle-popup {
    font-size: 14px;
  }
  
  .popup-description{
    font-size: 10px;
  }
  
  .popup-content .text1 {
  font-size: 10px !important;
  line-height: 1.0;
  color: #222;
}

  .price {
    font-size: 12px;
    font-family: 'SF-Pro-Display-Medium';
    margin-top: 10px;
    margin-bottom: 5px;
  }
  
  .popup-line{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    height: 1px;
    background:  #A0A0A0;
    opacity: 28%;
    margin-bottom: 10px;
  }

  .popup-btn {
    margin: 15px auto 0;          /* центрируем */
    padding: 5px 30px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    text-align: center;
  }
}





/* 4 блок (как я могу помочь) */
.help-conteiner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 150px;
  width: 100%;
  text-align: center;
}

.help-text {
  font-family: 'Playfair Display';
  font-size: 32px;
  color: #222222;
  letter-spacing: -1px;
  line-height: 90%;
  margin-bottom: 20px;
}

.help-img img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

.help-img {
  margin-bottom: 150px;
  align-items: center;
}

h4{
  font-family:'SF-Pro-Display-Semibold' ;
  font-size: 20px;
  color: #222222;
  margin-bottom: 20px;
  line-height: 100%;
}

@media (max-width: 1280px){
.help-conteiner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;          /* исправлено с 40x на 40px */
    width: 100%;
    text-align: center;
  }

  h4 {
    font-family: 'SF-Pro-Display-Semibold', sans-serif;
    font-size: 16px;
    color: #222222;
    margin-bottom: 20px;
    line-height: 100%;
  }

  .help-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px;
    margin-bottom: 20px !important;
    max-width: 994px;
    margin-left: auto;
    margin-right: auto;
  }

  .help-img {
    margin-bottom: 80px;
    max-height: 290px;
  }

  .help-img img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
}
@media (max-width: 768px) {
  .help-conteiner {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 30px;         
    width: 100%;
    text-align: center;
    
  }

  h4 {
    font-family: 'SF-Pro-Display-Semibold', sans-serif;
    font-size: 16px;
    color: #222222;
    margin-bottom: 20px;
    line-height: 100%;
  }

  .help-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px !important;
    line-height: 100% !important;
    letter-spacing: -0.5px;
    margin-bottom: 20px !important;
    max-width: 994px;
    margin-left: auto;
    margin-right: auto;
  }

  .help-img {
    margin-bottom: 80px;
    width: auto;
    height: auto;
    border-radius: 10px;
  }


}
@media (max-width: 480px) {
  .help-conteiner {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    text-align: center;
  }

  h4 {
    font-family: 'SF-Pro-Display-Semibold', sans-serif;
    font-size: 14px;
    color: #222222;
    margin-bottom: 14px;
    line-height: 100%;
  }

  .help-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px !important;
    line-height: 100% !important;
    letter-spacing: -0.5px;
    margin-bottom: 20px !important;
    max-width: 448px;
    margin-left: auto;
    margin-right: auto;
  }

  .help-img {
    display: block;           /* важно */
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 80px;      /* ← центрирование */
  }


}
@media (max-width: 320px) {
  .help-conteiner {
    max-width: 320px;
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
    text-align: center;
  }

  h4 {
    font-family: 'SF-Pro-Display-Semibold', sans-serif;
    font-size: 12px;
    color: #222222;
    margin-bottom: 10px;
    line-height: 100%;
  }

  .help-text {
    font-family: 'Playfair Display', serif;
    font-size: 14px !important;
    line-height: 100% !important;
    letter-spacing: -0.5px;
    margin-bottom: 10px !important;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .help-img {
    display: block;           /* важно */
    width: 200px;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 0 auto 50px;      /* ← центрирование */
  }


}






/* 4 блок (Что вы получите) */
.benefits {
  background: #ffffff;
  padding: 0 0;
}

.benefits__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 150px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px;
  align-items: center;
}

.benefits__title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 400;
  color: #222222;
  margin-bottom: 30px;
  line-height: 1.1;
}

.benefits__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #e5e5e5;    /* линия сверху */
  border-bottom: 1px solid #e5e5e5; /* линия снизу */
}

.benefits__list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
}

.benefits__list li:last-child {
  border-bottom: none;
}

.benefits__number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #EC722E;
  color: #FFF5EE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-family: 'SF-Pro-Display-Regular';
  font-weight: 500;
}

.benefits__list p {
  font-size: 20px;
  line-height: 110.9%;
  color: #222222;
  margin: 0;
  font-family: 'SF-Pro-Display-Regular';
}

.benefits__image img {
  width: 100%;
  height: 476px;
  border-radius: 15px;
  display: block;
  object-fit: cover;
  margin-top: 65px;
}

@media (max-width: 1280px) {
  .benefits__container {
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 40px !important;          /* принудительно */
    display: grid !important;
    grid-template-columns: 1fr 360px !important;
    gap: 15px !important;
    align-items: center;
  }

  .benefits__title {
    font-size: 34px !important;
    margin-bottom: 30px !important;
  }

  .benefits__list p {
    font-size: 20px !important;
  }

  .benefits__number {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
  }

  .benefits__image img {
    height: 420px !important;
    margin-top: 50px !important;
  }

  .benefits__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
  }
}
@media (max-width: 768px) {
  .benefits__container {
    
    max-width: 768px;
    margin: 0 auto;
    padding: 0 30px !important;        
    display: flex  !important;
    align-items: center;
    flex-direction: column;
    grid-template-columns:none
  
  }

  .benefits__title {
    font-size: 34px ;
    margin-bottom: 20px ;
    align-items: center;
    text-align: center;
  }

  .benefits__list p {
    font-size: 20px ;
  }

  .benefits__number {
    width: 28px ;
    height: 28px ;
    font-size: 16px ;
  }

  .benefits__image img {

    display: none;
  }

  .benefits__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
  }
}
@media (max-width: 480px) {
  .benefits__container {
    
    max-width: 480px !important;
    margin: 0 auto;
    padding: 0 16px !important;        
    display:flex  !important;
    align-items: center;
    flex-direction: column;
    grid-template-columns:none
  
  }

  .benefits__title {
    font-size: 24px !important;
    margin-bottom: 16px !important;
    align-items: center;
    text-align: center;
  }

  .benefits__list p {
    font-size: 14px !important;
  }

  .benefits__number {
    width: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
  }

  .benefits__image img {

    display: none;
  }

  .benefits__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
  }
}
@media (max-width: 320px) {
  .benefits__container {
    
    max-width: 320px !important;
    margin: 0 auto;
    padding: 0 10px !important;        
    display:flex  !important;
    align-items: center;
    flex-direction: column;
    grid-template-columns:none
  
  }

  .benefits__title {
    font-size: 18px !important;
    margin-bottom: 10px !important;
    align-items: center;
    text-align: center;
  }

  .benefits__list p {
    font-size: 12px !important;
  }

  .benefits__number {
    width: 16px !important;
    height: 16px !important;
    font-size: 10px !important;
    align-items: center;
  }

  .benefits__image img {

    display: none;
  }

  .benefits__list li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    border-bottom: 1px solid #e5e5e5;
  }
}






/* 5 блок (Подходит тем) */
.block6 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 150px 150px;
  width: 100%;
  text-align: center;
}

.block6 h2 {
  line-height: 90%;
}
.block6 h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;      /* базовый размер */
  font-weight: 400;
  line-height: 1.15;
  color: #222;
  margin: 0 auto;
  max-width: 1000px;
}

@media (max-width: 1280px){
.block6 {
    margin-top: 100px !important;
    margin-bottom: 100px !important;
    padding: 0 40px !important;
    text-align: center;
  }

  .block6 h2 {
    font-size: 36px !important;
    line-height: 1.2 !important;
    max-width: 900px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .block6 {
    margin-top: 100px;
    margin-bottom: 100px ;
    padding: 0 30px ;
    text-align: center;
  }

  .block6 h2 {
    font-size: 36px ;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: -1px;
  }
}
@media (max-width: 480px) {
  .block6 {
    margin-top: 80px !important;
    margin-bottom: 80px !important;
    padding: 0 16px ;
    text-align: center;
  }

  .block6 h2 {
    font-size: 30px !important;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: -1px;
  }
}
@media (max-width: 320px) {
  .block6 {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    padding: 0 10px ;
    text-align: center;
  }

  .block6 h2 {
    font-size: 20px !important;
    max-width: 268px;
    margin: 0 auto;
    letter-spacing: -1%;
  }
}





/* 6 блок (почему я) */
.why-me {
  padding: 0 0 0;
  background: #fff;
  margin-bottom: 0;
}

.why-me + section,
.reviews {
  margin-top: 0 !important;
  padding-top: 80px; /* если нужен отступ — ставь здесь */
}

.why-me__header {
  max-width: 1600px;
  margin: 0 auto 30px;
  padding: 0 150px;
}

.why-me__header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 400;
  color: #222222;
  margin: 0;
}

/* Обёртка со скроллом */
.why-me__wrapper {
 overflow: hidden;
  width: 100%;
  padding: 100px 0 100px; /* отступ снизу, чтобы было место */
  background-image: url('/assets/icons/фон\ блок\ 7.png'); /* твой фон */
  background-size: cover;
  background-position: center;
  

}

/* Трек с карточками */
.why-me__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-left: 50px;
  padding-right: 200px;
  will-change: transform;
  
}

/* Карточка */
.why-me__card {
  flex: 0 0 328px;
  background: #FFC18A;
  border-radius: 10px;
  padding: 15px 15px;
  min-height: 328px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.why-me__card-header {
  margin-bottom: 20px;
}

.why-me__card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 93.9%;
  color: #222222;
  margin: 0 0 10px;
  text-align: left;
}

.why-me__card p {
  font-size: 16px;
  line-height: 120%;
  color: #222222;
  margin: 0;
  font-family:'SF-Pro-Display-Regular' ;
  opacity: 90%;
}

.why-me__subtitle {
  font-size: 13px;
  opacity: 70%;
  margin-bottom: 0px !important;
}

/* По умолчанию мобильная версия скрыта */
.why-me__mobile {
  display: none;
}

@media (max-width: 1280px) {
  .why-me__header {
    max-width: 1280px !important;
    padding: 0 40px !important;
    margin-bottom: 24px !important;
  }

  .why-me__header h3 {
    font-size: 34px !important;
  }

  .why-me__wrapper {
    padding: 70px 0 !important;
  }

  .why-me__track {
    padding-left: 40px !important;
    padding-right: 100px !important;
    gap: 16px !important;
  }

  .why-me__card {
    flex: 0 0 300px !important;
    min-height: 300px !important;
    padding: 16px !important;
  }

  .why-me__card h5 {
    font-size: 24px !important;
    line-height: 1.15 !important;
  }

  .why-me__card p {
    font-size: 15px !important;
  }
}
@media (max-width: 768px) {

  /* Прячем GSAP-версию */
  .why-me__wrapper {
    display: none !important;
  }

  /* Показываем статичную */
  .why-me__mobile {
    display: block;
    padding: 0 30px;
  }

  .why-me__header {
    margin-bottom: 20px;
  }

  .why-me__header h3 {
    font-size: 34px !important;
    text-align: center;
  }

  .why-me__mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch; /* не растягивать по высоте ряда */
  }

  /* Общие стили карточек на мобильных */
  .why-me__mobile .why-me__card {
    background: #FFC18A;
    border-radius: 10px;
    padding: 10px !important;
    height: auto !important;           /* растёт с текстом */
    min-height: 130px !important;
    max-height: none !important;       /* снять потолок */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow: visible;
  }

  /* Широкие карточки */
  .why-me__card--wide {
    grid-column: 1 / -1;
  }

  /* Заголовок */
  .why-me__mobile .why-me__card h5 {
    font-size: clamp(20px, 3.5vw, 28px) !important;
    line-height: 93.9% !important;
    margin: 0 0 5px 0 !important; 
  }

  /* Описание */
  .why-me__mobile .why-me__card p {
    font-size:clamp(13px, 2.2vw, 16px) !important;
    line-height: 110% !important;
    margin: 0 !important;
    opacity: 50%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .why-me__card h5,.why-me__card p {
    max-width: 100%;
}
  
  .why-me__mobile .why-me__card .why-me__subtitle {
    font-size:clamp(8px, 2.5vw, 12px)!important;
    margin-bottom: 4px !important;
    opacity: 80%;
  }
}
@media (max-width: 480px) {

  /* Прячем GSAP-версию */
  .why-me__wrapper {
    display: none !important;
  }

  /* Показываем статичную */
  .why-me__mobile {
    display: block;
    padding: 0 16px;
  }


  .why-me__header h3 {
    font-size: 24px !important;
    text-align: center;
  }

  .why-me__mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* Общие стили карточек на мобильных */
  .why-me__mobile .why-me__card {
    background: #FFC18A;
    border-radius: 5px;
    padding: 8px !important;
    min-height: 110px !important;
    height: auto !important;
    max-height: none !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;       /* ← текст сверху */
    box-sizing: border-box;
  }

  /* Широкие карточки */
  .why-me__card--wide {
    grid-column: 1 / -1;
  }

  /* Заголовок */
  .why-me__mobile .why-me__card h5 {
    font-size: clamp(16px, 2.5vw, 20px)!important;
    line-height: 93.9% !important;
    margin: 0 0 5px 0 !important; 
  }

  /* Описание */
  .why-me__mobile .why-me__card p {
    font-size:clamp(13px, 2.2vw, 15px) !important;
    line-height: 110% !important;
    margin: 0 !important;
    opacity: 50%;
    overflow-wrap: break-word;
    word-wrap: break-word;
   hyphens: auto;

  }

  .why-me__card h5,.why-me__card p {
  max-width: 100%;
}
  .why-me__mobile .why-me__card .why-me__subtitle {
    font-size: clamp(8px, 2.5vw, 10px) !important;
    margin-bottom: 4px !important;
    opacity: 80%;
    line-height: 100% !important;
  }
}
@media (max-width: 320px) {

  /* Прячем GSAP-версию */
  .why-me__wrapper {
    display: none !important;
  }

  /* Показываем статичную */
  .why-me__mobile {
    display: block;
    padding: 0 10px;
  }

  .why-me__header {
    padding: 0 10px;
    margin-bottom: 0px !important;
  }

  .why-me__header h3 {
    font-size: 18px !important;
    text-align: center;
    margin-bottom: 10px !important;
  }

  .why-me__mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  /* Общие стили карточек на мобильных */
  .why-me__mobile .why-me__card {
    background: #FFC18A;
    border-radius: 5px;
    padding: 5px 5px !important;
    min-height: 130px !important;
    height: auto !important;
    max-height: none !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;       /* ← текст сверху */
    box-sizing: border-box;
  }

  /* Широкие карточки */
  .why-me__card--wide {
    grid-column: 1 / -1;
  }

  /* Заголовок */
  .why-me__mobile .why-me__card h5 {
    font-size: 14px !important;
    line-height: 93.9% !important;
    margin: 0 0 5px 0 !important; 
  }

  /* Описание */
  .why-me__mobile .why-me__card p {
    font-size: 10px !important;
    line-height: 110% !important;
    margin: 0 !important;
    opacity: 50%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;

  }

  .why-me__card h5,.why-me__card p {
  max-width: 100%;
}
  .why-me__mobile .why-me__card .why-me__subtitle {
    font-size: 8px !important;
    margin-bottom: 4px !important;
    opacity: 80%;
    line-height: 100% !important;
  }
}








/* 7 блок (Отзывы) */
.reviews {
  padding: 150px 0 150px;
  background: #fff;
  overflow: hidden; /* важно */
}

.reviews__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 150px;
}

.reviews__title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 400;
  color: #222222;
  margin-bottom: 5px;
  text-align: left; /* ← заголовок слева */
}

/* Слайдер */
.reviews__slider {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  height: 440px;
  margin-bottom: 10px;
}

.reviews__track {
 display: flex;
  align-items: center;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

/* Карточка */
.reviews__slide {
  flex: 0 0 520px;
  margin: 0 18px;
  transition: all 0.5s ease;
  opacity: 0.45;
  transform: scale(0.8);
  filter: brightness(0.92);
}

.reviews__slide img {
  width: 100%;
  display: block;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Активный слайд */
.reviews__slide.active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1);
  z-index: 2;
}

/* Кнопки */
.reviews__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.reviews__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #BE5822;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.reviews__btn:hover:not(:disabled) {
  background: #e07a3d;
}

.reviews__btn:disabled {
  opacity: 0.4;
  cursor: default;
  background: #f0e0d0;
}

.reviews__btn img {
  width: 35px;
  height: 35px;
}

@media (max-width: 1280px) {

  .reviews {
    padding: 100px 0;
  }

  .reviews__container {
    max-width: 1280px;
    padding: 0 40px;
  }

  .reviews__title {
    font-size: 34px;
  }

  .reviews__slider {
    height: 400px;
  }

  /* Главное изменение */
  .reviews__slide {
    flex: 0 0 420px;        /* уменьшили ширину слайда */
    margin: 0 12px;
  }

  .reviews__slide img {
    width: 100%;            /* оставляем 100% */
    border-radius: 16px;
  }

  .reviews__slide.active {
    transform: scale(1);
  }
}
@media (max-width: 768px){
  .reviews {
    padding: 100px 0;
  }

  .reviews__container {
    max-width: 768px;
    padding: 0 30px;
  }

  .reviews__title {
    font-size: 34px;
    text-align: center;
  }

  .reviews__slider {
    height: 400px;
  }

  /* Главное изменение */
  .reviews__slide {
    flex: 0 0 420px;        /* уменьшили ширину слайда */
    margin: 0 12px;
  }

  .reviews__slide img {
    width: 100%;            /* оставляем 100% */
    border-radius: 16px;
  }

  .reviews__slide.active {
    transform: scale(1);
  }
}
@media (max-width: 480px){
  .reviews {
    padding: 80px 0;
  }

  .reviews__container {
    padding: 0 16px;
  }

  .reviews__title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
  }

  .reviews__slider {
    height: auto;
    min-height: 300px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
  }

  .reviews__slide {
    flex: 0 0 85vw;          /* ширина слайда */
    max-width: 340px;
    margin: 0 10px;
  }

  .reviews__slide img {
    width: 100%;
    border-radius: 16px;
  }

  .reviews__nav {
    margin-top: 0px;
  }
}
@media (max-width: 320px){
  .reviews {
    padding: 50px 0;
  }

  .reviews__container {
    padding: 0 10px;
  }

  .reviews__title {
    font-size: 18px;
    text-align: center;
    margin-bottom: 10px;
  }

  .reviews__slider {
    height: auto;
    min-height: 250px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
  }


  .reviews__slide img {
    width: 100%;
    border-radius: 10px;
  }

  .reviews__nav {
    margin-top: 0px;
  }

  .reviews__slider {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.reviews__track {
  display: flex;
  align-items: center;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.reviews__slide {
  flex-shrink: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  opacity: 0.45;
  transform: scale(0.85);
  max-width: 300px;
   margin: 0 5px;
}

.reviews__slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.reviews__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f5c19b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
}


.faq {
  background: #ffffff;
  padding: 0px 0 150px;
}

.faq__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 150px;
}

.faq__title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 400;
  color: #222222;
  margin-bottom: 30px;
}


.accordion details {
  border-bottom: 1px solid #A0A0A0;
  overflow: hidden;
  
}

.accordion details:first-child {
  border-top: 1px solid #e0e0e0;
}

.accordion summary {
  display: flex;
  align-items: center;
  align-items: flex-start; /* если текст в 2 строки — по верху */
  padding: 15px 44px 15px 0; /* справа ≥ ширина иконки + зазор */
  cursor: pointer;
  list-style: none; /* убираем стандартный маркер */
  font-size: 24px;
  color: #222222;
  transition: color 0.25s ease;
  position: relative;
  padding-right: 36px; /* место под иконку */
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::before {
  content: counter(faq-counter);
  counter-increment: faq-counter;
  width: 220px;
  flex-shrink: 0;
  font-size: 24px;
  color: #222222;
  opacity: 50%;
  font-family: 'SF-Pro-Display-Regular';

}

.accordion {
  counter-reset: faq-counter;
  border-top: 1px solid #e5e5e5;
}

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 15px;  
  transform: translateY(-50%);
  width: 24px;              /* одинаково для + и − */
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: #222;
  text-align: center;
  pointer-events: none; 
}

.accordion details[open] summary::after {
  content: "−";
   /* без лишнего width: 18px — он как раз сдвигал */
  width: 24px;
  transform: translateY(-50%);
}

.accordion .content {
  padding: 5px 0 15px ;
 height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}


.accordion details[open] .content {
  grid-template-rows: 1fr;
}

.accordion .content > div {
  padding: 5px 0 15px 220px; /* как у вас на десктопе */
}

.accordion .content > div,
.accordion .content {
  overflow: hidden;
}

.accordion .content p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 12px;
}

.accordion .content p:last-child {
  margin-bottom: 0;
  padding-bottom: 20px;
}



@media (max-width: 1280px) {
  .faq {
    background: #ffffff;
    padding: 0px 0 100px;
  }
  
  .faq__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
  }
  
  .faq__title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 20px;
  }
  
  .accordion summary {
    display: flex;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    list-style: none; /* убираем стандартный маркер */
    position: relative;
    font-size: 20px;
    color: #222222;
    transition: color 0.25s ease;
  }
  
  .accordion summary::before {
    content: counter(faq-counter);
    counter-increment: faq-counter;
    width: 202px;
    flex-shrink: 0;
    font-size: 20px;
    color: #222222;
    opacity: 50%;
    font-family: 'SF-Pro-Display-Regular';
  }
  
  .accordion summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;              /* одинаково для + и − */
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: #222;
    text-align: center;
  }
  
  .accordion details[open] summary::after {
    content: "−";
    width: 20px;
    transform: translateY(-50%);
  }
  
  .accordion .content {
    padding: 5px 0 10px;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
  }
  .accordion .content p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
  }
  
  .accordion .content p:last-child {
    margin-bottom: 0;
    padding-bottom: 15px;
  }
}
@media (max-width: 768px) {
  
  .faq__container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 30px;
  }
  
  .faq__title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .accordion summary {
    display: flex;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    list-style: none; /* убираем стандартный маркер */
    position: relative;
    font-size: 20px;
    color: #222222;
    transition: color 0.25s ease;
    padding-right: 40px;

  }
  
  .accordion summary::before {
    content: counter(faq-counter);
    counter-increment: faq-counter;
    width: auto;
    flex-shrink: 0;
    font-size: 20px;
    color: #222222;
    opacity: 50%;
    font-family: 'SF-Pro-Display-Regular';
    padding-right: 15px;
  }
  
  .accordion summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 20px;
    font-weight: 300;
    color: #222222;
    transition: transform 0.3s ease, color 0.25s ease;
  }
  
  .accordion details[open] summary::after {
    content: "−";
    width: 20px;
    transform: translateY(-50%);
  }
  
  .accordion .content {
    padding: 5px 0 10px ;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
  }
  
  .accordion .content > div {
    padding: 5px 0 10px 25px;
  }

  .accordion .content p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
  }
  
  .accordion .content p:last-child {
    margin-bottom: 0;
    padding-bottom: 15px;
  }
}
@media (max-width: 480px) {
  
  .faq__container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
  }
  
  .faq__title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .accordion summary {
    display: flex;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    list-style: none; /* убираем стандартный маркер */
    position: relative;
    font-size: 16px;
    color: #222222;
    transition: color 0.25s ease;
    padding-right: 36px;

  }
  
  .accordion summary::before {
    content: counter(faq-counter);
    counter-increment: faq-counter;
    width: auto;
    flex-shrink: 0;
    font-size: 14px;
    color: #222222;
    opacity: 50%;
    font-family: 'SF-Pro-Display-Regular';
    padding-right: 15px;
  }
  
  .accordion summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 20px;
    font-weight: 300;
    color: #222222;
    transition: transform 0.3s ease, color 0.25s ease;
  }
  
  .accordion details[open] summary::after {
    content: "−";
    position: absolute;
    right: 0;
    font-size: 20px;
    font-weight: 300;
    color: #222222;
    transition: transform 0.3s ease, color 0.25s ease;
  }
  
  .accordion .content {
    padding: 5px 0 10px ;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
  }
  .accordion .content p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
  }
  
  .accordion .content p:last-child {
    margin-bottom: 0;
    padding-bottom: 15px;
  }
}
@media (max-width: 320px) {
  .faq {
  background: #ffffff;
  padding: 0px 0 50px;
}

  .faq__container {
    max-width: 320px;
    margin: 0 auto;
    padding: 0 10px;
  }
  
  .faq__title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .accordion summary {
    display: flex;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    list-style: none; /* убираем стандартный маркер */
    position: relative;
    font-size: 12px;
    color: #222222;
    transition: color 0.25s ease;

  }
  
  .accordion summary::before {
    content: counter(faq-counter);
    counter-increment: faq-counter;
    width: auto;
    flex-shrink: 0;
    font-size: 12px;
    color: #222222;
    opacity: 50%;
    font-family: 'SF-Pro-Display-Regular';
    padding-right: 10px;
  }
  
  .accordion summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 20px;
    font-weight: 300;
    color: #222222;
    transition: transform 0.3s ease, color 0.25s ease;
  }
  
  .accordion details[open] summary::after {
    content: "−";
    transform: none;
    width: 18px;
  }
  
  .accordion .content {
    padding: 5px 0 10px;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
  }
  .accordion .content p {
    font-size: 12px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
  }
  
  .accordion .content p:last-child {
    margin-bottom: 0;
    padding-bottom: 10px;
  }
}




.cta {
  background: #ffffff;
  padding: 0px 0 150px;
}

.cta__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 150px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}

.cta__image img {
  width: 100%;
  max-width: 580px;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}

.cta__content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta__circle {
  width: 575px;
  height: 648px;
  border: 1.5px solid #EC722E;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.cta__circle h3 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 90%;
  color: #222222;
  margin: 0 0 28px;
}

.cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 50px;
  background-color: #EC722E;
  color: #FFF5EE;
  font-family: 'SF-Pro-Display-Medium';
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.cta-btn:hover {
  background-color: #f19257;
}

@media (max-width: 1280px) {
  .cta {
    background: #ffffff;
    padding: 0px 0 100px;
  }
  
  .cta__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  
  .cta__image img {
    width: 100%;
    max-width: 580px;
    border-radius: 15px;
    display: block;
    object-fit: cover;
  }
  
  .cta__content {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .cta__circle {
    width: 524px;
    height: 584px;
    border: 1.5px solid #EC722E;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: auto;
  }
  
  .cta__circle h3 {
    font-family: 'Playfair Display', serif;
    font-size: 55px;
    font-weight: 400;
    line-height: 90%;
    color: #222222;
    margin: 0 0 28px;
  }
  
  .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EC722E;
    color: #FFF5EE;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease;
  }
}
@media (max-width: 768px) {
  .cta {
    background: #ffffff;
    padding: 0px 0 100px;
  }
  
  .cta__container {
    max-width: 768px;
    margin: 0 auto;
  
    display: block;
    align-items: center;
  }
  
  .cta__image img {
    display: none;
  }
  
  .cta__content {
    display: flex;
    align-items: center;
  }
  
  .cta__circle {
    width: min(524px, 90vw);
    aspect-ratio: 1;
    height: 584px;
    border: 1.5px solid #EC722E;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: auto;
  }
  
  .cta__circle h3 {
    font-family: 'Playfair Display', serif;
    font-size: 55px;
    font-weight: 400;
    line-height: 90%;
    color: #222222;
    margin: 0 0 28px;
  }
  
  .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EC722E;
    color: #FFF5EE;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease;
  }
}
@media (max-width: 480px) {
  .cta {
    background: #ffffff;
    padding: 0px 0 80px;
  }
  
  .cta__container {
    max-width: 480px;
    margin: 0 auto;
  
    display: block;
    align-items: center;
  }
  
  .cta__image img {
    display: none;
  }
  
  .cta__content {
    display: flex;
    align-items: center;
  }
  
  .cta__circle {
    width: 386px;
    height: 430px;
    border: 1.5px solid #EC722E;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: auto;
  }
  
  .cta__circle h3 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 90%;
    color: #222222;
    margin: 0 0 28px;
  }
  
  .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EC722E;
    color: #FFF5EE;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease;
  }
}
@media (max-width: 320px) {
  .cta {
    background: #ffffff;
    padding: 0px 0 50px;
  }
  
  .cta__container {
    max-width: 320px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Полностью убираем блок с картинкой */
  .cta__image {
    display: none !important;
  }

  .cta__content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .cta__circle {
    width: 300px;
    height: 300px;
    border: 1.5px solid #EC722E;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .cta__circle h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.15;
    color: #222222;
    margin: 0 0 10px;
  }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EC722E;
    color: #FFF5EE;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    margin-bottom: 6px;
  }
}




/* ===== Базовые / 1600px ===== */
.footer {
  background: #e8e8e8;
  padding: 50px 0;
}

.footer__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 150px;
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 40px;
  align-items: start;
}

.footer__logo img {
  width: 220px;
  height: auto;
  display: block;
}

.footer__menu {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.footer__menu li {
  margin-bottom: 8px;
}

.footer__menu a {
  font-family: "SF-Pro-Display-Medium", sans-serif;
  font-size: 16px;
  color: #222;
  text-decoration: none;
}

.footer__legal {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__legal li {
  margin-bottom: 6px;
}

.footer__legal a {
  font-family: "SF-Pro-Display-Regular", sans-serif;
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer__email {
  font-size: 16px;
  color: #222;
  text-decoration: none;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
}

.footer__socials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1280px) {
  .footer {
    padding: 40px 0;
  }

  .footer__container {
    max-width: 1280px;
    padding: 0 40px;
    grid-template-columns: 1fr 1.3fr auto;
    gap: 30px;
  }

  .footer__logo img {
    width: 190px;
  }

  .footer__menu a {
    font-size: 15px;
  }

  .footer__legal a {
    font-size: 13px;
  }

  .footer__email {
    font-size: 15px;
  }

  .footer__socials a {
    width: 34px;
    height: 34px;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 32px 0;
  }

  .footer__container {
    padding: 0 30px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "left right"
      "nav right";
    gap: 12px 24px;
  }

  .footer__left {
    grid-area: left;
  }

  .footer__nav {
    grid-area: nav;
  }

  .footer__right {
    grid-area: right;
    align-items: flex-end;
  }

  .footer__logo img {
    width: 170px;
    margin-bottom: 12px;
  }

  .footer__menu {
    margin-bottom: 12px;
  }

  .footer__menu a {
    font-size: 15px;
  }

  .footer__legal a {
    font-size: 13px;
  }

  .footer__email {
    font-size: 14px;
  }

  .footer__socials a {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 480px) {
  .footer {
    padding: 28px 0;
  }

  .footer__container {
    padding: 0 16px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "left right"
      "nav right";
    gap: 10px 16px;
  }

  .footer__logo img {
    width: 150px;
    margin-bottom: 10px;
  }

  .footer__menu a {
    font-size: 14px;
  }

  .footer__legal a {
    font-size: 12px;
  }

  .footer__email {
    font-size: 13px;
  }

  .footer__socials {
    gap: 8px;
  }

  .footer__socials a {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 320px) {
  .footer {
    padding: 24px 0;
  }

  .footer__container {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer__left,
  .footer__nav,
  .footer__right {
    width: 100%;
  }

  .footer__logo img {
    width: 160px;
    margin-bottom: 12px;
  }

  .footer__menu {
    margin-bottom: 10px;
  }

  .footer__menu a {
    font-size: 14px;
  }

  .footer__legal a {
    font-size: 13px;
    text-decoration: underline;
  }

  .footer__right {
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
  }

  .footer__email {
    font-size: 14px;
  }

  .footer__socials a {
    width: 32px;
    height: 32px;
  }
}




.agree-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  padding: 16px;
}

.agree-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-agree {
  margin-top: 20px; /* отступ всего блока от цены/кнопки */
}

.popup-agree .agree-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
}

.popup-agree .agree-check:first-child {
  margin-top: 8px; /* только первая строка */
}

.agree-popup {
  background: #FFF5EE;
  border-radius: 16px;
  padding: 32px 24px 24px;
  max-width: 440px;
  width: 100%;
  position: relative;
  margin-top: 16px;
}

.agree-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #999;
}

.agree-popup-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 20px;
  color: #222;
  text-align: center;
}

.agree-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #222;
  cursor: pointer;
  text-align: left;
}

.agree-check input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #EC722E;
}

.agree-check a {
  color: #EC722E;
}

.agree-popup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  background: #EC722E;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 12px 36px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.2s ease;
}

.agree-popup-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none; /* нельзя нажать */
  cursor: not-allowed;
}

.agree-popup-btn:not(.is-disabled):hover {
  background: #f19257;
}

.popup-btn.is-disabled {
  opacity: 0.4 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

@media(max-width: 480px){
.popup-agree .agree-check {
    font-size: 11px;
    line-height: 1.3;
    gap: 6px;
    margin-top: 4px;
  }

  .popup-agree .agree-check:first-of-type {
    margin-top: 6px;
  }

  .popup-agree .agree-check input {
    width: 14px;
    height: 14px;
    margin-top: 1px;
  }
}

@media (max-width: 380px) {
  .popup-agree .agree-check {
    font-size: 10px;
    margin-top: 3px;
  }
}











.nav-text-oferta{
  color: #222222;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  font-family: 'SF Pro Display';
}


@font-face {
  font-family: "Playfair Display";
  src: url(/fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf);
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: "SF-Pro-Display-Bold";
  src: url(/fonts/SF-Pro-Display-Bold.otf);
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: "SF-Pro-Display-Medium";
  src: url(/fonts/SF-Pro-Display-Medium.otf);
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: "SF-Pro-Display-Regular";
  src: url(/fonts/SF-Pro-Display-Regular.otf);
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: "SF-Pro-Display-Semibold";
  src: url(/fonts/SF-Pro-Display-Semibold.otf);
  font-style: normal;
  font-weight: normal;
}


h1{
  font-family: "Playfair Display";
}


h2 {
  font-family: "Playfair Display";
  font-size: 44px;

}


.nav-text{
  font-family: 'Playfair Display';
}


