:root {
  /* Основная монохромная цветовая схема */
  --color-primary: #2c2c2c;
  --color-primary-dark: #1a1a1a;
  --color-primary-light: #404040;
  --color-secondary: #f5f5f5;
  --color-secondary-dark: #e0e0e0;
  --color-secondary-light: #ffffff;
  --color-accent: #8a8a8a;
  --color-accent-dark: #606060;
  --color-accent-light: #a0a0a0;
  
  /* Дополнительные цвета для акцентов и градиентов */
  --color-success: #4caf50;
  --color-warning: #ff9800;
  --color-danger: #f44336;
  --color-info: #2196f3;
  
  /* Цвета текста */
  --text-primary: #2c2c2c;
  --text-secondary: #5c5c5c;
  --text-light: #ffffff;
  --text-muted: #9e9e9e;
  
  /* Тени */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Радиусы скругления */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  /* Типография */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  /* Размеры шрифтов */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Пространство */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Анимации */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Контейнеры */
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  
  /* Z-индексы */
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;
}

/* Базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

h1 {
  font-size: var(--font-size-5xl);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

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

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

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

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

ul, ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-xl);
}

/* Контейнеры */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--spacing-lg);
  padding-left: var(--spacing-lg);
}

/* Секции */
section {
  padding: var(--spacing-3xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  margin: var(--spacing-sm) auto 0;
  transition: width var(--transition-medium);
}

section:hover .section-title::after {
  width: 100px;
}

/* Кнопки */
.btn, 
button,
input[type="submit"] {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-md);
  line-height: 1.5;
  border-radius: var(--radius-md);
  transition: all var(--transition-medium);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.btn::after, 
button::after,
input[type="submit"]::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.btn:focus, 
button:focus,
input[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(44, 44, 44, 0.25);
}

.btn-primary {
  color: var(--text-light);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--text-light);
}

.btn-secondary {
  color: var(--text-primary);
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--text-primary);
}

.btn:active, 
button:active,
input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* Карточки */
.card {
  background-color: var(--color-secondary-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  margin-bottom: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  overflow: hidden;
  text-align: center;
}

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

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

.card-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.card-content h3 {
  margin-top: 0;
}

/* Заголовки страниц */
.page-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  text-align: center;
  padding: var(--spacing-3xl) 0;
  position: relative;
  margin-top: 80px;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-secondary-light);
}

.page-header p {
  font-size: var(--font-size-xl);
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-secondary-light);
}

/* Шапка сайта */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-secondary-light);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-index-fixed);
  padding: 1rem 0;
  transition: background-color var(--transition-medium), box-shadow var(--transition-medium);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.scrolled {
  background-color: var(--color-secondary-light);
  box-shadow: var(--shadow-md);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 60px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: var(--spacing-lg);
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-medium);
}

.nav-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 10px;
  transition: all var(--transition-medium);
}

/* Hero секция */
.hero {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

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

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-secondary-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-xl);
  color: var(--color-secondary-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.hero-stats {
  display: flex;
  justify-content: space-around;
  margin-top: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-secondary-light);
  margin-bottom: var(--spacing-xs);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-text {
  display: block;
  font-size: var(--font-size-md);
  color: var(--color-secondary-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-2xl);
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-medium);
}

.about:hover .about-image img {
  transform: scale(1.03);
}

/* Features секция */
.features {
  background-color: var(--color-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  height: 100%;
}

.feature-card .card-image {
  height: 250px;
}

/* History секция */
.history {
  background-color: var(--color-secondary-light);
}

.history-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.history-text {
  flex: 1;
}

.history-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.history-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-medium);
}

.history:hover .history-image img {
  transform: scale(1.03);
}

.timeline {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-2xl);
}

.timeline-item {
  text-align: center;
  flex: 1;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  z-index: 0;
}

.timeline-year {
  background-color: var(--color-primary);
  color: var(--text-light);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  position: relative;
  z-index: 1;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  font-weight: 600;
  color: var(--text-primary);
}

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

.resources-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.resource-card {
  height: 100%;
}

.resource-link {
  display: inline-block;
  margin-top: var(--spacing-md);
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 2px;
}

.resource-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-medium);
}

.resource-link:hover {
  text-decoration: none;
}

.resource-link:hover::after {
  width: 100%;
}

/* Instructors секция */
.instructors {
  background-color: var(--color-secondary-light);
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.instructor-card {
  height: 100%;
}

.instructor-card .card-image {
  height: 350px;
}

.instructor-position {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

/* Clientele секция */
.clientele {
  background-color: var(--color-secondary);
}

.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from { opacity: 0; }
  to { opacity: 1; }
}

.testimonial-slide.active {
  display: block;
}

.testimonial {
  background-color: var(--color-secondary-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.testimonial-content p {
  font-size: var(--font-size-lg);
  font-style: italic;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-family: Georgia, serif;
  font-size: 2em;
  line-height: 0;
  color: var(--color-accent);
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: var(--spacing-md);
  box-shadow: var(--shadow-sm);
}

.author-info {
  text-align: left;
}

.author-info h4 {
  margin-bottom: 0;
  color: var(--text-primary);
}

.author-info p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--spacing-lg);
}

.prev-btn, .next-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: color var(--transition-medium);
}

.prev-btn:hover, .next-btn:hover {
  color: var(--color-primary-dark);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin: 0 var(--spacing-lg);
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: var(--color-secondary-dark);
  border-radius: 50%;
  display: inline-block;
  transition: background-color var(--transition-medium);
}

.dot.active, .dot:hover {
  background-color: var(--color-primary);
}

/* Sustainability секция */
.sustainability {
  background-color: var(--color-secondary-light);
  position: relative;
  overflow: hidden;
}

.sustainability-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.sustainability-text {
  flex: 1;
}

.sustainability-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sustainability-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-medium);
}

.sustainability:hover .sustainability-image img {
  transform: scale(1.03);
}

.eco-stats {
  display: flex;
  justify-content: space-around;
  max-width: 800px;
  margin: 0 auto;
}

.eco-stat {
  text-align: center;
}

.eco-stat .stat-number {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
}

.eco-stat .stat-text {
  display: block;
  font-size: var(--font-size-md);
  color: var(--text-secondary);
}

/* Community секция */
.community {
  background-color: var(--color-secondary);
}

.community-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.community-text {
  flex: 1;
}

.community-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.community-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-medium);
}

.community:hover .community-image img {
  transform: scale(1.03);
}

.community-events h3 {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.event-card {
  background-color: var(--color-secondary-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  padding: var(--spacing-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.event-date {
  background-color: var(--color-primary);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: var(--spacing-md);
  min-width: 70px;
}

.event-details {
  flex: 1;
}

.event-details h4 {
  margin-top: 0;
  margin-bottom: var(--spacing-xs);
}

.event-details p {
  margin-bottom: var(--spacing-xs);
}

.event-location {
  display: block;
  font-style: italic;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

/* Contact секция */
.contact {
  background-color: var(--color-secondary-light);
  padding-bottom: var(--spacing-3xl);
}

.contact-content {
  display: flex;
  gap: var(--spacing-2xl);
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-form-container {
  flex: 1;
}

.contact-details {
  margin-top: var(--spacing-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.contact-icon {
  margin-right: var(--spacing-md);
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  width: 30px;
}

.contact-form {
  background-color: var(--color-secondary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 44, 44, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: center;
}

.form-checkbox input {
  width: auto;
  margin-right: var(--spacing-sm);
}

.form-checkbox label {
  margin-bottom: 0;
  font-weight: normal;
}

.radio-group {
  display: flex;
  gap: var(--spacing-md);
}

.radio-group input[type="radio"] {
  width: auto;
  margin-right: var(--spacing-xs);
}

/* Футер */
.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--text-light);
  padding: var(--spacing-2xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
}

.footer-about img {
  margin-bottom: var(--spacing-md);
}

.footer-about p {
  color: var(--color-secondary-dark);
}

.footer-links h3,
.footer-legal h3,
.footer-social h3 {
  color: var(--color-secondary-light);
  position: relative;
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.footer-links h3::after,
.footer-legal h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 30px;
  background-color: var(--color-secondary-light);
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-legal li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a,
.footer-legal a {
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--color-secondary-light);
  text-decoration: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.social-links a {
  color: var(--color-secondary);
  transition: color var(--transition-fast);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.social-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-secondary-light);
  transition: width var(--transition-medium);
}

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

.social-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  margin-top: var(--spacing-2xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  color: var(--color-secondary-dark);
  font-size: var(--font-size-sm);
}

/* About page */
.about-page {
  padding-top: var(--spacing-3xl);
  padding-bottom: var(--spacing-3xl);
}

.about-intro, 
.about-values, 
.about-story, 
.about-team, 
.about-stats, 
.about-cta {
  margin-bottom: var(--spacing-3xl);
}

.values-grid, 
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.value-card, 
.team-card {
  height: 100%;
}

.team-card .card-image {
  height: 350px;
}

.team-position {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.stat-card {
  background-color: var(--color-secondary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-medium);
}

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

.about-cta {
  text-align: center;
  background-color: var(--color-primary);
  color: var(--text-light);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-md);
}

.about-cta h2 {
  color: var(--text-light);
}

.about-cta p {
  margin-bottom: var(--spacing-lg);
}

.story-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-2xl);
}

.story-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-text {
  flex: 1;
}

/* Contact page */
.contact-page {
  padding-top: var(--spacing-3xl);
  padding-bottom: var(--spacing-3xl);
}

.contact-intro, 
.contact-details-section, 
.contact-locations, 
.contact-form-section, 
.faq-section {
  margin-bottom: var(--spacing-3xl);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.contact-info-card {
  background-color: var(--color-secondary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-medium);
}

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

.contact-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.location-card {
  height: 100%;
}

.location-card .card-image {
  height: 250px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.faq-item {
  background-color: var(--color-secondary-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

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

.faq-item h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}

/* Terms и Privacy pages */
.terms-page, 
.privacy-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-3xl);
}

.terms-intro, 
.privacy-intro {
  margin-bottom: var(--spacing-2xl);
}

.terms-section, 
.privacy-section {
  margin-bottom: var(--spacing-2xl);
}

.terms-section h2, 
.privacy-section h2 {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary-light);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.terms-content h3, 
.privacy-content h3 {
  color: var(--text-primary);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

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

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

/* Success page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--spacing-3xl) 0;
}

.success-content {
  background-color: var(--color-secondary-light);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-2xl);
}

.success-icon {
  margin-bottom: var(--spacing-lg);
}

.success-message {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-lg);
  color: var(--color-primary);
}

.success-followup {
  margin-bottom: var(--spacing-xl);
}

.success-details {
  text-align: left;
  margin-bottom: var(--spacing-xl);
}

.success-details h3 {
  margin-bottom: var(--spacing-md);
}

.success-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

.success-testimonials {
  max-width: 800px;
  margin: 0 auto;
}

.success-testimonials h3 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.mini-testimonial {
  background-color: var(--color-secondary);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.mini-testimonial p {
  font-style: italic;
  margin-bottom: var(--spacing-sm);
}

.mini-author {
  font-weight: 600;
  color: var(--text-primary);
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: calc(var(--font-size-5xl) * 0.9);
  }
  
  .section-title {
    font-size: calc(var(--font-size-4xl) * 0.9);
  }
}

@media (max-width: 992px) {
  .history-content,
  .sustainability-content,
  .community-content,
  .contact-content,
  .about-content,
  .story-content {
    flex-direction: column;
    gap: var(--spacing-xl);
  }
  
  .history-image,
  .sustainability-image,
  .community-image,
  .story-image,
  .about-image {
    margin-top: var(--spacing-lg);
  }
  
  .hero-content h1 {
    font-size: calc(var(--font-size-5xl) * 0.8);
  }
  
  .section-title {
    font-size: calc(var(--font-size-4xl) * 0.8);
  }
  
  .timeline {
    flex-wrap: wrap;
    gap: var(--spacing-xl);
  }
  
  .timeline-item {
    flex: 0 0 45%;
  }
  
  .timeline-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    max-width: 300px;
    padding: 80px 30px 30px;
    background-color: var(--color-secondary-light);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    z-index: var(--z-index-dropdown);
    transform: translateX(100%);
    transition: transform var(--transition-medium);
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-links li {
    margin: 0 0 var(--spacing-md);
  }
  
  .hero-content h1 {
    font-size: calc(var(--font-size-4xl));
  }
  
  .hero-content p {
    font-size: var(--font-size-lg);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .timeline-item {
    flex: 0 0 100%;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-author img {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }
  
  .author-info {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }
  
  .hero-content p {
    font-size: var(--font-size-md);
  }
  
  .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .eco-stats,
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  .eco-stat {
    margin-bottom: var(--spacing-lg);
  }
  
  .contact-form-container {
    width: 100%;
  }
}

/* Анимации и эффекты */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

.btn:hover::after, 
button:hover::after,
input[type="submit"]:hover::after {
  animation: ripple 0.6s linear;
}

@keyframes ripple {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(20);
  }
}

/* Для темных изображений в hero и других секциях */
.hero h1, .hero p, .page-header h1, .page-header p {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Гиперреалистичные текстуры */
.texture-bg {
  position: relative;
}

.texture-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('image/texture-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
}