:root {
  /* Монохромная цветовая схема */
  --primary-color: #2a2a2a;
  --primary-color-dark: #1a1a1a;
  --primary-color-light: #3a3a3a;
  --accent-color: #0077cc;
  --accent-color-dark: #005799;
  --accent-color-light: #3399ee;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #333333;
  --text-color: #222222;
  --text-color-light: #666666;
  --white: #ffffff;
  --black: #000000;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  
  /* Отступы */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Радиусы */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Переходы */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* Общие стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--accent-color);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-color-dark);
}

.section {
  padding: var(--space-lg) 0;
}

.section-title {
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

img {
  max-width: 100%;
  height: auto;
}

/* Навигация */
.navbar {
  box-shadow: var(--shadow-sm);
  background-color: var(--white);
}

.navbar-item {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: var(--text-color);
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  height: 3.25rem;
  width: 3.25rem;
}

/* Кнопки - глобальные стили */
.button {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button.is-primary {
  background-color: var(--accent-color);
  border-color: transparent;
}

.button.is-primary:hover {
  background-color: var(--accent-color-dark);
}

.button.is-light {
  background-color: var(--white);
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.button.is-light:hover {
  background-color: var(--light-gray);
}

.button.is-large {
  padding: 0.75em 1.5em;
}

/* Hero секция */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-image:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.hero-body {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: var(--space-xl) 0;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  color: var(--white);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About секция */
.about-section {
  background-color: var(--white);
}

.about-section .content {
  margin-bottom: var(--space-lg);
}

.image-container {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

/* Timeline */
.timeline {
  margin-top: var(--space-lg);
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--medium-gray);
}

.timeline-item {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: var(--space-md);
}

.timeline-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent-color);
  z-index: 1;
}

.timeline-content {
  width: 45%;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--light-gray);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
  margin-left: 0;
}

.timeline-content .heading {
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: var(--space-xs);
}

/* Insights секция */
.insights-section {
  background-color: var(--light-gray);
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

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

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

.card-content {
  flex: 1;
  padding: var(--space-md);
  background-color: var(--white);
}

.card-content h3 {
  margin-bottom: var(--space-sm);
  color: var(--text-color);
}

.card-content p {
  color: var(--text-color-light);
}

/* External Resources секция */
.external-resources-section {
  background-color: var(--white);
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card h3 {
  margin-bottom: var(--space-sm);
}

.resource-card a.button {
  align-self: flex-start;
  margin-top: var(--space-sm);
}

/* Pricing секция */
.pricing-section {
  background-color: var(--light-gray);
}

.pricing-card {
  height: 100%;
  text-align: center;
  transition: transform var(--transition-fast);
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--accent-color);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-card .title {
  margin-bottom: var(--space-sm);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: var(--space-md);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-lg);
}

.pricing-card li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--medium-gray);
}

.pricing-card li:last-child {
  border-bottom: none;
}

/* Модальные окна */
.modal-card-head {
  background-color: var(--accent-color);
}

.modal-card-title {
  color: var(--white);
}

.modal-card-body {
  padding: var(--space-md);
}

.modal-card-body ul {
  list-style: disc;
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.modal-card-foot {
  background-color: var(--light-gray);
}

/* Workshops секция */
.workshops-section {
  background-color: var(--white);
}

.workshop-card {
  height: 100%;
}

.workshop-date {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

/* Sustainability секция */
.sustainability-section {
  background-color: var(--light-gray);
}

.sustainability-features {
  margin-top: var(--space-lg);
}

.feature-card {
  padding: var(--space-md);
  text-align: center;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform var(--transition-fast);
}

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

.feature-card .icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: var(--space-sm);
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
}

/* Resources секция */
.resources-section {
  background-color: var(--white);
}

.resources-section .card ul {
  list-style: none;
  padding: 0;
}

.resources-section .card li {
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--medium-gray);
}

.resources-section .card li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.resources-section .card a {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.resources-section .card a:hover {
  color: var(--accent-color-dark);
  text-decoration: underline;
}

/* Contact секция */
.contact-section {
  background-color: var(--light-gray);
}

.contact-info-card,
.contact-form-card {
  height: 100%;
}

.contact-info-card p {
  margin-bottom: var(--space-sm);
}

.map-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-top: var(--space-md);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-card .field {
  margin-bottom: var(--space-sm);
}

.contact-form-card .label {
  color: var(--text-color);
}

.contact-form-card .input,
.contact-form-card .textarea,
.contact-form-card .select select {
  border-color: var(--medium-gray);
  box-shadow: none;
  transition: border-color var(--transition-fast);
}

.contact-form-card .input:focus,
.contact-form-card .textarea:focus,
.contact-form-card .select select:focus {
  border-color: var(--accent-color);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: var(--space-lg) 0;
}

.footer .title {
  color: var(--white);
}

.footer p,
.footer ul {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer ul li {
  margin-bottom: var(--space-xs);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.social-links {
  margin-top: var(--space-md);
}

.social-links a {
  display: block;
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.social-links a:hover {
  color: var(--white);
}

.footer hr {
  margin: var(--space-md) 0;
  background-color: rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 0.9rem;
}

.legal-links a {
  margin-left: var(--space-md);
}

/* Cookie Consent Popup */
#cookie-consent-popup {
  background-color: rgba(42, 42, 42, 0.95);
  color: var(--white);
  padding: var(--space-md);
  font-size: 0.9rem;
}

#accept-cookies {
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

#accept-cookies:hover {
  background-color: var(--accent-color-dark);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-gray);
}

.success-content {
  text-align: center;
  max-width: 600px;
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.success-content h1 {
  color: var(--success-color);
  margin-bottom: var(--space-md);
}

.success-content p {
  margin-bottom: var(--space-md);
}

.success-content .button {
  margin-top: var(--space-sm);
}

/* Terms & Privacy Pages */
.terms-page,
.privacy-page {
  padding-top: 100px;
  min-height: 100vh;
  background-color: var(--white);
}

.terms-content,
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.terms-content h1,
.privacy-content h1 {
  margin-bottom: var(--space-lg);
}

.terms-content h2,
.privacy-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.terms-content p,
.privacy-content p {
  margin-bottom: var(--space-md);
}

/* Медиа запросы */
@media screen and (max-width: 1023px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .timeline:before {
    left: 0;
  }
  
  .timeline-marker {
    left: 0;
  }
  
  .timeline-content {
    width: 90%;
    margin-left: 30px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 30px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

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

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

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

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Прокрутка-зависимые эффекты применяются через ScrollReveal.js */
[data-sr-id] {
  visibility: hidden;
}