/* 
  style.css
  - Нейроморфизм с элементами Нео-брутализма
  - Пастельная цветовая схема
  - Плавные переходы и анимации 
  - Space Grotesk для заголовков, DM Sans для текста
*/

/* --------------- ОСНОВНЫЕ ПЕРЕМЕННЫЕ СТИЛЕЙ --------------- */
:root {
  /* Пастельная цветовая схема */
  --color-primary: #94c9a9;
  --color-primary-dark: #75a58a;
  --color-secondary: #f4b6c2;
  --color-secondary-dark: #d99da9;
  --color-accent: #ffd166;
  --color-accent-dark: #e5bb5c;
  
  /* Нейтральные цвета */
  --color-text: #3a3a3a;
  --color-text-light: #6d6d6d;
  --color-background: #f9f9f9;
  --color-light: #ffffff;
  --color-dark: #2d2d2d;
  --color-gray: #e0e0e0;
  --color-gray-dark: #b8b8b8;
  
  /* Тени и градиенты */
  --shadow-soft: 0.5rem 0.5rem 1.5rem rgba(0, 0, 0, 0.05), -0.5rem -0.5rem 1.5rem rgba(255, 255, 255, 0.8);
  --shadow-pressed: inset 0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.05), inset -0.5rem -0.5rem 1rem rgba(255, 255, 255, 0.8);
  --shadow-neobrutalism: 0.4rem 0.4rem 0 rgba(0, 0, 0, 0.8);
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  
  /* Типографика */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-size-small: 0.875rem;
  --font-size-normal: 1rem;
  --font-size-medium: 1.125rem;
  --font-size-large: 1.5rem;
  --font-size-xlarge: 2.25rem;
  --font-size-xxlarge: 3rem;
  
  /* Анимация */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
  
  /* Макет */
  --container-width-xl: 1200px;
  --container-width-lg: 1024px;
  --container-width-md: 768px;
  --container-width-sm: 576px;
  --border-radius-small: 5px;
  --border-radius-medium: 10px;
  --border-radius-large: 20px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
}

/* --------------- ОБЩИЕ СТИЛИ --------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-normal);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  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-sm);
  color: var(--color-dark);
}

h1 {
  font-size: var(--font-size-xxlarge);
}

h2 {
  font-size: var(--font-size-xlarge);
}

h3 {
  font-size: var(--font-size-large);
}

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

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

a:hover {
  color: var(--color-primary);
}

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

ul, ol {
  list-style-position: inside;
  margin-bottom: var(--spacing-md);
}

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

section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-small);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  color: var(--color-text-light);
  font-size: var(--font-size-medium);
}

/* --------------- КНОПКИ (ГЛОБАЛЬНЫЕ) --------------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--font-size-normal);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  border: none;
  box-shadow: var(--shadow-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0,0,0,0.1);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-pressed);
}

.primary-btn {
  background: var(--color-primary);
  color: var(--color-light) !important;
}

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

.secondary-btn {
  background: var(--color-light);
  color: var(--color-primary-dark) !important;
  border: 2px solid var(--color-primary);
}

.secondary-btn:hover {
  background: var(--color-primary);
  color: var(--color-light) !important;
}

/* Необруталистские кнопки для акцента */
.brutalist-btn {
  background: var(--color-accent);
  color: var(--color-dark) !important;
  border-radius: 0;
  box-shadow: var(--shadow-neobrutalism);
  border: 2px solid var(--color-dark);
  transform: none;
}

.brutalist-btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: 0.6rem 0.6rem 0 rgba(0, 0, 0, 0.8);
}

.brutalist-btn:active {
  transform: translate(0, 0);
  box-shadow: var(--shadow-neobrutalism);
}

button, 
input[type='submit'] {
  font-family: var(--font-heading);
  cursor: pointer;
}

/* --------------- ХЕДЕР И НАВИГАЦИЯ --------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: var(--spacing-sm) 0;
  z-index: 1000;
  transition: background var(--transition-medium);
}

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

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

.logo h1 {
  font-size: var(--font-size-large);
  margin: 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.desktop-nav ul {
  display: flex;
  margin: 0;
}

.desktop-nav li {
  margin-left: var(--spacing-md);
  list-style-type: none;
}

.desktop-nav a {
  font-weight: 500;
  color: var(--color-text);
  padding: 0.5rem;
  position: relative;
}

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

.desktop-nav a:hover {
  color: var(--color-primary-dark);
}

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

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background-color: var(--color-primary-dark);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-light);
  padding: var(--spacing-md);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  flex-direction: column;
}

.mobile-nav li {
  margin: var(--spacing-xs) 0;
  list-style-type: none;
}

.mobile-nav a {
  display: block;
  padding: var(--spacing-xs);
}

/* --------------- ГЕРОЙ СЕКЦИЯ --------------- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  padding: var(--spacing-xl) 0;
  color: var(--color-light);
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, var(--font-size-xxlarge));
  margin-bottom: var(--spacing-md);
  color: var(--color-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, var(--font-size-large));
  margin-bottom: var(--spacing-lg);
  color: var(--color-light);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

/* --------------- О НАС СЕКЦИЯ --------------- */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

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

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

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

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

/* --------------- СЕРВИСЫ СЕКЦИЯ --------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.card {
  background-color: var(--color-light);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  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: 0 15px 30px rgba(0,0,0,0.1);
}

.card-image {
  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 {
  padding: var(--spacing-md);
  text-align: center;
}

.card-content h3 {
  color: var(--color-primary-dark);
  margin-bottom: var(--spacing-sm);
}

/* --------------- МЕТОДОЛОГИЯ СЕКЦИЯ --------------- */
.timeline-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

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

.timeline-item {
  margin-bottom: var(--spacing-lg);
  position: relative;
  display: flex;
  align-items: center;
}

.timeline-marker {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: var(--shadow-soft);
  z-index: 1;
  margin: 0 var(--spacing-md);
  position: relative;
  left: calc(50% - 15px);
}

.timeline-content {
  flex: 0 0 calc(50% - 60px);
  background-color: var(--color-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-soft);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content h3 {
  color: var(--color-primary-dark);
  margin-bottom: var(--spacing-xs);
}

/* --------------- ГАЛЕРЕЯ СЕКЦИЯ --------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md);
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--color-light);
  transform: translateY(100%);
  transition: transform var(--transition-medium);
  text-align: center;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h3 {
  color: var(--color-light);
  margin-bottom: var(--spacing-xs);
}

.gallery-button {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* --------------- ЗА КУЛИСАМИ СЕКЦИЯ --------------- */
.scenes-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.scenes-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.scenes-text {
  flex: 1;
  min-width: 300px;
}

.process-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: var(--spacing-sm);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.accordion-header {
  padding: var(--spacing-md);
  background-color: var(--color-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header h4 {
  margin: 0;
  color: var(--color-primary-dark);
}

.accordion-icon {
  font-weight: bold;
  transition: transform var(--transition-fast);
}

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

.accordion-content {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.accordion-item.active .accordion-content {
  padding: var(--spacing-md);
  max-height: 500px;
}

/* --------------- РЕСУРСЫ СЕКЦИЯ --------------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.resource-card {
  background-color: var(--color-light);
  border-radius: var(--border-radius-medium);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-medium);
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card h3 {
  color: var(--color-primary-dark);
  margin-bottom: var(--spacing-sm);
}

.resource-links {
  list-style-type: none;
}

.resource-links li {
  margin-bottom: var(--spacing-xs);
}

.resource-links a {
  display: inline-block;
  padding: var(--spacing-xs) 0;
  color: var(--color-primary-dark);
  font-weight: 500;
  position: relative;
}

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

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

/* --------------- ОТЗЫВЫ СЕКЦИЯ --------------- */
.testimonials {
  background-color: var(--color-gray);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
  z-index: 0;
}

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

.testimonials-slider {
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.testimonial-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 0 var(--spacing-md);
}

.testimonial-slide .card {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-light);
  box-shadow: var(--shadow-soft);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
}

.testimonial-rating {
  color: var(--color-accent);
  font-size: var(--font-size-large);
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  margin-bottom: var(--spacing-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details h4 {
  margin: 0;
  font-size: var(--font-size-medium);
}

.author-details p {
  margin: 0;
  color: var(--color-text-light);
  font-size: var(--font-size-small);
}

.testimonials-controls {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-md);
  gap: var(--spacing-md);
}

.prev-btn, .next-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: var(--color-light);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

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

/* --------------- КЛИЕНТЫ СЕКЦИЯ --------------- */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.client-item {
  flex: 0 0 200px;
  text-align: center;
  padding: var(--spacing-md);
  background: var(--color-light);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.client-item:hover {
  transform: translateY(-5px);
}

.client-item img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin: 0 auto var(--spacing-sm);
  filter: grayscale(100%);
  transition: filter var(--transition-medium);
}

.client-item:hover img {
  filter: grayscale(0%);
}

.clients-testimonial {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-md);
  background: var(--color-light);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.clients-testimonial blockquote {
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.clients-testimonial cite {
  font-style: normal;
  font-weight: 500;
  color: var(--color-primary-dark);
}

/* --------------- КАРЬЕРА СЕКЦИЯ --------------- */
.careers-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  align-items: center;
}

.careers-text {
  flex: 1;
  min-width: 300px;
}

.careers-text h3 {
  color: var(--color-primary-dark);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.careers-text ul {
  list-style-type: none;
}

.careers-text ul li {
  margin-bottom: var(--spacing-xs);
  padding-left: var(--spacing-md);
  position: relative;
}

.careers-text ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.job-listings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.job-item {
  background: var(--color-light);
  border-radius: var(--border-radius-medium);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-soft);
}

.job-item h4 {
  color: var(--color-primary-dark);
}

.job-item .btn {
  margin-top: var(--spacing-sm);
}

.careers-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.careers-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* --------------- КОНТАКТ СЕКЦИЯ --------------- */
.contact {
  background: var(--color-gray);
  position: relative;
}

.contact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657l1.415 1.414L13.857 0H11.03zm32.284 0L39.9 3.414 42.327 0h-2.827zM16.716 0L15.09 1.626 17.516 0h-2.827zM22.686 0L19.8 2.886 22.227 0h-2.827zM28.656 0L26.49 2.164 28.918 0h-2.827zM34.627 0l-1.766 1.766L35.088 0h-2.827zM40.598 0l-4.833 4.833L38.198 0h-2.827zM46.568 0l-7.9 7.9L41.132 0h-2.827zM52.538 0L41.43 11.108 44.3 0h-2.827zM28.9 40.9L0 12v2.827l28.9 28.9 1.414-1.414L0 17.657v2.828L28.9 46.9l1.414-1.414L0 23.628v2.829L28.9 52.9l1.414-1.414L0 29.6v2.828L28.9 58.9l1.414-1.414L0 35.57v2.83L28.9 64.828l1.414-1.414L0 41.544v2.83L28.9 70.9l1.414-1.414L0 47.515v2.827L28.9 76.9l1.414-1.414L0 53.484v2.826L28.9 82.9l1.414-1.414L0 59.456v2.826L30.314 90z" fill="%23f9f9f9" fill-rule="evenodd"/%3E%3C/svg%3E');
  opacity: 0.1;
  z-index: 0;
}

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

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background: var(--color-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-soft);
}

.info-item {
  margin-bottom: var(--spacing-md);
}

.info-item h3 {
  color: var(--color-primary-dark);
  margin-bottom: var(--spacing-xs);
}

.map-container {
  margin-top: var(--spacing-md);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.contact-form {
  flex: 1;
  min-width: 300px;
  background: var(--color-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-soft);
}

.contact-form h3 {
  color: var(--color-primary-dark);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-gray);
  border-radius: var(--border-radius-small);
  font-family: var(--font-body);
  font-size: var(--font-size-normal);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group.consent {
  display: flex;
  align-items: flex-start;
}

.form-group.consent input {
  width: auto;
  margin-top: 0.3rem;
  margin-right: var(--spacing-xs);
}

/* --------------- ФУТЕР --------------- */
.footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-logo h2 {
  color: var(--color-light);
  font-size: var(--font-size-large);
  margin-bottom: var(--spacing-xs);
}

.footer-logo p {
  color: var(--color-gray);
  font-size: var(--font-size-small);
}

.footer h3 {
  color: var(--color-light);
  font-size: var(--font-size-medium);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

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

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

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

.footer a {
  color: var(--color-gray);
  transition: color var(--transition-fast);
  display: inline-block;
  position: relative;
}

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

.footer-social a {
  display: flex;
  align-items: center;
}

.footer-social a::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: var(--spacing-xs);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer-social a:hover::before {
  opacity: 1;
}

.footer-social li:nth-child(1) a::before {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23ffffff" d="M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"/></svg>') no-repeat center center / contain;
}

.footer-social li:nth-child(2) a::before {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23ffffff" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/></svg>') no-repeat center center / contain;
}

.footer-social li:nth-child(3) a::before {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23ffffff" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>') no-repeat center center / contain;
}

.footer-social li:nth-child(4) a::before {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23ffffff" d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg>') no-repeat center center / contain;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-small);
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--spacing-md);
}

/* --------------- СТРАНИЦЫ SUCCESS, PRIVACY, TERMS --------------- */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}

.success-page h1 {
  margin-bottom: var(--spacing-md);
  color: var(--color-primary-dark);
}

.success-page p {
  max-width: 600px;
  margin-bottom: var(--spacing-lg);
}

.privacy-content, 
.terms-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: var(--spacing-xl);
}

.privacy-content h1,
.terms-content h1 {
  margin-bottom: var(--spacing-lg);
  color: var(--color-primary-dark);
}

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

/* --------------- УТИЛИТЫ --------------- */
.text-center {
  text-align: center;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.pt-sm { padding-top: var(--spacing-sm); }
.pt-md { padding-top: var(--spacing-md); }
.pt-lg { padding-top: var(--spacing-lg); }

.pb-sm { padding-bottom: var(--spacing-sm); }
.pb-md { padding-bottom: var(--spacing-md); }
.pb-lg { padding-bottom: var(--spacing-lg); }

/* --------------- МЕДИА ЗАПРОСЫ --------------- */
@media (max-width: 1024px) {
  :root {
    --font-size-xxlarge: 2.5rem;
    --font-size-xlarge: 2rem;
    --font-size-large: 1.25rem;
  }
  
  .timeline-container::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-item, 
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }
  
  .timeline-content {
    flex: 0 0 calc(100% - 90px);
    margin-left: 60px;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .services-grid,
  .gallery-grid,
  .resources-grid,
  .job-listings {
    grid-template-columns: 1fr;
  }
  
  .about-content,
  .scenes-content,
  .careers-content {
    flex-direction: column;
  }
  
  .about-image,
  .scenes-image,
  .careers-image {
    order: -1;
    margin-bottom: var(--spacing-md);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
}

@media (max-width: 576px) {
  :root {
    --font-size-xxlarge: 2rem;
    --font-size-xlarge: 1.75rem;
    --font-size-large: 1.25rem;
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .section-title {
    margin-bottom: var(--spacing-md);
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }
  
  .timeline-content {
    padding: var(--spacing-sm);
  }
  
  .contact-content {
    flex-direction: column;
  }
}

/* Keyframe animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

/* Apply animations */
.animate-fade-in {
  animation: fadeIn 1s ease-in-out;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Script for burger menu toggle */
document.addEventListener('DOMContentLoaded', function() {
  const burgerMenu = document.querySelector('.burger-menu');
  const mobileNav = document.querySelector('.mobile-nav');
  
  burgerMenu.addEventListener('click', function() {
    mobileNav.classList.toggle('active');
    burgerMenu.classList.toggle('active');
  });
  
  // Accordion functionality
  const accordionItems = document.querySelectorAll('.accordion-item');
  
  accordionItems.forEach(item => {
    const header = item.querySelector('.accordion-header');
    
    header.addEventListener('click', () => {
      const isActive = item.classList.contains('active');
      
      // Close all accordion items
      accordionItems.forEach(accItem => {
        accItem.classList.remove('active');
      });
      
      // Open clicked item if it wasn't already open
      if (!isActive) {
        item.classList.add('active');
      }
    });
  });
  
  // Testimonial slider functionality
  const prevBtn = document.querySelector('.prev-btn');
  const nextBtn = document.querySelector('.next-btn');
  const testimonialSlider = document.querySelector('.testimonials-slider');
  const slides = document.querySelectorAll('.testimonial-slide');
  
  if (prevBtn && nextBtn && testimonialSlider && slides.length) {
    let currentSlide = 0;
    
    const showSlide = (index) => {
      testimonialSlider.style.transform = `translateX(-${index * 100}%)`;
    };
    
    prevBtn.addEventListener('click', () => {
      currentSlide = (currentSlide - 1 + slides.length) % slides.length;
      showSlide(currentSlide);
    });
    
    nextBtn.addEventListener('click', () => {
      currentSlide = (currentSlide + 1) % slides.length;
      showSlide(currentSlide);
    });
  }
});