/* =========================================================
   BASE — Сброс, переменные, типографика, утилиты
   ========================================================= */

/* ----- Переменные ----- */
:root {
  /* Цвета */
  --green-950: #0b1208;
  --green-900: #101a0c;
  --green-800: #18240f;
  --green-700: #34451d;
  --green-600: #5a6a31;
  --green-500: #838e57;
  --green-400: #a8b17d;

  --cream: #f7f6f1;
  --cream-2: #efeee8;
  --white: #ffffff;

  --text: #11180d;
  --text-soft: #687060;
  --border: #e3e3db;

  /* Размеры */
  --container: 1240px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  /* Тени */
  --shadow-soft: 0 20px 60px rgba(17, 24, 13, 0.07);
  --shadow-card: 0 10px 40px rgba(17, 24, 13, 0.055);
  --shadow-hover: 0 16px 48px rgba(17, 24, 13, 0.08);

  /* Переходы */
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ----- Сброс ----- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Запрет горизонтальной прокрутки */
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  line-height: 1.5;
  overflow-x: hidden; /* Запрет горизонтальной прокрутки */
}

/* Декоративные круги на фоне */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.25;
  max-width: 100vw;  /* Ограничиваем ширину */
  max-height: 100vh; /* Ограничиваем высоту */
  overflow: hidden;  /* Скрываем выход за границы */
}

body::before {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(168, 177, 125, 0.15) 0%, transparent 70%);
}

body::after {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(168, 177, 125, 0.10) 0%, transparent 70%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
}

/* ----- Утилиты ----- */
.v-container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.v-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: #c5ce9d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.v-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #a8b17d;
}

.v-section {
  padding: 120px 0;
}

.v-section-white {
  background: #fff;
}

.v-section-cream {
  background: var(--cream);
}

.v-section-dark {
  background: var(--green-900);
  color: #fff;
}

.v-section-kicker {
  margin-bottom: 13px;
  color: var(--green-500);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.7px;
}

.v-section-dark .v-section-kicker {
  color: #a8b17d;
}

.v-section-title {
  max-width: 730px;
  margin: 0;
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1.06;
  letter-spacing: -2.4px;
  font-weight: 800;
}

.v-section-description {
  max-width: 470px;
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}

.v-section-dark .v-section-description {
  color: rgba(255, 255, 255, .60);
}

.v-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 52px;
}

.v-culture-more {
  margin-top: 30px;
  text-align: center;
}

/* Декоративные круги в секциях */
.v-section-white .v-container {
  position: relative;
}

.v-section-white .v-container::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  right: -100px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 177, 125, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.v-section-cream .v-container::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  left: -50px;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 177, 125, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.v-section .v-container > * {
  position: relative;
  z-index: 1;
}

/* Адаптив для секций */
@media (max-width: 760px) {
  .v-section {
    padding: 78px 0;
  }
  .v-section-head {
    display: block;
  }
  .v-section-description {
    margin-top: 20px;
  }
  .v-container {
    width: min(var(--container), calc(100% - 32px));
  }
}

/* ===== КАСТОМНЫЙ СКРОЛЛБАР ДЛЯ ВСЕХ СТРАНИЦ ===== */

/* Chrome, Safari, Edge, Opera */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0; /* Светло-серый фон */
}

::-webkit-scrollbar-thumb {
  background: #a8b17d; /* Оливковый цвет (как у вас в палитре) */
  border-radius: 10px;
  border: 2px solid #f0f0f0; /* Отступ, чтобы он выглядел аккуратнее */
}

::-webkit-scrollbar-thumb:hover {
  background: #5a6a31; /* Темнее при наведении */
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #838e57 #f0f0f0;
}