/* Удаляем импорт Gayathri и @font-face для Montserrat */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* === ИСПРАВЛЕНИЕ СКРОЛЛА === */
html, body {
  margin: 0;
  padding: 0;
  /* Ставим Inter как основной шрифт для текста */
  font-family: "Inter", sans-serif; 
  background: #000;
  color: #fff;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

.page-wrapper {
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

/* ===== Top Bar ===== */
.top-bar {
  position: relative;
  z-index: 500;
  height: 72px;
  background: #292929;        
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  /* Montserrat для меню */
  font-family: "Montserrat", sans-serif; 
}

.logo {
  font-weight: 800; /* Жирнее для лого */
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-family: "Montserrat", sans-serif;
  z-index: 501;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: #ff8562;
  text-decoration: none;
  font-size: 18px;       /* Increased size to compensate for thinner look */
  font-weight: 100;     
}

.main-nav a:hover {
  text-decoration: underline;
}

/* ===== Burger Button ===== */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 501;
  padding: 0;
}

.burger-btn span {
  width: 100%;
  height: 2px;
  background-color: #ff8562;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111;
  z-index: 400;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.mobile-nav-links a {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 110vh;
  background-image: url("images/back1.png"); 
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 80px 40px;
  overflow: hidden; /* Обрезаем лишнее */
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.65;
  z-index: 0;
  animation: heroGlow 18s ease-in-out infinite;
}

.hero::before {
  top: -140px;
  left: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 133, 98, 0.28), transparent 60%);
}

.hero::after {
  bottom: -160px;
  right: -120px;
  background: radial-gradient(circle at 70% 70%, rgba(200, 168, 120, 0.22), transparent 62%);
  animation-delay: -6s;
}

.hero-content {
  position: relative;
  margin-top: 100px;
  max-width: 760px;
  z-index: 1;
  animation: heroFadeUp 0.85s ease forwards;
  opacity: 0;
}

.hero-tagline {
  position: relative;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-left: 32px;
  color: #f5f5f5;
}

.hero-tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #ff8562, #c8a878);
}

.hero-title {
  margin: 0 0 32px;
  font-family: "Montserrat", sans-serif;
  font-size: 56px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.01em;
}

.hero-btn {
  position: relative;
  padding: 25px 130px;
  border-radius: 6px;
  border: none;
  background: linear-gradient(120deg, #ff8562 0%, #c8a878 100%);
  color: white;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5);
}

.hero-btn:hover::after {
  transform: translateX(100%);
}

/* 1. Анимация фона (медленный зум) */
.hero {
  overflow: hidden; /* Чтобы картинка не вылезала при зуме */
}
/* Если картинка задана через background-image, лучше добавить псевдоэлемент, но для простоты можно так: */
.hero::before {
  /* ...ваши текущие стили overlay... */
  /* Добавьте это: */
  animation: bgZoom 20s ease-out infinite alternate;
}

@keyframes bgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* 2. Анимация появления контента (Fade Up) */
/* Добавьте класс .fade-up элементам: h1, p, .hero-btn */
.hero-content > * {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
}

.hero-tagline { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.3s; }
.hero-btn { animation-delay: 0.6s; }

/* 3. Анимация карточек снизу */
.hero-features .feature-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease-out forwards;
}

/* Карточки выходят лесенкой */
.hero-features .feature-card:nth-child(1) { animation-delay: 0.8s; }
.hero-features .feature-card:nth-child(2) { animation-delay: 1.0s; }
.hero-features .feature-card:nth-child(3) { animation-delay: 1.2s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Bottom feature cards ===== */
.hero-features {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: 100%;
  margin-bottom: 100px;
  padding: 16px;
  background: rgba(24, 24, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.feature-card {
  font-family: "Montserrat", sans-serif;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(150deg, rgba(255, 133, 98, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.35);
  padding: 26px;
  border-radius: 12px;
  height: 70px; /* Фиксированная высота для ПК */
  white-space: nowrap;      
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFeatureIn 0.7s ease forwards;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(200, 168, 120, 0.25);
  border-color: rgba(200, 168, 120, 0.4);
}

.feature-card:hover::after {
  transform: translateX(120%);
}

.hero-features .feature-card:nth-child(1) { animation-delay: 0.15s; }
.hero-features .feature-card:nth-child(2) { animation-delay: 0.26s; }
.hero-features .feature-card:nth-child(3) { animation-delay: 0.37s; }

.feature-text {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;  
}

.feature-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;       
}

@keyframes heroGlow {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFeatureIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive Mobile Fixes ===== */
@media (max-width: 900px) {
  .top-bar {
    padding: 0 20px;
  }

  .main-nav {
    display: none; 
  }
  .burger-btn {
    display: flex;
  }

  .hero {
    padding: 60px 24px 32px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-btn {
    padding: 20px 20px;
    width: 100%;
    text-align: center;
  }

  /* Исправление карточек на мобильном */
  .hero-features {
    flex-direction: column;
  }
   
  .feature-card {
    white-space: normal; /* Разрешаем перенос текста */
    height: auto;        /* Высота подстраивается */
    min-height: 70px;
    padding: 20px;
  }
   
  .feature-text {
    white-space: normal; /* Разрешаем перенос текста */
    font-size: 18px;
  }
}


/* ===== ABOUT SECTION ===== */
.about {
  display: flex;
  gap: 60px;
  padding: 120px 80px;
  background: #fff;
  color: #000;
  overflow: hidden; /* Обрезаем вылеты */
}

.about-left {
  position: relative;
  flex: 1;
}

.about-image {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.experience-badge {
  position: absolute;
  top: 30px;
  left: -30px; /* Чуть сдвинем, чтобы было красиво */
  /* Убираем фиксированную ширину 350px */
  width: auto; 
  min-width: 280px;
  padding: 25px 35px; /* Добавим воздуха */
  background: #292929;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
}

.exp-number {
  /* Уменьшаем с 100px до 80px */
  font-size: 80px; 
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
  font-family: "Montserrat", sans-serif;
  color: #c8a878; /* Сделаем цифру золотой для акцента */
}

.exp-text {
  /* Уменьшаем с 35px до 20px, чтобы влезло */
  font-size: 20px; 
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: nowrap; /* Оставляем в одну строку */
  font-family: "Montserrat", sans-serif;
}
.about-right {
  flex: 1;
}

.about-header {
  position: relative;
  display: flex;             /* Используем Flexbox */
  justify-content: center;   /* Центрируем по горизонтали */
  align-items: center;       /* Центрируем по вертикали */
  margin-bottom: 30px;
  text-align: center;
}

.about-outline {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  /* Адаптивный размер шрифта: на больших экранах 130px, на малых меньше */
  font-size: clamp(70px, 12vw, 140px);
  line-height: 0.85; /* Поджимаем строки друг к другу */
  color: transparent;
  -webkit-text-stroke: 2px #c8a878;
  margin: 0;
  z-index: 1;
}

.about-small-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Идеальная центровка */
  background: #fff;  /* Белый фон, чтобы перекрыть пересечение линий */
  padding: 5px 20px; /* Отступы вокруг текста */
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: #222;
  white-space: nowrap; /* Запрещаем перенос */
  z-index: 2;
}

.about-title {
  font-size: 32px;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 20px;
  letter-spacing: 0.06em; 
}

.choose-title {
  font-size: 26px;
  font-family: "Montserrat", sans-serif;
  margin: 40px 0 20px;
  letter-spacing: 0.06em; 
}

.about-paragraph {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 22px;
}



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

.choose-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  margin-bottom: 18px;
}

.check-icon {
  width: 26px;
  margin-top: 3px;
}

@media (max-width: 1000px) {
  .about {
    flex-direction: column;
    padding: 80px 30px;
  }

  .about-outline {
    font-size: 80px;
    transform: translateY(-10px);
  }

  /* === ИСПРАВЛЕНИЕ ABOUT US НА ТЕЛЕФОНЕ === */
  .about-small-title {
    width: 90%;        
    min-width: 200px;
    padding: 0 10px;
    white-space: nowrap;
    top: 40%;
  }
   
  .about-header {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .experience-badge {
    top: 12px;
    left: -8px;
  }
}

/* ===== SERVICES SECTION ===== */
.services {
  background: #fff;
  color: #000;
  padding: 120px 80px 140px;
  overflow: hidden;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  position: relative;
  text-align: center;   
}

.services-outline {
   font-size: 160px;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px #c8a878;
  margin: 0 0 10px;
}

.services-title {
  position: absolute;
  left: 50%;
  top: 140px;
  transform: translateX(-50%);
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  margin: 0;
  background-color: white;
  width: 800px;
  padding: 0;
}

.services-subtitle {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.6;
}

.services-body {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
}

.services-grid {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 26px;
}

.service-card {
  position: relative;
  background: #222;
  color: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease,
    border-color 0.35s ease, opacity 0.35s ease;
  will-change: transform;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: serviceFadeIn 0.65s ease forwards;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 25% 18%, rgba(255, 133, 98, 0.28), transparent 45%);
  opacity: 0;
  transform: translateY(12%);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-12px);
  background: #1b1b1b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(200, 168, 120, 0.25);
  border-color: rgba(200, 168, 120, 0.3);
}

.service-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .service-card:nth-child(1) { animation-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.12s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.19s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.26s; }
.services-grid .service-card:nth-child(5) { animation-delay: 0.33s; }
.services-grid .service-card:nth-child(6) { animation-delay: 0.40s; }

@keyframes serviceFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  background: white;            
}

.service-card-image:hover {
  background: #f7f7f7;
}

.service-fingerprint {
  max-width: 100%;
  height: auto;
}
.service-title {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.service-text {
  font-size: 15px;
  line-height: 1.6;
}

.services-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.services-image img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
  .services {
    padding: 80px 30px 100px;
  }

  .services-outline {
    font-size: 90px;
  }

  .services-title {
    top: 26px;
    font-size: 26px;
  }

  .services-body {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-image {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-outline {
    font-size: 64px;
  }

  .services-title {
    font-size: 22px;
    width: 90%;
  }
}

/* ===== FAQ SECTION ===== */
.faq {
  background: #fff;
  color: #000;
  padding: 120px 80px;
  overflow: hidden;
}

.faq-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 80px;
  align-items: start;
}

.faq-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.faq-heading {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  width: 100%;
  margin-bottom: 8px;
}

.faq-outline {
  grid-area: 1 / 1;
  z-index: 0; 
  font-size: clamp(100px, 22vw, 180px);
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  line-height: 1;
  margin: 0;
  color: transparent;
  background: linear-gradient(
    180deg,                
    rgba(208, 151, 73, 1) 0%,     
    rgba(208, 151, 73, 0.10) 100% 
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 2px transparent;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-130px);
}

.faq-title {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(36px, 7vw, 85px);
  font-weight: 100;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

.faq-title span {
  color: #c8a878;
}

.faq-image {
  width: 420px;
  max-width: 100%;
}

/* ===== FAQ SECTION STYLES ===== */

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  position: relative;
  background: #222;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Эффект золотой линии слева */
.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%; /* Сначала линии нет */
  background: #c8a878;
  transition: height 0.4s ease;
  z-index: 5;
}

/* Состояние OPEN */
.faq-item.open {
  background: #2a2a2a; /* Чуть светлее фон */
  border-color: rgba(200, 168, 120, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.faq-item.open::before {
  height: 100%; /* Линия вырастает на всю высоту */
}

/* Кнопка вопроса */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center; /* На ПК по центру */
  gap: 20px;
  background: none;
  border: none;
  padding: 24px 30px;
  cursor: pointer;
  text-align: left;
}

.faq-num {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #c8a878;
  opacity: 0.7;
  font-weight: 600;
  flex-shrink: 0; /* Чтобы цифра не сжималась */
}

.faq-text {
  flex: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  transition: color 0.3s ease;
}

.faq-item.open .faq-text {
  color: #c8a878;
}

/* --- ИКОНКА (КРЕСТИК) --- */
.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* ВАЖНО: Запрещаем сжимать иконку */
}

.icon-line {
  position: absolute;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), background-color 0.3s;
}

.icon-line:nth-child(1) {
  width: 100%;
  height: 2px;
}

.icon-line:nth-child(2) {
  width: 2px;
  height: 100%;
  transform: scaleY(1);
}

.faq-item.open .icon-line:nth-child(2) {
  transform: scaleY(0);
}
.faq-item.open .icon-line:nth-child(1) {
  background-color: #c8a878;
}

/* --- АНИМАЦИЯ ОТКРЫТИЯ --- */
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
}

.faq-item.open .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-inner-text {
  overflow: hidden;
  padding: 0 30px 30px 65px; /* Отступ слева под текстом (на ПК) */
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}

.faq-item.open .faq-inner-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* === МОБИЛЬНАЯ ОПТИМИЗАЦИЯ FAQ === */
@media (max-width: 768px) {
  .faq-question {
    padding: 18px 20px;
    gap: 15px;
    /* На телефоне выравниваем по верху, иначе длинный текст сломает сетку */
    align-items: flex-start; 
  }

  .faq-num {
    font-size: 14px;
    margin-top: 4px; /* Визуальная компенсация высоты строки */
  }

  .faq-text {
    font-size: 16px; /* Чуть меньше шрифт, чтобы влезало больше текста */
    line-height: 1.4;
  }

  .faq-icon {
    margin-top: 5px; /* Иконку тоже чуть вниз, чтобы ровно с первой строкой */
  }

  .faq-inner-text {
    /* Уменьшаем отступы ответа */
    padding: 0 20px 20px 50px; 
    font-size: 14px;
  }
}

/* === FIX FOR FAQ RESPONSIVENESS === */
@media (max-width: 1000px) {
  .faq-grid {
    grid-template-columns: 1fr; /* Одна колонка вместо двух */
    gap: 40px;
  }

  .faq-left {
    text-align: center;
    align-items: center; /* Центрируем иконку и текст */
  }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: #fff;
  color: #000;
  padding: 120px 0 140px; /* Убрали боковые отступы, чтобы лента шла от края до края */
  overflow: hidden;
}

.testimonials-inner {
  max-width: 100%; /* На всю ширину */
  margin: 0 auto;
}

.testimonials-header {
  max-width: 1300px;
  margin: 0 auto 60px;
  padding: 0 80px; /* Вернули отступы только для заголовка */
}

.testimonials-label {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.testimonials-title {
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  font-weight: 900;
  margin: 0;
}

/* --- Контейнер для маски (затемнение краев) --- */
.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Градиентная маска: прозрачное по краям, видно в центре */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

/* --- Дорожка с карточками --- */
.marquee-track {
  display: flex;
  gap: 30px;
  width: max-content; /* Ширина по содержимому */
  padding-left: 30px; /* Компенсация gap */
  animation: scrollTestimonials 40s linear infinite; /* 40 секунд на полный круг */
}

/* Пауза при наведении мышки */
.marquee-track:hover {
  animation-play-state: paused;
}

/* --- Сама карточка --- */
.testimonial-card {
  background: #222;
  color: #fff;
  border-radius: 24px;
  padding: 40px 36px;
  width: 450px;       /* Фиксированная ширина карточки */
  flex-shrink: 0;     /* Запрещаем сжиматься */
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px); /* Легкий подъем при наведении */
  background: #292929;
}

.testimonial-name {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  text-transform: uppercase;
  color: #c8a878; /* Золотой цвет имени */
}

.testimonial-type {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 20px;
  opacity: 0.7;
}

.testimonial-text {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  font-weight: 300;
}

/* --- Анимация движения --- */
@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Сдвигаем на 50%, так как у нас 2 набора одинаковых карточек. 
       Когда дойдет до половины, анимация сбросится в 0 незаметно для глаза. */
    transform: translateX(-50%);
  }
}

/* Адаптив */
@media (max-width: 1100px) {
  .testimonials-header {
    padding: 0 30px;
  }
  .testimonials-title {
    font-size: 48px;
  }
}

@media (max-width: 600px) {
  .testimonial-card {
    width: 320px; /* Карточки чуть уже на телефоне */
    padding: 30px 24px;
  }
}

/* ===== STATISTICS SECTION ===== */
.stats {
  background: #222;
  color: #fff;
  padding: 120px 80px 140px;
  overflow: hidden;
}

.stats-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.stats-label {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.stats-title {
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  font-weight: 900;
  margin: 0 0 30px;
  line-height: 1.1;
  text-transform: uppercase;
}

.stats-subtitle {
  font-size: 18px;
  margin-bottom: 60px;
  max-width: 900px;
}

.stats-items {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.stats-item {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 280px;
}

.stats-icon {
  position: relative;
  width: 150px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  --fillDeg: 0deg;
  background:
    radial-gradient(circle at center, #111 62%, transparent 63%) 
    ,
    conic-gradient(#c8a878 var(--fillDeg), #111 var(--fillDeg)); 
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats-icon img {
  position: relative;
  width: 80px;
  height: 80px;
  z-index: 1;
}

.stats-number {
  font-family: "Montserrat", sans-serif;
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 6px;
}

.stats-text {
  font-size: 18px;
}

@media (max-width: 900px) {
  .stats-title {
    font-size: 46px;
  }

  .stats-items {
    flex-direction: column;
  }

  .stats-item {
    justify-content: center;
  }
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: #fff;
  color: #000;
  padding: 120px 80px 140px;
  overflow: hidden;
}

.contact-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.contact-heading {
  text-align: center;
  margin-bottom: 60px;
}

.contact-outline {
  font-family: "Montserrat", sans-serif;
  font-size: 120px;
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px #c8a878;
  opacity: 0.3;
  margin: 0 0 10px;
}

.contact-title {
  font-family: "Montserrat", sans-serif;
  font-size: 56px;
  font-weight: 100;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.contact-subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.5;
}

.contact-card {
  margin-top: 50px;
  background: #222;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-row input,
.contact-row textarea {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #444;
  background: #111;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
}

.contact-row-two {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
}

.contact-row textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.5;
}

.contact-row input::placeholder,
.contact-row textarea::placeholder {
  color: #999;
}

.contact-btn {
  margin-top: 6px;
  align-self: flex-start;
  padding: 14px 34px;
  border-radius: 10px;
  border: none;
  background: #fff;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.contact-btn:hover {
  filter: brightness(0.9);
}

.contact-image-wrap {
  border-radius: 18px;
  background: #1b1b1b;
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
}

.contact-side-title {
  margin: 0 0 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 44px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-image {
  flex: 1;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
}

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

@media (max-width: 1100px) {
  .contact {
    padding: 80px 30px 100px;
  }

  .contact-outline {
    font-size: 80px;
  }

  .contact-title {
    font-size: 42px;
  }
}

@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-image-wrap {
    order: -1; 
  }
}

@media (max-width: 600px) {
  .contact-outline {
    font-size: 64px;
  }

  .contact-title {
    font-size: 32px;
  }

  .contact-row-two {
    grid-template-columns: 1fr;
  }
}


/* ===== FOOTER ===== */
.footer {
  background: #222;
  color: #fff;
  padding: 80px 80px 40px;
  border-top: 1px solid #3a3a3a;
  overflow: hidden;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 60px;
}

.footer-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 18px;
}

.footer-text {
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
}

.footer-title {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 16px;
  text-transform: capitalize;
}

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

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact-item {
  margin-bottom: 14px;
}

.footer-contact-label {
  display: block;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 2px;
}

.footer-contact-value {
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
  text-decoration: none;
}

.footer-contact-value a {
  color: inherit;
}

.footer-contact-value:hover {
  text-decoration: underline;
}

.footer-bottom-line {
  margin-top: 40px;
  border-top: 1px solid #3a3a3a;
}

@media (max-width: 900px) {
  .footer {
    padding: 60px 30px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-text {
    max-width: none;
  }
}


/* ===== PROCESS / HOW WE WORK SECTION ===== */
.process {
  background: #222;
  color: #fff;
  padding: 120px 80px 140px;
  position: relative;
  overflow: hidden;
}

.process-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;        
  left: 50%;
  width: 3px;
  background: #c8a878;
  z-index: 1;
}
.process-left,
.process-right {
  position: relative;
  padding: 0 40px;
}

.process-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 12px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.process-title {
  font-family: "Montserrat", sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 70px;
}

.process-step {
  position: relative;
  margin-bottom: 160px;
  width: 400px;
  height: auto;
}

.process-number {
  position: absolute;
  top: 30%;
  left: 20px;
  transform: translateY(-50%);   
  font-family: "Montserrat", sans-serif;
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;                
  opacity: 0.06;                  
  pointer-events: none;
  z-index: 0;                    
}

.process-step-title,
.process-step-text {
  position: relative;
  z-index: 1;
}

.process-step-title {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 300;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.process-step-text {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.process-left .process-step {
  padding-left: 80px;
}

.process-right .process-step {
  padding-left: 80px;
}

@media (max-width: 1100px) {
  .process {
    padding: 80px 30px 100px;
  }

  .process-title {
    font-size: 42px;
  }
}

@media (max-width: 900px) {
  .process-inner {
    display: flex;
    flex-direction: column;
  }

  .process-inner::before {
    display: none;
  }

  .process-left,
  .process-right {
    display: contents; 
  }

  .process-label { order: 1; margin-top: 0; }
  .process-title { order: 2; margin-bottom: 50px; }

  .process-right .process-step:nth-child(1) { order: 3; }
  .process-left .process-step:nth-of-type(1) { order: 4; }
  .process-right .process-step:nth-child(2) { order: 5; }
  .process-left .process-step:nth-of-type(2) { order: 6; }
  .process-right .process-step:nth-child(3) { order: 7; }

  .process-step {
    margin-bottom: 50px;
    width: 100%; 
  }

  .process-left .process-step,
  .process-right .process-step {
    padding-left: 60px; 
  }

  .process-number {
    font-size: 130px;
  }
}

/* ===== Стили для выпадающих списков (Select) ===== */
.select-wrapper {
  position: relative;
  width: 100%;
}

.contact-row select {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #444;
  background: #111; 
  padding: 14px 18px;
  color: #fff;      
  font-size: 15px;
  font-family: inherit;
  appearance: none; 
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.select-wrapper::after {
  content: "▼";
  font-size: 10px;
  color: #c8a878; 
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-row select:focus {
  outline: none;
  border-color: #c8a878;
}

.contact-row select option {
  background: #222;
  color: #fff;
}

/* ===== Настройка поля телефона (intl-tel-input) ===== */
.iti {
  width: 100%;
  display: block;
}

.iti__flag-container {
  border-radius: 10px 0 0 10px;
}

.iti input {
  background: #111 !important;
  color: #fff !important;
  border: 2px solid #444 !important;
  border-radius: 10px !important;
  width: 100% !important;
}

.iti__country-list {
  background-color: #222 !important;
  color: #fff !important;
  border: 1px solid #444 !important;
}

.iti__country.iti__highlight {
  background-color: #444 !important;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000; 
  z-index: 99999;          
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s; 
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1); 
  border-top: 4px solid #c8a878;              
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== POPUP STYLES ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); 
  backdrop-filter: blur(5px);      
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

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

.popup-content {
  background: #222;
  color: #fff;
  padding: 50px 40px;
  border-radius: 24px;
  border: 1px solid #3a3a3a;
  text-align: center;
  max-width: 450px;
  width: 90%;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

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

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  transition: 0.3s;
}

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

.popup-title {
  font-family: "Montserrat", sans-serif;
  font-size: 42px;
  text-transform: uppercase;
  margin: 20px 0 10px;
  color: #fff;
}

.popup-text {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 30px;
}

.popup-btn {
  padding: 12px 40px;
  border-radius: 10px;
  border: none;
  background: #c8a878; 
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: 0.3s;
}

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

.popup-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.popup-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #c8a878; 
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #c8a878;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #c8a878;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}
@keyframes scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
  100% { box-shadow: inset 0px 0px 0px 30px transparent; }
}


/* ===== FLOATING BUTTON ===== */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99; /* Выше контента, но ниже мобильного меню (400) */
  background: linear-gradient(120deg, #ff8562 0%, #c8a878 100%);
  color: #fff;
  padding: 18px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
   
  /* Начальное состояние: скрыта и смещена вниз */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  color: #fff; /* Убедимся, что цвет текста не меняется */
}

/* Класс для показа кнопки */
.floating-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Адаптив для мобильных телефонов */
@media (max-width: 600px) {
  .floating-btn {
    bottom: 20px;
    right: 20px;
    left: 20px; /* Растягиваем на всю ширину для удобства нажатия пальцем */
    text-align: center;
    padding: 16px;
    font-size: 18px;
  }
}