:root {
  /* Основные цвета */
  --primary-color: #3a86ff;
  --primary-dark: #2a65cc;
  --primary-light: #7bb2ff;
  
  /* Акцентные цвета */
  --accent-color: #ff006e;
  --accent-dark: #cc0058;
  --accent-light: #ff4d94;
  
  /* Нейтральные цвета */
  --neutral-100: #ffffff;
  --neutral-200: #f8f9fa;
  --neutral-300: #e9ecef;
  --neutral-400: #dee2e6;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  
  /* Тени для неоморфизма */
  --nm-light-shadow: 5px 5px 10px rgba(166, 180, 200, 0.7);
  --nm-dark-shadow: -5px -5px 10px rgba(255, 255, 255, 0.8);
  --nm-pressed-light: 3px 3px 6px rgba(166, 180, 200, 0.7);
  --nm-pressed-dark: -3px -3px 6px rgba(255, 255, 255, 0.8);
  
  /* Тени для карточек */
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  --card-hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  
  /* Радиусы */
  --border-radius-sm: 6px;
  --border-radius-md: 10px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Шрифты */
  --heading-font: 'Archivo Black', sans-serif;
  --body-font: 'Roboto', sans-serif;
  
  /* Размеры */
  --container-max-width: 1200px;
  --header-height: 80px;
  --footer-padding: 60px 0 30px;
  
  /* Z-индексы */
  --z-header: 1000;
  --z-mobile-nav: 1001;
  --z-cookie-consent: 1002;
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: var(--body-font);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--neutral-700);
  background-color: var(--neutral-200);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--neutral-800);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 4.8rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 3.6rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

h3 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

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

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

/* Утилиты */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
}

.mb-5 {
  margin-bottom: 5rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 1.2rem 2.8rem;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  outline: none;
  z-index: 1;
  box-shadow: var(--nm-light-shadow), var(--nm-dark-shadow);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: var(--nm-pressed-light), var(--nm-pressed-dark);
}

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

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

.secondary-btn {
  background-color: var(--neutral-200);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-group {
  display: flex;
  gap: 1.5rem;
}

/* Неоморфический дизайн для карточек и элементов */
.neomorph {
  border-radius: var(--border-radius-lg);
  background: var(--neutral-200);
  box-shadow: var(--nm-light-shadow), var(--nm-dark-shadow);
  padding: 2rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.neomorph:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.neomorph-inset {
  border-radius: var(--border-radius-lg);
  background: var(--neutral-200);
  box-shadow: inset 5px 5px 10px rgba(166, 180, 200, 0.7), 
              inset -5px -5px 10px rgba(255, 255, 255, 0.8);
  padding: 2rem;
}

/* Хедер */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--neutral-100);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: var(--z-header);
  transition: all var(--transition-normal);
}

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

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

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

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

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

.desktop-nav ul li a {
  color: var(--neutral-700);
  font-weight: 500;
  transition: color var(--transition-normal);
  position: relative;
}

.desktop-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

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

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

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

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--neutral-700);
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 100%;
  background-color: var(--neutral-800);
  transition: bottom var(--transition-normal);
  overflow: hidden;
  z-index: var(--z-mobile-nav);
}

.mobile-nav.active {
  bottom: 0;
}

.mobile-nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.mobile-nav ul li {
  margin: 1.5rem 0;
}

.mobile-nav ul li a {
  color: var(--neutral-100);
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
}

/* Hero секция */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: var(--header-height);
  position: relative;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: var(--neutral-100);
}

.hero-content h1, .hero-content h2 {
  color: var(--neutral-100);
}

.hero-content p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Research секция */
.research {
  position: relative;
  background-color: var(--neutral-100);
}

.research h2 {
  text-align: center;
  margin-bottom: 5rem;
}

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

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

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

.timeline-content {
  position: relative;
  width: calc(50% - 3rem);
  margin-left: auto;
  padding: 2.5rem;
  background-color: var(--neutral-200);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.timeline-content::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -4rem;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -4rem;
}

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

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

.timeline-content .image-container {
  width: 100%;
  height: 250px;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-content .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portfolio секция */
.portfolio {
  background-color: var(--neutral-200);
}

.portfolio h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3rem;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.portfolio-item .image-container {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-item .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item h3 {
  padding: 0 2rem;
  margin-top: 2rem;
  text-align: center;
}

.portfolio-item p {
  padding: 0 2rem 2rem;
  text-align: center;
}

/* Success Stories секция */
.success-stories {
  background-color: var(--neutral-100);
}

.success-stories h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.success-carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.carousel-container {
  overflow: hidden;
}

.carousel-item {
  display: none;
}

.carousel-item.active {
  display: block;
}

.story-card {
  padding: 3rem;
  background-color: var(--neutral-200);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.story-card .image-container {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--primary-light);
}

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

.story-card h3 {
  margin-bottom: 0.5rem;
}

.story-card h4 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.story-card p {
  font-style: italic;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.prev-btn, .next-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 1rem;
  transition: background-color var(--transition-normal);
  font-size: 1.8rem;
}

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

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

.external-resources h2 {
  text-align: center;
  margin-bottom: 5rem;
}

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

.resource-card {
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.resource-card h3 {
  margin-bottom: 1.5rem;
}

.resource-card h3 a {
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.resource-card h3 a:hover {
  color: var(--primary-dark);
}

.resource-card p {
  color: var(--neutral-700);
}

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

.pricing h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background-color: var(--neutral-200);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  transform: scale(1.05);
  background-color: var(--primary-light);
  z-index: 1;
}

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

.card-header {
  background-color: var(--primary-color);
  color: white;
  padding: 2.5rem;
  text-align: center;
}

.pricing-card.featured .card-header {
  background-color: var(--primary-dark);
}

.card-header h3 {
  color: white;
  margin-bottom: 1rem;
}

.price {
  font-size: 3.6rem;
  font-weight: 700;
  font-family: var(--heading-font);
}

.card-content {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-content ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 2.5rem;
  width: 100%;
}

.card-content ul li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--neutral-400);
  position: relative;
  padding-left: 3rem;
}

.card-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.card-content .btn {
  margin-top: auto;
}

.pricing-note {
  text-align: center;
  font-size: 1.4rem;
  color: var(--neutral-600);
  font-style: italic;
}

/* Case Studies секция */
.case-studies {
  background-color: var(--neutral-200);
}

.case-studies h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

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

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

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

.case-card .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card h3 {
  padding: 2rem 2rem 0;
  text-align: center;
}

.case-card p {
  padding: 0 2rem 2rem;
  text-align: center;
}

/* Projects секция */
.projects {
  background-color: var(--neutral-100);
}

.projects h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

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

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

.project-card .image-container {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card h3 {
  padding: 2rem 2rem 0;
  text-align: center;
}

.project-card p {
  padding: 0 2rem 2rem;
  text-align: center;
}

/* Blog секция */
.blog {
  background-color: var(--neutral-200);
}

.blog h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

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

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

.blog-card .image-container {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-content h3 {
  margin-bottom: 1rem;
}

.date {
  color: var(--neutral-600);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  display: block;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  transition: color var(--transition-normal);
}

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-normal);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* Behind the Scenes секция */
.behind-the-scenes {
  background-color: var(--neutral-100);
}

.behind-the-scenes h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

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

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

.contact h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

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

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.info-item i {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.8rem;
}

.social-media {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}

.social-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--neutral-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-700);
  transition: all var(--transition-normal);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.contact-form {
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--card-shadow);
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--neutral-700);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--neutral-400);
  border-radius: var(--border-radius-md);
  background-color: var(--neutral-200);
  font-family: var(--body-font);
  font-size: 1.6rem;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* Footer */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding: var(--footer-padding);
}

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

.footer-about img {
  margin-bottom: 2rem;
}

.footer-about p {
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--neutral-300);
  text-decoration: none;
  transition: color var(--transition-normal);
}

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

.footer-links h3 {
  color: var(--neutral-100);
  margin-bottom: 2rem;
}

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

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

.footer-links ul li a {
  color: var(--neutral-300);
  transition: color var(--transition-normal);
}

.footer-links ul li a:hover {
  color: var(--primary-light);
}

.footer-newsletter h3 {
  color: var(--neutral-100);
  margin-bottom: 2rem;
}

.footer-newsletter p {
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 1.2rem;
  border: none;
  border-radius: var(--border-radius-md);
  font-family: var(--body-font);
  font-size: 1.6rem;
}

.newsletter-form .btn {
  padding: 1.2rem 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid var(--neutral-700);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--neutral-300);
  transition: color var(--transition-normal);
}

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

/* Cookie Consent */
#cookie-consent {
  background-color: rgba(33, 37, 41, 0.9) !important;
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  margin: 1rem;
  width: calc(100% - 2rem) !important;
}

#cookie-consent p {
  margin-bottom: 1rem;
}

#accept-cookies {
  background-color: var(--primary-color) !important;
  border-radius: var(--border-radius-md) !important;
  transition: background-color var(--transition-normal) !important;
}

#accept-cookies:hover {
  background-color: var(--primary-dark) !important;
}

/* Стили для страницы success.html */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

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

.success-content h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

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

/* Стили для страниц privacy.html и terms.html */
.page-content {
  padding-top: 100px;
}

.page-content .container {
  max-width: 800px;
}

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

.page-content h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

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

/* Иконки */
.icon-phone::before { content: '📞'; }
.icon-email::before { content: '✉️'; }
.icon-location::before { content: '📍'; }
.icon-facebook::before { content: 'fb'; }
.icon-twitter::before { content: 'tw'; }
.icon-instagram::before { content: 'ig'; }
.icon-linkedin::before { content: 'in'; }

/* Респонсивные стили */
@media (max-width: 1200px) {
  html {
    font-size: 60%;
  }
  
  .timeline::before {
    left: 60px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
  }
  
  .timeline-content::before {
    left: -40px !important;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 58%;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 56%;
  }
  
  section {
    padding: 6rem 0;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  .hero {
    height: auto;
    min-height: 80vh;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
    padding: 1.5rem;
  }
  
  .timeline-content::before {
    left: -35px !important;
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 54%;
  }
  
  section {
    padding: 5rem 0;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Анимации */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

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

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Упругие анимации */
.bounce {
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce:hover {
  transform: scale(1.05);
}

.spring {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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