* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #111827;            /* оставляем только цвет текста */
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 4rem 2rem 2rem;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  margin: 0;

  /* сохраняем фон-оттенок, но через background-color, 
     чтобы не затирать background-image */
  background-color: #f9fafb;

  /* «прилипший» фон */
  background-attachment: fixed;
}
#page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 2px;
  text-align: center;
  margin: 40px 0 30px;
  color: #0f172a;
}
#container {
  max-width: 1024px;
  width: 100%;
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
h1 {
  font-size: 2rem;
  color: #1f2937;
}
h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: #374151;
}
p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.4;
}
ul {
  padding-left: 1.5rem;
  list-style: none;
}
li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: #374151;
}
li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #fbbf24;
  border-radius: 9999px;
}
blockquote {
  background: #e0f2fe;
  border-left: 4px solid #0284c7;
  padding: 1rem;
  margin: 2rem 0;
  font-style: italic;
  color: #0c4a6e;
}
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
}

/* Wrapper for reviews + buttons */
.reviews-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-top: 1rem;
}

/* Container for review cards */
.reviews-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem 2rem;
  margin: 0 auto;
  max-width: 100%;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.reviews-container::-webkit-scrollbar {
  height: 6px;
}
.reviews-container::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.review-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.review-card p {
  color: #374151;
  margin-bottom: 0.5rem;
}

.stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

author {
  font-style: italic;
  color: #6b7280;
  font-size: 0.875rem;
}

/* Scroll buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 2rem;
  color: #0f172a;
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
  border-radius: 0.25rem;
  transition: background 0.2s ease;
}

.scroll-btn:hover {
  background: rgba(229, 231, 235, 0.9);
}

.scroll-btn.left {
  left: 0;
}

.scroll-btn.right {
  right: 0;
}

@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }
}
/* Wrapper + контейнер проблем */
.problems-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  margin-top: 1rem;
}
.problems-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem 2rem;
  max-width: 100%;
  scroll-behavior: smooth;
  /* стили скроллбара можно скопировать из .reviews-container */
}
.problem-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  padding: 1rem;
  line-height: 1.4;
}
/* на обеих — отзывы, проблемы и Our Services */
.scroll-btn.left-reviews,
.scroll-btn.left-problems,
.scroll-btn.left-services {
  left: 0;
}
.scroll-btn.right-reviews,
.scroll-btn.right-problems,
.scroll-btn.right-services {
  right: 0;
}
@media (max-width: 768px) {
  .scroll-btn.left-reviews,
  .scroll-btn.right-reviews,
  .scroll-btn.left-problems,
  .scroll-btn.right-problems,
  .scroll-btn.left-services,
  .scroll-btn.right-services {
    display: none;
  }
}

#book-btn {
  margin-top: 20px;
  padding: 0.75rem 2rem;
  background-color: #fbbf24;
  border: none;
  border-radius: 6px;
  color: #111827;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease-in-out;
}

#book-btn:hover {
  background-color: #facc15;
}

