h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

p, li, span, a, button {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.slogan-desktop {
  display: block;
  width: 100%;
}
.slogan-mobile {
  display: none;
}


/* Скрываем бургер на больших экранах */
.burger {
  display: none; /* скрыта для больших экранов */
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1001; /* чтобы быть поверх контента */
}

.burger span {
  display: block;
  height: 3px;
  background: #DAFDEC;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Состояние активного меню → крестик */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/* Скрываем навигацию на мобильных */
.nav {
  display: flex;
  gap: 20px;
}

body {
    margin: 0;
    background: #EFFFF7;
    font-family: 'Inter', sans-serif;
    color: #333;
  }
  
  .container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1820px; /* для 1920 */
  }
  
  @media (max-width: 1400px) {
    .container {
      max-width: 1300px;
    }
  }
  
  @media (max-width: 1024px) {
    .container {
      max-width: 984px;
    }
  }
  
  @media (max-width: 768px) {
    .container {
      max-width: 727px;
    }
  }
  
  @media (max-width: 390px) {
    .container {
      max-width: 360px;
    }
  }






 /* Шапка */
.header {
  background-color: #1D392F;
  padding: 15px 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400; /* Regular */
  font-size: 16px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Логотип */
.logo img {
  display: block;
}

/* Меню */
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
}

.nav a {
  text-decoration: none;
  color: #DAFDEC;
  font-weight: 400; /* Regular */
  font-size: 16px;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.7;
}

/* Кнопка */
.call-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* текст по центру */
  width: 150px;
  height: 40px;
  border: 2px solid #EFFFF7;
  border-radius: 20px;
  background: transparent;
  color: #EFFFF7;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  padding: 0 15px;
  box-sizing: border-box;
}

.call-btn .icon {
  position: absolute;
  left: 0; /* строго к левому краю кнопки */
  width: 38px;
  height: 38px;
  background: #EFFFF7 url('telephone.png') center center no-repeat;
  border-radius: 50%;
}

.call-btn .text {
  flex: 1;
  text-align: center; /* текст по центру кнопки */
  z-index: 1; /* чтобы текст был поверх иконки, если потребуется */
}



  .hero {
    position: relative;
    height: 1000px;
    background: #1D392F;
    border-radius: 0 0 200px 200px;
    overflow: hidden;
    text-align: center;
  }
  
  /* верхнее изображение */
  
  .hero-top-img {
    position: relative; /* чтобы overlay был относительно картинки */
    padding-top: 40px;
    max-height: 351px;
    display: inline-block;
  }
  .hero-top-img img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  /* нижнее изображение на всю ширину */
  .hero-bottom {
    position: relative;
    margin-top: -250px;
  }
  .bottom-img {
    width: 100%;
    display: block;
  }
  
  /* контент по центру нижнего изображения */
  .hero-content {
    position: absolute;
    bottom: 12.5%; /* регулируй по макету */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  
  .hero-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400; /* Regular */
    font-size: 32px;
    text-transform: uppercase; 
    color: #DAFDEC;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .hero-btn {
    display: inline-block;
    padding: 12px 40px;
    font-size: 16px; /* маленький размер */
    font-weight: 400; /* Regular */
    text-transform: lowercase; /* маленькие буквы */
    border: none;
    border-radius: 30px;
    background: #DAFDEC; /* светло-зеленый фон, как раньше */
    color: #1D392F;      /* текст темно-зеленый */
    cursor: pointer;
    transition: opacity 0.3s;
    width: 300px;
    height: 50px;
    margin-top: 50px;
  }
  
  .hero-btn:hover {
    opacity: 0.8;
  }
  

  .hero-overlay-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1D392F; /* темно-зеленый фон */
    color: #DAFDEC; /* светлый текст */
    padding: 10px 30px; /* небольшие отступы */
    border-radius: 50px; /* скругление углов */
    font-family: 'Inter', sans-serif;
    font-weight: 400; /* Regular */
    font-size: 55px;
    text-transform: uppercase;
    text-align: center;
  }
  


  
  

  .about {
    padding: 100px 20px;
    text-align: center;
    background: #EFFFF7;
    color: #1D392F;
    font-family: 'Inter', sans-serif;
  }
  
  .about-title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* минимальные отступы между иконками и заголовком */
    margin-bottom: 20px;
  }
  
  .about-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }
  
  .about-title {
    font-size: 40px;
    font-weight: 700; /* жирный */
    text-transform: uppercase;
    margin: 0;
  }
  
  .about-subtitle {
    max-width: 692px;
    margin: 0 auto 40px;
    font-size: 60px;
    font-weight: 500;  /* medium */
    text-transform: uppercase;
    color: #1D392F;
    line-height: 1.2;
    letter-spacing: 0.02em; /* -10% межбуквенный интервал */
}

.about-subtitle .highlight {
  color: #1D392F;
  opacity: 0.5; /* 50% */
}
  
  .about-text {
    max-width: 564px;
    margin: 0 auto 40px;
    font-size: 18px;
    font-weight: 400; /* regular */
    line-height: 1.6;
    text-align: center;
  }
  
  .about-person {
    margin-top: 40px;
    text-align: center;
  }
  
  .about-img {
    width: 400px;
    height: 486px;
    border-radius: 0; /* убираем скругление */
    object-fit: cover;
    margin-bottom: 20px;
  }
  
  .about-name {
    font-size: 24px;
    font-weight: 500; /* medium */
    color: #1D392F;
    margin: 5px 0;
  }
  
  .about-role {
    font-size: 18px;
    font-weight: 500; /* medium */
    color: #1D392F;
    opacity: 0.5; /* 50% прозрачность */
  }
  




.slogan {
  padding: 80px 0;
  text-align: center;
  background: #EFFFF7; /* фон как у сайта */
}

.slogan-img {
  width: 100%;
  max-width: 1820px; /* ограничение по ширине */
  height: auto;
  max-height: 542px; /* ограничение по высоте */
  display: block;
  margin: 0 auto; /* центрирование */
  object-fit: cover;
}





.services {
  padding: 100px 20px;
  background: #EFFFF7;
  text-align: center;
}

.services-title {
  font-size: 40px;
  color: #1D392F;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.services-text {
  font-size: 18px;
  font-weight: 400;  /* regular */
  max-width: 450px;
  margin: 0 auto 60px;
  color: #555;   /* тёмно-серый */
  line-height: 1.6;
  text-align: center;
}

/* ===== SERVICES → FAQ-стиль ===== */

/* Карточка */
.faq-card { width: 100%; }

/* Хедер: категория | заголовок | стрелка */
.faq-header1{
  display: grid;
  grid-template-columns: 150px 1fr 40px; /* слева фикс, центр — флекс, справа фикс */
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: transparent;
  color: #1D392F;
  font-size: 18px;
  cursor: pointer;
  border-top: 1px solid #1D392F;   /* только верх/низ */
  border-bottom: 1px solid #1D392F;
  border-left: none;
  border-right: none;
  transition: all .3s ease;
  text-transform: uppercase;
}

/* Категория (# Development) — слева по краю */
.faq-category{
  justify-self: start;
  text-transform: none;
  color: #1D392F;
  opacity: .85;
  font-weight: 600;
}

/* Заголовок — по центру строки */
.faq-question1{
  justify-self: center;     /* центрируем внутри средней колонки */
  text-align: center;
  margin: 0 auto;
  max-width: 900px;         /* чтобы длинные строки не расползались */
  opacity: 0.5;
}

/* Стрелка — справа, не прыгает */
.faq-arrow{
  justify-self: end;
  transition: transform .3s ease;
}

/* Контент ответа (свёрнут) */
.faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease, padding .3s ease, background .3s ease;
  padding: 0 20px;
}

/* Внутренняя обёртка ответа — ограничиваем ширину, выравнивание по левому краю, но центрируем блок */
.faq-answer-inner{
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
.faq-answer-inner ul{
  margin: 10px 0;
  padding-left: 18px; /* маркеры списков читаемее */
}
.faq-answer-inner li{ margin: 6px 0; }

/* Активная карточка */
.faq-card.active .faq-header1{
  background: linear-gradient(to right, #1D392F, #4A7B66);
  color: #fff;
  border-top: none;
  border-bottom: none;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.faq-card.active .faq-arrow{ transform: rotate(180deg); color: #fff; }

.faq-card.active .faq-answer{
  max-height: 700px;            /* достаточно для списка */
  padding: 20px;
  background: linear-gradient(to right, #1D392F, #4A7B66);
  color: #fff;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}








/* CTA секция */
.cta-section {
  background: linear-gradient(to right, #1D392F, #4A7B66); /* как у карточек */
  padding: 100px 0px;
  position: relative;
  overflow: hidden;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-image img {
  max-width: 300px;
  height: auto;
}

.cta-content {
  text-align: center;
  color: #EFFFF7; /* общий цвет */
  flex: 1;
}

.cta-title {
  font-size: 90px;
  font-weight: 800; /* Extra Bold */
  letter-spacing: 0.02em; /* -9% */
  color: #EFFFF7; /* светло-зеленый */
  margin: 0 auto 50px;
  line-height: 1.1;
  text-transform: uppercase;
}

/* Кнопка — та же, что и в шапке */
.call-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 60px;
  border: 2px solid #EFFFF7;
  border-radius: 30px;
  background: transparent;
  color: #EFFFF7;
  cursor: pointer;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  padding: 0 20px;
  box-sizing: border-box;
}

.call-btn .icon {
  position: absolute;
  left: 0;
  width: 56px;
  height: 56px;
  background: #EFFFF7 url('telephone.png') center center no-repeat;
  background-size: 24px;
  border-radius: 50%;
}

.call-btn .text {
  flex: 1;
  text-align: center;
  z-index: 1;
  font-weight: 600;
}

/* Правая картинка заезжает вверх */
.cta-image.right {
  position: relative;
  top: -60px;
}


/* CTA-версия кнопки */
.cta-btn {
  width: 300px;
  height: 50px;
  margin: 0 auto; /* центрируем */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* подгоняем иконку под новые размеры */
.cta-btn .icon {
  width: 46px;
  height: 46px;
  background-size: 20px;
}





.why-choose {
  padding: 100px 20px;
  background: #EFFFF7;
  text-align: center;
}

/* Заголовок */
.why-title {
  font-size: 40px;
  color: #1D392F;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Текст под заголовком */
.why-text {
  font-size: 18px;
  font-weight: 400; /* Regular */
  max-width: 450px;
  margin: 0 auto 60px;
  color: #000; /* Черный */
  line-height: 1.6;
}

/* Сетка карточек */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(331px, 1fr));
  gap: 15px; /* отступы между карточками */
  justify-items: center;
  margin: 0 auto;
}

/* Карточка */
.card {
  width: 331px;
  height: 231px;
  background: linear-gradient(to right, #1D392F 0%, #4A7B66 100%);
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  position: relative;
  border-radius: 15px;
  box-sizing: border-box;
}

/* Номер карточки */
.card-number {
  font-size: 18px;
  font-weight: 500; /* Medium */
  color: #EFFFF7; /* Светло-зеленый */
}

/* Заголовок карточки */
.card-title {
  font-size: 26px;
  font-weight: 500; /* Medium */
  margin-bottom: 10px;
  line-height: 1;
  color: #fff;
  margin-top: 1px;
}

/* Текст карточки */
.card-text {
  font-size: 14px;
  font-weight: 400; /* Regular */
  line-height: 1;
  color: #EFFFF7; /* Светло-зеленый */
  overflow: hidden;
  margin-top: 1px;
}

/* Пустая карточка-заглушка */
.card.empty {
  background: transparent;
  pointer-events: none;
}






/* Блок с заголовком и описанием по центру */
.timeline-section {
  padding: 100px 20px;
  background: #EFFFF7;
  text-align: center;
}

/* Заголовок секции */
.timeline-section .about-title-wrapper .about-title {
  font-size: 40px;
  color: #1D392F;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Текст под заголовком */
.timeline-text {
  font-size: 18px;
  font-weight: 400; /* Regular */
  width: 500px; /* Ширина блока текста */
  margin: 0 auto 60px;
  color: #1D392F; /* Темно-зеленый */
  line-height: 1.6;
}

/* Контейнер для timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Вертикальная линия по центру */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: #1D392F;
  transform: translateX(-50%);
}

/* Карточки */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 5px;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

/* Карточка с контентом */
.timeline-card {
  display: inline-block;
  
  padding: 0;
}

/* Заголовок карточки с линией */
.timeline-card-title {
  font-size: 50px; /* Новый размер */
  font-weight: 700; /* Solid / Bold */
  letter-spacing: 0.02em; /* межбуквенный интервал -9% */
  color: #1D392F;
  text-transform: uppercase;
  border-bottom: 1px solid #1D392F;
  display: inline-block;
  margin-bottom: 10px;
  padding-bottom: 2px;
}

.timeline-item.right .timeline-card-title {
  width: calc(100% + 50px); /* линия до вертикальной линии */
}

/* Описание карточки */
.timeline-card p {
  font-size: 14px; /* текст 14px */
  font-weight: 400; /* Regular */
  line-height: 1.5;
  letter-spacing: 0.02em; /* межбуквенный интервал -9% */
  color: #000; /* черный */
  margin: 5px 0 20px 0;
  width: 350px; /* фиксированная ширина текста */
}
/* Выравнивание текста в зависимости от стороны карточки */
.timeline-item.left .timeline-card p {
  text-align: right;
  margin-left: auto;
}

.timeline-item.right .timeline-card p {
  text-align: left;
  margin-right: auto;
}









.customers-section {
  padding: 100px 20px;
  background: #EFFFF7;
  text-align: center;
}

.customers-title {
  font-size: 40px;
  color: #1D392F;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.customers-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.customers-links span {
  font-size: 130px;
  font-weight: 800; /* extra bold */
  text-transform: uppercase;
  background: linear-gradient(to right, #1D392F, #4A7B66); /* градиент как на карточках */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}






.reviews-section {
  padding: 100px 20px;
  background: #EFFFF7;
  text-align: center;
}

.reviews-title {
  font-size: 40px;
  color: #1D392F;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: flex-start;
}

.review-card {
  width: 590px;
  background: linear-gradient(to right, #1D392F, #4A7B66);
  color: #fff;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.review-logo {
  width: 80px;
  height: auto;
  margin-right: 15px;
}

.review-company {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  text-align: left;
}

.review-text-container {
  overflow: hidden;
  max-height: 120px; /* изначально скрываем часть текста */
  transition: max-height 0.5s ease;

}

.review-card.expanded .review-text-container {
  max-height: 2000px; /* полностью раскрываем текст */
}

.review-text {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  text-align: left;
}

.read-more-btn {
  background: transparent;
  border: none;
  color: #fff;
  text-decoration: underline;
  font-size: 16px;
  font-weight: 400;
  padding: 0;
  margin-top: 10px;
  cursor: pointer;
  text-align: left;
}

.review-card.expanded .read-more-btn {
  display: none;
}

.review-author {
  margin-top: 10px;
  text-align: left;
}

.author-name {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}

.author-role {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}







.faq-section {
  padding: 100px 20px;
  background: #EFFFF7;
  text-align: center;
}

.faq-title {
  font-size: 40px;
  color: #1D392F;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: 0 auto;
}

.faq-card {
  width: 100%;
}

/* Заголовок (вопрос) */
.faq-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px; /* иконка | вопрос | стрелка */
  align-items: center;
  padding: 20px;
  background: transparent;
  color: #1D392F;
  font-size: 18px;
  cursor: pointer;
  border-top: 1px solid #1D392F;
  border-bottom: 1px solid #1D392F;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase; /* большие буквы */
}

.faq-icon {
  flex-shrink: 0;
}
.faq-circle {
  fill: #C4C4C4; /* серый по умолчанию */
  transition: fill 0.3s ease;
}
/* При раскрытой карточке */
.faq-card.active .faq-circle {
  fill: #DAFDEC; /* зеленый при открытии */
}

.faq-question {
  text-align: left; 
  padding: 0 15px; /* ✅ добавляем внутренние отступы слева и справа */
  width: 800px;
  margin: 0 auto;
  opacity: 0.5;
}

.faq-arrow {
  justify-self: end; /* стрелка справа */
  transition: transform 0.3s ease;
}

/* Ответ */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.faq-answer-inner {
  max-width: 800px;
  width: 100%;
  text-align: left; /* текст ответа выровнен слева */
}

.faq-answer p,
.faq-answer ul {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Активная карточка */
.faq-card.active .faq-header {
  background: linear-gradient(to right, #1D392F, #4A7B66);
  color: #fff;
  border-top: none;
  border-bottom: none;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.faq-card.active .faq-arrow {
  transform: rotate(180deg);
  color: #fff;
}

.faq-card.active .faq-answer {
  max-height: 1000px;
  padding: 15px 20px;
  background: linear-gradient(to right, #1D392F, #4A7B66);
  color: #fff;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* Хэштег вместо иконки */
.faq-header1 {
  display: grid;
  grid-template-columns: 150px 1fr 40px; /* категория | вопрос | стрелка */
  align-items: center;
  padding: 20px;
  background: transparent;
  color: #1D392F;
  font-size: 18px;
  cursor: pointer;
  border-top: 1px solid #1D392F;
  border-bottom: 1px solid #1D392F;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
}

.faq-category {
  font-weight: 600;
  color: #4A7B66;
  text-transform: none;
  justify-self: start;   /* выравниваем по левому краю */
}

.faq-question1 {
  text-align: left;
  padding: 0 15px;
  width: 100%;
  margin: 0;
}









.footer {
  background-color: #1D392F; /* темно-зеленый */
  color: #DAFDEC; /* светло-голубой для текста */
  height: 254px;
  padding: 40px 20px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 50px;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  text-decoration: none;
  color: #DAFDEC;
  font-weight: 500;
}

.footer-social {
  text-align: left;
}

.social-title {
  margin-bottom: 10px;
  font-weight: bold;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 35px;
  height: 35px;
}

.footer-button {
  display: flex;
  align-items: flex-start;
}

.header-button {
  background: transparent;
  color: #DAFDEC;
  border: 2px solid #DAFDEC;
  border-radius: 25px;
  padding: 10px 25px;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(218, 253, 236, 0.4); /* полупрозрачная линия */
}

.footer-bottom .privacy,
.footer-bottom .development {
  color: #DAFDEC;
}


.containerfot {
  padding: 0 20px;
  max-width: 1820px; /* для 1920 */
}





.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.reviews-nav {
  display: flex;
  gap: 10px;
}

/* Кнопки навигации */
.reviews-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #1D392F;
  color: #DAFDEC;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

/* Скрываем кнопки на экранах больше 1400px */
@media screen and (min-width: 1401px) {
  .reviews-nav {
    display: none;
  }
}

/* Слайдер */
.reviews-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 10px;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 auto;
  width: 570px; 
  background: linear-gradient(to right, #1D392F, #4A7B66);
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
}

@media (min-width: 1359px) and (max-width: 1600px) {
 .hero-content {
  bottom: 8%;
 }
}






@media (max-width: 1500px) {
    .hero-text {
    font-size: 29px;
  }
}



@media (max-width: 1400px) {
  /* Верхнее изображение */
  .hero-top-img img {
    width: 1050px;
    max-width: 100%;
  }

  /* Текст на верхнем изображении */
  .hero-overlay-text {
    font-size: 45px;
  }

 

  .hero-content {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .hero {
    position: relative;
    height: 700px;
    background: #1D392F;
    border-radius: 0 0 200px 200px;
    overflow: hidden;
    text-align: center;
    padding-top: 100px;
  }

  .cta-title {
    font-size: 63px; /* оставил только нужный размер */
    font-weight: 800; /* Extra Bold */
    letter-spacing: 0.02em;
    color: #EFFFF7;
    margin: 0 auto 50px;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .cta-section {
    padding: 50px 0;
  }

  .cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 310px);
    gap: 15px;
    justify-content: center;
    margin: 0 auto;
  }

  /* Карточки */
  .card {
    width: 310px;
    height: 231px;
    background: linear-gradient(to right, #1D392F 0%, #4A7B66 100%);
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    border-radius: 15px;
    box-sizing: border-box;
  }

  .card-number {
    font-size: 18px;
    font-weight: 500;
    color: #EFFFF7;
  }

  .card-title {
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1;
    color: #fff;
    margin-top: 1px;
  }

  .card-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #EFFFF7;
    overflow: hidden;
    margin-top: 1px;
  }

  .card.empty {
    background: transparent;
    pointer-events: none;
  }

  /* Заголовок карточки с линией */
  .timeline-card-title {
    font-size: 45px;
    font-weight: 700;
    letter-spacing: -0.09em;
    color: #1D392F;
    text-transform: uppercase;
    border-bottom: 1px solid #1D392F;
    display: inline-block;
    margin-bottom: 10px;
    padding-bottom: 2px;
  }

  .customers-links span {
    font-size: 100px;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(to right, #1D392F, #4A7B66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Контейнер заголовка и кнопок */
  .reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
  }

  .reviews-nav {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .reviews-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #1D392F;
    color: #DAFDEC;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
  }

  /* Контейнер слайдера */
  .reviews-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
  }

  .reviews-slider::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    flex: 0 0 auto;
    width: 570px;
    background: linear-gradient(to right, #1D392F, #4A7B66);
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  .review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  .review-logo {
    width: 54px;
    height: 54px;
    margin-right: 15px;
    border-radius: 5px;
  }

  .review-company {
    font-size: 22px;
    font-weight: 400;
    color: #fff;
  }

  .review-text-container {
    overflow: hidden;
    max-height: 120px;
    transition: max-height 0.5s ease;
  }

  .review-card.expanded .review-text-container {
    max-height: 2000px;
  }

  .review-text {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
    text-align: left;
  }

  .read-more-btn {
    background: transparent;
    border: none;
    color: #fff;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 400;
    padding: 0;
    margin-top: 10px;
    cursor: pointer;
    text-align: left;
  }

  .review-card.expanded .read-more-btn {
    display: none;
  }

  .review-author {
    margin-top: 10px;
    text-align: left;
  }

  .author-name {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
  }

  .author-role {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
  }
}

/* Скрытие кнопок на больших экранах */
@media screen and (min-width: 1401px) {
  .reviews-nav {
    display: none;
  }
}

@media (max-width: 1358px) {
 .hero-text {
  font-size: 25px;
 }
 
 .hero-content {
  bottom: 4%;
 }
}

@media (max-width: 1180px) {
 .hero-text {
  font-size: 20px;
 }
 
 .hero-content {
  bottom: 4%;
 }
 .hero-top-img img {
        width: 800px;
        max-width: 100%;
    }
}
@media (max-width: 1024px) {
  /* Верхнее изображение */
  .hero-top-img img {
    width: 640px;
    max-width: 100%;
    padding-top: 0;
  }

  .cta-section .cta-title {
    font-size: 40px;
  }

  /* Текст на верхнем изображении */
  .hero-overlay-text {
    font-size: 35px;
  }

  /* Текст в нижнем блоке */
  .hero-text {
    font-size: 15px;
  }

  /* Контент внизу */
  .hero-content {
    bottom: 3%; /* можно подрегулировать */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  /* Высота блока hero */
  .hero {
    height: 500px; /* уменьшили для меньшего экрана */
    padding-top: 50px;
  }

  .hero-bottom {
    position: relative;
    margin-top: -150px;
  }
  .hero-btn {
    margin-top: 0px;
  }
  /* Заголовок */
  .about-title {
    font-size: 34px;
    font-weight: 800; /* Medium */
  }

  /* Подзаголовок */
  .about-subtitle {
    font-size: 50px;
    line-height: 1.2;
  }

  /* Основной текст */
  .about-text {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Изображение */
  .about-img {
    width: 334px;
    height: 405px;
    object-fit: cover; /* чтобы не искажалось */
  }

  /* Имя и роль */
  .about-name {
    font-size: 20px;
    font-weight: 500;
  }

  .about-role {
    font-size: 16px;
    font-weight: 400;
  }

  .customers-links span {
    font-size: 76px;
    font-weight: 800; /* Extra Bold */
  }
  




}


   /* Скрываем старый блок на мобильных */
   @media (max-width: 1300px) {
    .why-choose {
      display: none;
    }

    /* Новый блок уникальный */
.why-choose-unique {
  padding: 80px 20px;
  background: #EFFFF7;
}

.cards-grid-unique {
  display: grid;
  grid-template-columns: repeat(3, 310px);
  gap: 10px;
  justify-content: center;
  margin: 0 auto;
}

/* Карточки уникальные */
.why-card {
  width: 310px;
  height: 250px;
  background: linear-gradient(to right, #1D392F, #4A7B66);
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.why-card .card-number {
  font-size: 18px;
  font-weight: 500;
  color: #DAFDEC;
  margin-bottom: 5px;
}

.why-card .card-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.2;
}

.why-card .card-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.why-card.empty {
  background: transparent;
  pointer-events: none;
}


  }

  /* Скрываем уникальный блок на больших экранах */
@media (min-width: 1299px) {
  .why-choose-unique {
    display: none;
  }
}




@media (min-width: 764px) and (max-width: 1000px) {
 /* скрываем пустые карточки */
.why-choose-unique .why-card.empty {
  display: none;
}

/* сетка карточек */
.cards-grid-unique {
  display: grid;
  grid-template-columns: repeat(2, 360px); /* строго 2 колонки */
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* карточка */
/* фиксируем размер карточки */
.why-choose-unique .why-card {
  width: 359px;
  height: 217px;
  margin: 0 auto; /* чтобы центрировались в колонке */
}

.hero-btn {
    width: 200px;
}

/* номер */
.why-choose-unique .why-card .card-number {
  font-size: 18px;
  font-weight: 600;
  color: #EFFFF7;
  margin-bottom: 5px;
}

/* заголовок */
.why-choose-unique .why-card .card-title {
  font-size: 20px; /* уменьшил чтобы красиво помещался */
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

/* текст */
.why-choose-unique .why-card .card-text {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  color: #EFFFF7;
  overflow: hidden;
}
.faq-section {
  padding: 0; /* убираем все паддинги у секции */
}

.faq-section .container {
  max-width: 100%;  /* растягиваем контейнер */
  padding: 0;       /* убираем внутренние отступы */
}
.timeline-text {
  font-size: 16px;
  line-height: 1.6;
}

.timeline-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 14px;
  line-height: 1.6;
}

.timeline-item.right .timeline-card-title {
  width: 100%;
}


.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* стрелка прижмётся к правому краю блока */
  cursor: pointer;
  gap: 12px; /* небольшой зазор между вопросом и стрелкой */
}

.faq-question {
  flex: 1; /* занимает всё доступное место */
  font-size: 18px;
  font-weight: 600;
  color: #1D392F;
}

.faq-arrow {
  font-size: 18px;
  flex-shrink: 0; /* запрещаем сжиматься */
}

.footer {
  padding: 30px 20px;
  height: auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap; /* чтобы колонки переносились при необходимости */
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.footer-logo {
  flex: 1 1 150px; /* логотип занимает минимум 150px */
}

.footer-logo img {
  height: 45px;
}

.footer-menu {
  flex: 1 1 200px; /* меню в колонку */
}

.footer-menu ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.footer-social {
  flex: 1 1 200px; /* колонка соцсетей */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.footer-button {
  flex: 1 1 150px;
  display: flex;
  align-items: flex-start;
}

.header-button {
  padding: 8px 20px;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 15px;
}

.footer-bottom .privacy,
.footer-bottom .development {
  font-size: 13px;
}
}







@media (min-width: 390px) and (max-width: 764px) {
  .footer {
    padding: 20px 15px;
    height: auto;
  }

  .footer-top {
    display: flex;
    flex-direction: column; /* колонки в одну */
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-menu {
    width: 100%;
  }

  .footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    align-items: center;
  }

  .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
  }

  .social-icon {
    width: 30px;
    height: 30px;
  }

  .footer-button {
    display: flex;
    justify-content: center;
  }

  .header-button {
    padding: 8px 18px;
    font-size: 14px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column; /* в столбик */
    align-items: center;
    gap: 6px;
    padding-top: 15px;
    text-align: center;
  }

  .footer-bottom .privacy,
  .footer-bottom .development {
    font-size: 12px;
  }



  .header-btn {
    display: none; /* скрываем кнопку на маленьких экранах, если нужно */
  }
  
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #1D392F; /* зелёный фон */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    display: none; /* скрыто по умолчанию */
    z-index: 1000;
  }

  .nav.active {
    display: flex; /* показываем при активации */
  }

  .nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .nav li a {
    font-size: 20px;
    color: #DAFDEC;
    text-decoration: none;
    display: inline-block;
    padding: 10px 0;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1100;
  }


  .hero {
    height: 450px; /* чтобы блок подстраивался под размер изображения */
    padding-top: 20px;
  }

  .hero-top-img {
    position: relative;
    text-align: center; /* текст по центру */
  }

  .hero-top-img img {
    width: 90%;      /* масштабируем изображение под экран */
    max-width: 600px; /* чтобы не было слишком большим на больших мобильных */
    height: auto;
    display: block;
    margin: 0 auto;  /* центрируем изображение */
  }

  .hero-overlay-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;   /* уменьшаем размер текста под мобильные */
    font-weight: 800;
    color: #EFFFF7;
    text-transform: uppercase;
    white-space: nowrap; /* чтобы текст не переносился */
  }

  .hero-bottom {
    margin-top: 20px;
    text-align: center;
  }

  .bottom-img {

    height: auto;
    margin: 0 auto;
  }

  .hero-content {
    margin-top: 15px;
    bottom: -10%;
  }

  .hero-text {
    font-size: 12px;
    color: white;
  }

  .hero-btn {
    font-size: 16px;
    padding: 10px 20px;
  }
  
  .hero-btn {
    width: 200px;
  } 
  .slogan-desktop {
    display: none;
  }
  .slogan-mobile {
    display: block;
    max-width: 90%;       /* чтобы не выходила за края */
    height: auto;
    margin: 0 auto;       /* центрируем */
  }
/* скрываем пустые карточки */
.why-choose-unique .why-card.empty {
  display: none;
}

/* карточки в 1 колонку */
.cards-grid-unique {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

/* карточка адаптивная */
.why-choose-unique .why-card {
  width: 100%; /* растягивается на всю ширину контейнера */
  max-width: 360px; /* ограничим, чтобы текст читался */
  margin: 0 auto; /* центрируем */
  height: auto; /* убираем фиксированную высоту */
  padding: 16px;
}

.why-choose-unique .why-card .card-number {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-choose-unique .why-card .card-title {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.why-choose-unique .why-card .card-text {
  font-size: 14px;
  line-height: 1.5;
}

/* убираем линию */
.timeline::before {
  display: none;
}

/* делаем карточки на всю ширину */
.timeline-item {
  width: 100%;
  text-align: center; /* выравнивание */
  left: 0 !important;
  padding: 0 15px;
  margin-bottom: 20px;
}

/* карточки идут одна под другой */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}

/* заголовок карточки поменьше */
.timeline-card-title {
  font-size: 24px;
  border: none;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}

/* текст внутри карточки */
.timeline-card p {
  width: 100%;      /* убираем фиксированную ширину */
  font-size: 14px;
  line-height: 1.5;
  margin: 0 auto;
  text-align: center;
}

.timeline-text {
  width: auto;
}

.timeline-item.right .timeline-card-title {
   width: calc(100% + 0px);
}
/* FAQ секция */
.faq-section {
  padding: 30px 15px; /* убираем лишние отступы, но оставляем немного */
  box-sizing: border-box;
}

.faq-section .container {
  max-width: 100%;
  padding: 0 10px;
}

/* Сетка карточек в одну колонку */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px; /* расстояние между карточками */
}

/* Сама карточка */
.faq-card {
  border-radius: 12px;
  box-sizing: border-box;
  width: 100%; /* карточка занимает всю ширину контейнера */
  overflow: hidden; /* текст и элементы не вылезают */
}

/* Заголовок карточки */
.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 10px;
}

.faq-question {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #1D392F;
  word-wrap: break-word;
}

.faq-arrow {
  font-size: 16px;
  flex-shrink: 0;
}

/* Ответ внутри карточки */
.faq-answer {
  margin-top: 8px;
}

.faq-answer p,
.faq-answer ul {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

/* Контейнер списка внутри ответа */
.faq-answer ul {
  padding-left: 18px; /* отступ для списка */
}

.reviews-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 15px;
  padding-bottom: 10px;
}

.review-card {
  flex: 0 0 90%; /* одна карточка почти на весь экран */
  scroll-snap-align: start;
  width: auto;
  padding: 15px;
  border-radius: 12px;
  background: linear-gradient(to right, #1D392F, #4A7B66);
  color: #fff;
  box-sizing: border-box;
}

.review-text-container {
  max-height: 100px;
}

.review-text {
  font-size: 14px;
  line-height: 1.4;
}

.read-more-btn {
  font-size: 14px;
}

.review-company {
  font-size: 18px;
}

.author-name {
  font-size: 16px;
}

.author-role {
  font-size: 14px;
}

.reviews-nav {
  display: none; /* скрываем кнопки навигации для мобильных, можно свайпить */
}

.customers-links span {
  font-size: 27px;
  text-align: center;
}

.cta-image {
    display: none; /* полностью скрываем картинки */
  }

  .cta-section {
    padding: 30px 15px; /* уменьшаем паддинги для мобильных */
    text-align: center;
  }

  .cta-content {
    width: 100%;
    padding: 0 10px;
  }

  .cta-title {
    font-size: 18px; /* уменьшаем размер текста */
    line-height: 1.4;
    color: #1D392F;
    margin-bottom: 15px;
  }

  .header-btn {
    display: flex;
    justify-content: center;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .cta-image {
    display: none; /* скрываем все картинки */
  }

  .cta-section {
    padding: 30px 15px; /* уменьшаем отступы для мобильных */
    text-align: center;
  }

  .cta-content {
    width: 100%;
    padding: 0 10px;
  }

  .cta-title {
    font-size: 18px; /* уменьшаем размер текста */
    line-height: 1.4;
    color: #DAFDEC; /* светло-зеленый оттенок */
    margin-bottom: 15px;
  }

  .header-btn {
    display: flex;
    justify-content: center;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .hero-overlay-text {
    font-size: 20px;
    top: 65%;
  }
  
  .header-btn {
    display: none; /* кнопка шапки скрывается на мобильных, если нужно */
  }

  .faq-header1 {
    grid-template-columns: 60px 1fr 25px;
    font-size: 14px;
    padding: 10px;
  }

  .faq-category {
    font-size: 7px;
  }
  
  .faq-question1 {
    font-size: 10px;
  }
 
}


@media (min-width: 390px) and (max-width: 450px) {
      .hero-content {
        margin-top: 15px;
        bottom: -15%;
    }
}


.call-link {
    color: inherit;       /* берёт цвет из класса text */
    text-decoration: none; /* убираем подчеркивание */
    cursor: pointer;       /* курсор при наведении */
}
