/* Цветовая палитра */
:root {
  --color-primary-bg: #0f1929;
  --color-secondary-bg: #323a48;
  --color-tertiary-bg: #262e3a;
  --color-white: #f6f7f8;
  --color-gold: #c7ab6b;
  --color-gray: #8d97a6;
  --color-gray-dark: #7a848f;
  
  --gradient-gold: linear-gradient(
    106.252deg,
    rgb(201, 183, 151) 0%,
    rgb(194, 157, 93) 22.222%,
    rgb(163, 136, 90) 76.923%,
    rgb(194, 157, 93) 97.115%
  );
}

/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Общие стили для кнопок */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20.675px 51.688px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.36px;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  border: none;
  outline: none;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Первичная кнопка с золотым градиентом */
.btn-primary {
  background-image: var(--gradient-gold);
  color: var(--color-primary-bg);
  border: 1px solid var(--color-gold);
}

/* Вторичная кнопка с обводкой */
.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 1.545px solid var(--color-gold);
}

/* Кнопка с темным фоном */
.btn-dark {
  background-color: var(--color-secondary-bg);
  color: var(--color-white);
}

/* Кнопка с белой обводкой */
.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

/* Блоки контента */
.content-block {
  background-color: var(--color-primary-bg);
  color: var(--color-white);
  padding: 60px 30px;
}

.content-block-secondary {
  background-color: var(--color-secondary-bg);
  color: var(--color-white);
  padding: 60px 30px;
}

/* Разделители */
.divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-gray);
}

.divider-vertical {
  width: 1px;
  height: 100%;
  background-color: var(--color-gray);
}

/* Типография */
.text-gold {
  color: var(--color-gold);
}

.text-white {
  color: var(--color-white);
}

.text-gray {
  color: var(--color-gray);
}

.text-gray-dark {
  color: var(--color-gray-dark);
}

/* Заголовки */
.heading-hero {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.03;
  letter-spacing: -0.64px;
  color: var(--color-white);
}

.heading-xl {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.52px;
  color: var(--color-white);
}

.heading-large {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.13;
  letter-spacing: -0.44px;
  color: var(--color-white);
}

.heading-medium {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.2;
  color: var(--color-white);
}

.heading-small {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-white);
}

/* Основной текст */
.body-text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-white);
}

.body-text-medium {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-white);
}

/* Дополнительные классы типографии для унификации */
.text-quote {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.2;
  color: rgba(246, 247, 248, 0.92);
}

.text-section-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 44px;
  line-height: 113%;
  color: var(--color-white);
}

.text-section-body {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.17;
  color: var(--color-white);
}

.text-section-body-alt {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.6;
  color: var(--color-white);
}

.text-caption {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-white);
}

.text-caption-medium {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-white);
}

.text-small {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-white);
}

/* Навигационное меню */
.nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.18px;
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-gold);
}

.nav-link.active {
  color: var(--color-gold);
}

/* Карточки */
.card {
  background-color: var(--color-secondary-bg);
  border-radius: 8px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(199, 171, 107, 0.2);
}

/* Маски для изображений */
.image-mask-circle {
  border-radius: 50%;
  overflow: hidden;
}

/* Футер */
.footer-link {
  color: var(--color-white);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-gold);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .heading-hero {
    font-size: 48px;
  }
  
  .heading-xl {
    font-size: 40px;
  }
  
  .heading-large {
    font-size: 36px;
  }
  
  .heading-medium {
    font-size: 24px;
  }
  
  .text-quote,
  .text-section-title {
    font-size: 34px;
  }
  
  .text-section-body,
  .text-section-body-alt {
    font-size: 21px;
  }
  
  .btn {
    padding: 16px 40px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .heading-hero {
    font-size: 36px;
  }
  
  .heading-xl {
    font-size: 32px;
  }
  
  .heading-large {
    font-size: 28px;
  }
  
  .heading-medium {
    font-size: 20px;
  }
  
  .text-quote,
  .text-section-title {
    font-size: 27px;
  }

  
  
  .text-section-body,
  .text-section-body-alt,
  .text-caption {
    font-size: 13px;
  }
  
  .btn {
    padding: 14px 32px;
    font-size: 14px;
  }
  
  .content-block,
  .content-block-secondary {
    padding: 40px 20px;
  }
}


/* Иконки в социальных сетях */
.social-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-gray);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  border-color: var(--color-gold);
  background-color: var(--color-gold);
}

.social-icon:hover svg path {
  stroke: var(--color-primary-bg);
  fill: var(--color-primary-bg);
}

/* Универсальный блок социальных иконок */
.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: left;
  flex-wrap: wrap;
}

.social-icons__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
}

.social-icons__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.social-icons__icon:hover {
  border-color: var(--color-gold);
  background-color: var(--color-gold);
}

.social-icons__icon:hover img {
  filter: brightness(0) invert(0);
}

/* Компактный вариант для мобильного меню */
.social-icons--compact .social-icons__icon {
  width: 40px;
  height: 40px;
}

.social-icons--compact .social-icons__icon img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.social-icons--compact .social-icons__icon:hover img {
  opacity: 1;
}

/* Статистические числа */
.stat-number {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 80px;
  line-height: 1.13;
  color: var(--color-gold);
}

/* Cookie баннер */
.cookie-banner {
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 26px 30px;
  border-radius: 4px;
}

.cookie-banner a {
  color: var(--color-primary-bg);
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--color-gold);
}