.not-found {
    padding-top: 21rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.not-found h2 {
    font-size: 20px;
    padding: 10px;
}

.not-found p {
    font-size: 14px;
    padding: 10px;
}

.sitemap {
    padding-top: 21rem;
    margin: 0px auto;
    padding-left: 100px;
}

.sitemap h1 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.sitemap li {
    padding: 5px;
}

.level-2 {
    margin-left: 40px;
}












/* ========================================
   Слайдер Отзывов
======================================== */

.slider-container {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0;
}

.testimonial-card {
  background-color: #c3a16e;
  color: white;
  border-radius: 25px;
  padding: 50px 30px;
  margin: 0 auto;
  max-width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: none;
}

.testimonial-card.active {
  opacity: 1;
  display: block;
}

.stars {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 3rem;
  color: #fff;
  letter-spacing: 3px;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
  min-height: 150px;
  font-size: 18px;
  color: #fff;
}

.divider {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  margin: 20px 0;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  position: relative;
}

.client-avatar {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.client-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.client-details {
  min-height: 45px;
  text-align: center;
  margin-left: 10px;
}

.client-name {
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.client-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 5px 0 0;
  opacity: 0.8;
}

/* Статистика под отзывами */
.stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  color: #cfa870;
  font-weight: 700;
}

.stat-label {
  font-size: 12px;
  color: #555;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Кнопки навигации */
.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 7.4rem;
  height: 7.4rem;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 2rem 4rem 10rem rgba(0, 0, 0, 0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.arrow-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

.arrow {
  font-size: 2rem;
  color: #333;
}

.prev {
  left: -65px;
}

.next {
  right: -65px;
}

/* ========================================
   Адаптивность (до 768px)
======================================== */

@media (max-width: 768px) {
  .slider-container {
    padding: 0;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 16px;
    min-height: 120px;
  }

  .stars {
    font-size: 2.2rem;
  }

  .client-avatar {
    left: 20px;
  }

  .client-details {
    margin-left: 15px;
  }

  /* Статистика — вертикальное расположение */
  .stats {
    display: block;
    gap: 20px;
    margin: 30px 0;
  }

  .stat-item {
    text-align: center;
    margin: 25px 0;
  }

  .stat-number {
    font-size: 5.5rem;
    line-height: 1;
  }

  .stat-label {
    font-size: 14px;
  }

  /* Кнопки навигации — сверху */
  .arrow-btn {
    position: absolute;
    top: 30px;
    transform: translateY(0);
    width: 40px;
    height: 40px;
    box-shadow: 1rem 2rem 5rem rgba(0, 0, 0, 0.11);
  }

  .arrow {
    font-size: 1.5rem;
  }

  .prev {
    right: 60px;
    left: auto;
  }

  .next {
    right: 10px;
  }
}

/* ========================================
   FAQ (Вопросы и ответы)
======================================== */

.faq-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0;
}

details {
  margin-bottom: 10px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background-color: #d0aa6e;
  border: none;
}

details .footer__top-info-item-advice {
  margin-top: 20px;
}

details .footer__top-info-item-advice-title {
  display: inline-block;
  border-radius: 20px;
  padding: 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  background-color: #c3a16e;
  transition: all 0.3s ease;
  user-select: none;
}

summary:hover {
  background-color: #b59461;
}

summary::after {
  content: "+";
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

details[open] summary {
  background-color: #b59461;
}

details > div {
  padding: 15px 20px;
  background-color: #fff;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid #eee;
}








        .ags-faq-container {}
        .ags-faq-item {
            margin-bottom: 16px;
            border-radius: 30px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .ags-faq-header {
            background: #b8926a;
            color: white;
            padding: 16px 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 16px;
            transition: background-color 0.2s ease;
        }

        .ags-faq-header:hover {
            background: #a58057;
        }

        .ags-faq-header::after {
            content: '+';
            font-weight: bold;
            font-size: 20px;
            transition: transform 0.3s ease;
        }

        .ags-faq-item.active .ags-faq-header::after {
            content: '-';
            transform: rotate(180deg);
        }

        .ags-faq-content {
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            background: #fff;
        }

        .ags-faq-item.active .ags-faq-content {
            padding: 20px;
            max-height: 1000px; /* Достаточно большое значение для анимации */
        }

        .ags-faq-content p {
            line-height: 1.6;
            margin: 12px 0;
            color: #333;
        }

        .ags-faq-button {
            background: #b8926a;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            font-weight: 600;
            margin-top: 16px;
            transition: background-color 0.2s ease;
            text-decoration: none;
            display: inline-block;
        }

        .ags-faq-button:hover {
            background: #a58057;
            text-decoration: none;
        }