:root {
  /* Основная цветовая палитра */
  --primary-color: #2c3df3;
  --primary-dark: #1a2cd0;
  --primary-light: #5a69ff;
  --secondary-color: #ff3e6c;
  --secondary-dark: #e62554;
  --secondary-light: #ff6b8e;
  --accent-color: #00d9aa;
  --accent-dark: #00b08c;
  --accent-light: #4fffd0;
  
  /* Нейтральные цвета */
  --dark-bg: #121218;
  --dark-bg-lighter: #1e1e26;
  --medium-dark: #2d2d38;
  --medium: #4a4a5a;
  --medium-light: #8a8a9a;
  --light: #e0e0e6;
  --white: #ffffff;
  
  /* Градиенты */
  --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-dark: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-lighter));
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.25);
  
  /* Скругления */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Анимации */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Размеры контейнера */
  --container-max-width: 1280px;
  --container-padding: 1.5rem;
  
  /* Типографика */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans Pro', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 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;
  --font-size-6xl: 3.75rem;
  
  /* Z-индексы */
  --z-navbar: 100;
  --z-dropdown: 200;
  --z-modal: 300;
  --z-toast: 400;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: var(--font-size-3xl);
  margin-bottom: 1rem;
}

h4 {
  font-size: var(--font-size-2xl);
  margin-bottom: 0.75rem;
}

h5 {
  font-size: var(--font-size-xl);
  margin-bottom: 0.5rem;
}

h6 {
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: var(--font-size-base);
}

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

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

ul, ol {
  margin: 0 0 1.5rem 1.5rem;
}

blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-left: 0;
  margin-bottom: 1.5rem;
  font-style: italic;
}

hr {
  border: 0;
  height: 1px;
  background-color: var(--medium-light);
  margin: 2rem 0;
}

/* Контейнер */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Секции */
section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1rem auto 0;
}

.section-subtitle {
  text-align: center;
  font-size: var(--font-size-xl);
  color: var(--medium);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Кнопки */
.btn, button, input[type='submit'] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  border: none;
  font-size: var(--font-size-base);
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover, button:hover, input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: var(--white);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
}

/* Хедер и навигация */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-navbar);
  background-color: rgba(18, 18, 24, 0.9);
  backdrop-filter: blur(10px);
  transition: background-color var(--transition-medium);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

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

.desktop-nav {
  display: flex;
}

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

.desktop-nav li {
  margin-left: 1.5rem;
}

.desktop-nav a {
  color: var(--white);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
}

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

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

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: var(--radius-full);
  transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.mobile-nav {
  display: none;
  background-color: var(--dark-bg);
  padding: 1rem 0;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 1rem;
}

.mobile-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: var(--font-size-lg);
  display: block;
  padding: 0.5rem 0;
}

.mobile-nav a:hover {
  color: var(--accent-color);
}

/* Герой-секция */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--white);
  margin-top: 0;
  padding-top: 80px;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: var(--font-size-6xl);
  margin-bottom: 1.5rem;
  color: var(--white);
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: var(--font-size-3xl);
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat p {
  font-size: var(--font-size-base);
  margin-bottom: 0;
}

/* Проекты */
.projects {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

.card-content {
  padding: 1.5rem;
  text-align: center;
  width: 100%;
}

.card-content h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

.progress-bar {
  height: 6px;
  background-color: var(--light);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  position: relative;
}

.progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.progress-bar span {
  position: absolute;
  right: 0;
  top: -20px;
  font-size: var(--font-size-sm);
  font-weight: bold;
  color: var(--primary-color);
}

.projects-timeline {
  margin-top: 4rem;
}

.projects-timeline h3 {
  text-align: center;
  margin-bottom: 2rem;
}

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

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

.timeline-item {
  position: relative;
  padding: 1.5rem 0;
}

.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.timeline-content {
  width: 45%;
  padding: 1rem;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.timeline-content h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.timeline-content p {
  margin-bottom: 0;
}

/* Инновации */
.innovation {
  background-color: var(--light);
  position: relative;
}

.innovation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.innovation-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

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

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.accordion-header h3 {
  margin-bottom: 0;
  font-size: var(--font-size-lg);
}

.accordion-icon {
  font-size: var(--font-size-2xl);
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.accordion-item.active .accordion-body {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.innovation-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.metric {
  text-align: center;
}

.metric-circle {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
}

.metric-circle svg {
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: var(--light);
  stroke-width: 4;
}

.circle {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 4;
  stroke-linecap: round;
}

.percentage {
  fill: var(--primary-color);
  font-size: var(--font-size-xl);
  font-weight: bold;
  text-anchor: middle;
  dominant-baseline: middle;
}

.metric h4 {
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}

.metric p {
  font-size: var(--font-size-base);
  color: var(--medium);
  margin-bottom: 0;
}

/* Клиенты */
.clientele {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.client-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.client-card img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
}

.client-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: 0.75rem;
}

.client-card p {
  font-size: var(--font-size-base);
  color: var(--medium);
  margin-bottom: 0;
}

.client-testimonial {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  background-color: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.testimonial-image {
  text-align: center;
}

.testimonial-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-full);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

.testimonial-content blockquote {
  font-size: var(--font-size-xl);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  border-left: none;
  padding-left: 0;
  position: relative;
}

.testimonial-content blockquote::before {
  content: '"';
  font-size: 5rem;
  color: var(--primary-color);
  position: absolute;
  top: -2rem;
  left: -2rem;
  opacity: 0.2;
}

.testimonial-content cite {
  font-style: normal;
  font-weight: bold;
  color: var(--dark-bg);
  font-size: var(--font-size-lg);
}

/* Ресурсы */
.resources {
  background-color: var(--dark-bg);
  color: var(--white);
  position: relative;
}

.resources .section-title,
.resources .section-subtitle {
  color: var(--white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-card {
  background-color: var(--dark-bg-lighter);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.resource-card h3 {
  color: var(--white);
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
}

.resource-card p {
  color: var(--light);
  margin-bottom: 1.5rem;
}

.resource-link {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 0.25rem;
}

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

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

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

/* Воркшопы */
.workshops {
  background-color: var(--light);
  position: relative;
}

.workshops-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.workshop-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.workshop-image {
  height: 100%;
  overflow: hidden;
}

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

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

.workshop-content {
  padding: 2rem;
}

.workshop-content h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: 0.5rem;
}

.workshop-date {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.workshop-details {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.workshop-details span {
  display: flex;
  align-items: center;
  font-size: var(--font-size-sm);
  color: var(--medium);
}

.workshop-details i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* За кулисами */
.behind-scenes {
  background-color: var(--white);
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.team-member {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.member-image {
  width: 250px;
  height: 250px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 6px solid var(--light);
  box-shadow: var(--shadow-md);
}

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

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

.team-member h3 {
  font-size: var(--font-size-xl);
  margin-bottom: 0.5rem;
}

.member-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.methodology {
  margin-top: 3rem;
}

.methodology h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.methodology-steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  margin-bottom: 2rem;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: var(--font-size-xl);
  font-weight: bold;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  margin-bottom: 0.5rem;
}

.step-content p {
  margin-bottom: 0;
}

/* Истории клиентов */
.customer-stories {
  background-color: var(--light);
  position: relative;
}

.stories-slider {
  position: relative;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.story-image {
  height: 100%;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content {
  padding: 3rem;
}

.story-content h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: 1.5rem;
}

.story-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.story-metrics .metric {
  text-align: center;
}

.story-metrics .number {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.story-metrics .label {
  font-size: var(--font-size-base);
  color: var(--medium);
}

/* Сообщество */
.community {
  background-color: var(--white);
  position: relative;
}

.community-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

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

.community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-text h3 {
  margin-bottom: 2rem;
}

.benefits-list {
  list-style: none;
  margin: 0 0 2rem 0;
}

.benefits-list li {
  display: flex;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
  color: var(--white);
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

.benefit-content {
  flex: 1;
}

.benefit-content h4 {
  margin-bottom: 0.25rem;
}

.benefit-content p {
  margin-bottom: 0;
}

.community-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.number-item .number {
  display: block;
  font-size: var(--font-size-4xl);
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.number-item .label {
  font-size: var(--font-size-base);
  color: var(--medium);
}

/* Отзывы */
.testimonials {
  background-color: var(--light);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--light);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card blockquote {
  font-size: var(--font-size-base);
  margin-bottom: 1.5rem;
  padding: 0;
  border-left: none;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: bold;
  color: var(--dark-bg);
  display: block;
  margin-bottom: 0.5rem;
}

.rating {
  color: var(--secondary-color);
  font-size: var(--font-size-xl);
  letter-spacing: 2px;
}

/* Контакты */
.contact {
  background-color: var(--white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
  margin: 0 0 2rem 0;
}

.contact-details li {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: var(--font-size-2xl);
  color: var(--primary-color);
  margin-right: 1rem;
}

.contact-details h4 {
  margin-bottom: 0.25rem;
}

.contact-details p {
  margin-bottom: 0;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: var(--shadow-md);
}

.contact-map img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.contact-form h3 {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--light);
  border-radius: var(--radius-md);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

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

.checkbox input {
  margin-right: 0.5rem;
}

.checkbox label {
  margin-bottom: 0;
}

/* Футер */
.footer {
  background-color: var(--dark-bg);
  color: var(--light);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: var(--font-size-base);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-section h3 {
  font-size: var(--font-size-lg);
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

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

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--light);
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

.social-links li {
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-block;
  padding-left: 0.5rem;
  position: relative;
  transition: transform var(--transition-fast);
}

.social-links a:hover {
  transform: translateX(5px);
}

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

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

/* Success page */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--light);
}

.success-content {
  max-width: 600px;
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.success-icon {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.success-content h1 {
  margin-bottom: 1.5rem;
}

.success-content p {
  margin-bottom: 2rem;
}

/* Privacy and Terms pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.page-content h1 {
  margin-bottom: 2rem;
}

.page-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.page-content p {
  margin-bottom: 1.5rem;
}

.page-content ul {
  margin-bottom: 2rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Parallax Effects */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

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

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

@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-fadeUp {
  animation: fadeUp 0.8s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.8s ease forwards;
}

/* Media Queries */
@media (max-width: 1200px) {
  :root {
    --container-padding: 2rem;
  }
  
  .hero-content h1 {
    font-size: var(--font-size-5xl);
  }
  
  .client-testimonial {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  
  .testimonial-image {
    margin-bottom: 2rem;
  }
  
  .community-numbers {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --font-size-6xl: 3rem;
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-nav.active {
    display: block;
  }
  
  .innovation-grid,
  .community-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .workshop-card {
    grid-template-columns: 1fr;
  }
  
  .workshop-image {
    height: 250px;
  }
  
  .story {
    grid-template-columns: 1fr;
  }
  
  .story-image {
    height: 300px;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.5rem;
    --font-size-6xl: 2.5rem;
    --font-size-5xl: 2.25rem;
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.375rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero {
    min-height: auto;
    padding: 6rem 0;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .projects-grid,
  .clients-grid,
  .testimonials-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .innovation-metrics,
  .community-numbers {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  :root {
    --container-padding: 1rem;
    --font-size-6xl: 2.25rem;
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.75rem;
  }
  
  .header-content {
    padding: 0.75rem 0;
  }
  
  .logo img {
    height: 40px;
  }
  
  .hero {
    padding: 5rem 0;
  }
  
  .client-testimonial,
  .story-content {
    padding: 1.5rem;
  }
  
  .contact-details li {
    flex-direction: column;
  }
  
  .contact-icon {
    margin-bottom: 0.5rem;
  }
}