:root {
  /* Монохромная цветовая схема с динамическими переходами */
  --primary-color: #2c3e50;
  --primary-light: #34495e;
  --primary-dark: #1a252f;
  --secondary-color: #3498db;
  --secondary-light: #5dade2;
  --secondary-dark: #2980b9;
  --accent-color: #e74c3c;
  --accent-light: #ec7063;
  --accent-dark: #c0392b;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --gradient-overlay: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 73, 94, 0.9));
  
  /* Текстовые цвета */
  --text-primary: #2c3e50;
  --text-secondary: #34495e;
  --text-light: #ecf0f1;
  --text-white: #ffffff;
  --text-muted: #7f8c8d;
  
  /* Фоны */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-dark: #2c3e50;
  --bg-light: #ecf0f1;
  
  /* Шрифты */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
  
  /* Анимации */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease-in-out;
  --transition-slow: all 0.6s ease-in-out;
  
  /* Тени */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
  
  /* Размеры */
  --border-radius: 8px;
  --border-radius-large: 12px;
  --container-max-width: 1200px;
}

/* Глобальные стили */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; }
h3 { font-size: 2rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 500; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* Глобальные стили кнопок */
.btn,
.button,
input[type='submit'],
button {
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
}

.custom-button {
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transform: translateY(0);
  transition: var(--transition-smooth);
}

.custom-button:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--text-white);
}

.custom-button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-light);
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
  animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 1s ease-out 0.6s both;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand .title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition-fast);
  position: relative;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 100%;
}

.navbar-item:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--text-white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Секции */
.section {
  padding: 80px 0;
}

.section .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Карточки */
.card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Продукты */
.price {
  color: var(--secondary-color);
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 1rem 0;
}

/* Статистика */
.counter {
  font-family: var(--font-heading);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Отзывы */
.testimonial-card {
  text-align: center;
}

.testimonial-card .media-left {
  display: flex;
  justify-content: center;
  margin-right: 1rem;
}

.testimonial-card .image {
  margin: 0 auto;
}

.stars {
  color: #f39c12;
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* События и воркшопы */
.event-card,
.workshop-card {
  transition: var(--transition-smooth);
}

.event-card:hover,
.workshop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Медиа карточки */
.media-card {
  text-align: center;
}

.media-card .image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: 0 auto;
}

/* Клиентела */
.client-logo {
  text-align: center;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.client-logo:hover {
  transform: scale(1.05);
}

.client-logo .image {
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

/* Новости */
.news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Ресурсы */
.resource-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.resource-card .title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

.resource-card .title a:hover {
  color: var(--secondary-color);
}

/* Контент блоки */
.content-block {
  text-align: center;
  padding: 2rem;
}

.content-block .image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: 0 auto 2rem;
}

/* Контактная форма */
.contact-form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-heavy);
  transform: none !important;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.125em rgba(52, 152, 219, 0.25);
}

.contact-form .label {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-primary);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer .title {
  color: var(--text-white);
  font-family: var(--font-heading);
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer a:hover {
  color: var(--secondary-light);
}

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

.footer ul li {
  margin-bottom: 0.5rem;
}

.social-links a {
  margin-right: 1rem;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Успешная страница */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  text-align: center;
}

.success-page .card {
  max-width: 500px;
  margin: 2rem;
}

.success-page .title,
.success-page .subtitle {
  color: var(--text-white);
}

/* Страницы с контентом */
.content-page {
  padding-top: 100px;
  min-height: 100vh;
}

.content-page .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.content-page .content {
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
}

/* Ссылки "Читать далее" */
.button.is-text {
  color: var(--secondary-color);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.button.is-text::after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition-fast);
}

.button.is-text:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

.button.is-text:hover::after {
  transform: translateX(3px);
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .custom-button {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
}

/* Дополнительные эффекты */
.has-background-light {
  background: var(--bg-secondary) !important;
}

.has-background-primary {
  background: var(--gradient-primary) !important;
}

.has-background-dark {
  background: var(--bg-dark) !important;
}

/* Улучшения производительности */
.card,
.animate-on-scroll,
.custom-button {
  will-change: transform;
}

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

/* Фокус для доступности */
.custom-button:focus,
.navbar-item:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.image {
  position: static;
}