/* =====================
   CSS-переменные
===================== */
:root {
  /* Основные цвета */
  --primary-color: #8ecae6;
  --primary-dark: #219ebc;
  --primary-light: #c2e7f5;
  
  /* Акцентные цвета */
  --accent-color: #ffb703;
  --accent-dark: #fb8500;
  --accent-light: #ffcf56;
  
  /* Нейтральные цвета */
  --text-color: #2b2d42;
  --text-light: #8d99ae;
  --text-dark: #14152a;
  --background-light: #f8f9fa;
  --background-dark: #e9ecef;
  --border-color: #dee2e6;
  
  /* Пастельные цвета */
  --pastel-blue: #a2d2ff;
  --pastel-pink: #ffc8dd;
  --pastel-purple: #cdb4db;
  --pastel-green: #bde0fe;
  --pastel-yellow: #fcf6bd;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  --gradient-pastel: linear-gradient(135deg, var(--pastel-blue), var(--pastel-purple));
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Закругления */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  /* Отступы */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Шрифты */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Размеры текста */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Анимации */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

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

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

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

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

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

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

ul, ol {
  list-style-position: inside;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* =====================
   Типография
===================== */
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-dark);
}

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

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

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

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

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

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

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

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

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

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-xl);
}

/* =====================
   Кнопки
===================== */
.button,
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button:active,
button:active,
input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.primary-button {
  background: var(--gradient-primary);
}

.secondary-button {
  background: var(--gradient-accent);
}

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

.button.outlined:hover {
  background-color: var(--primary-color);
  color: white;
}

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

.text-right {
  text-align: right;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

.px-1 { padding-left: var(--spacing-xs); padding-right: var(--spacing-xs); }
.px-2 { padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); }
.px-3 { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
.px-4 { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
.px-5 { padding-left: var(--spacing-xl); padding-right: var(--spacing-xl); }

/* =====================
   Хедер и навигация
===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  height: 70px;
  box-shadow: var(--shadow-md);
}

.logo h1 {
  font-size: var(--text-2xl);
  margin: 0;
  color: var(--primary-dark);
  font-weight: 800;
  letter-spacing: 1px;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

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

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

.desktop-nav a {
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

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

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

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

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg) 0;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
}

.mobile-nav.active {
  transform: translateY(0);
}

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

.mobile-nav li {
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.mobile-nav a {
  font-size: var(--text-lg);
  font-weight: 500;
}

/* =====================
   Секция Hero
===================== */
.hero {
  position: relative;
  width: 100%;
  padding: var(--spacing-xxl) 0;
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
}

.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.5));
  z-index: 1;
}

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

.hero-title {
  font-size: calc(var(--text-5xl) + 1rem);
  margin-bottom: var(--spacing-md);
  color: white;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

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

/* =====================
   Секция Услуги
===================== */
.services {
  padding: var(--spacing-xxl) 0;
  background-color: white;
}

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

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

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

.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-normal);
}

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

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

.card-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-md);
  color: var(--primary-dark);
}

.card-content p {
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
}

/* =====================
   Секция Цены
===================== */
.pricing {
  padding: var(--spacing-xxl) 0;
  background-color: var(--background-light);
}

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

.pricing-category {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.pricing-category h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-md);
  text-align: center;
  color: var(--primary-dark);
}

.pricing-item {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

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

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

.pricing-header {
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
  background: var(--gradient-pastel);
  text-align: center;
}

.pricing-header h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-dark);
}

.pricing-features {
  padding: var(--spacing-lg);
  flex: 1;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-lg);
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-dark);
  font-weight: 700;
}

.pricing-footer {
  padding: var(--spacing-lg);
  text-align: center;
  background-color: var(--background-light);
}

/* =====================
   Секция О нас
===================== */
.about {
  padding: var(--spacing-xxl) 0;
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

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

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

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.about-stats {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-lg);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-md);
  background-color: var(--background-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex: 1;
  margin: 0 var(--spacing-sm);
}

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

.stat-text {
  font-size: var(--text-sm);
  color: var(--text-light);
}

/* =====================
   Секция Workshops
===================== */
.workshops {
  padding: var(--spacing-xxl) 0;
  background-color: var(--background-light);
}

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

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

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
  display: flex;
}

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

.timeline-date {
  width: 40%;
  padding: var(--spacing-md);
  position: relative;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) .timeline-date {
  justify-content: flex-end;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-date {
  justify-content: flex-start;
  text-align: left;
}

.timeline-date span {
  background-color: var(--primary-color);
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  width: 60%;
  padding: var(--spacing-lg);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: white;
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  left: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  right: -10px;
}

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

.timeline-content p {
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

/* =====================
   Секция Resources
===================== */
.resources {
  padding: var(--spacing-xxl) 0;
  background-color: white;
}

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

.resource-card {
  background-color: var(--background-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.resource-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-md);
  color: var(--primary-dark);
}

.resource-card p {
  margin-bottom: var(--spacing-lg);
  flex: 1;
}

.resource-card a {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition-normal);
}

.resource-card a:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* =====================
   Секция Customer Stories
===================== */
.customer-stories {
  padding: var(--spacing-xxl) 0;
  background-color: var(--background-light);
  position: relative;
  overflow: hidden;
}

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

.story-card {
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-normal);
}

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

.story-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-md);
}

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

.story-content {
  flex: 1;
}

.rating {
  color: var(--accent-color);
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-md);
}

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

.author {
  font-weight: 700;
  color: var(--primary-dark);
}

/* =====================
   Секция FAQ
===================== */
.faq {
  padding: var(--spacing-xxl) 0;
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  background-color: var(--background-light);
  padding: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.faq-question:hover {
  background-color: var(--background-dark);
}

.faq-question h3 {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--text-dark);
}

.faq-toggle {
  font-size: var(--text-2xl);
  line-height: 1;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--spacing-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
  padding: var(--spacing-lg);
  max-height: 500px;
}

/* =====================
   Секция Blog
===================== */
.blog {
  padding: var(--spacing-xxl) 0;
  background-color: var(--background-light);
}

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

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

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

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

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

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

.blog-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--primary-dark);
}

.blog-meta {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.blog-content p {
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
  flex: 1;
}

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

.read-more::after {
  content: '→';
  margin-left: var(--spacing-xs);
  transition: transform var(--transition-normal);
  display: inline-block;
}

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

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

/* =====================
   Секция Contact
===================== */
.contact {
  padding: var(--spacing-xxl) 0;
  background-color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

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

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

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition-normal);
}

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

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.checkbox-container:hover input ~ .checkmark {
  background-color: var(--background-light);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* =====================
   Map Section
===================== */
.map-section {
  height: 450px;
  width: 100%;
}

.map-section iframe {
  border: none;
  width: 100%;
  height: 100%;
}

/* =====================
   Секция Footer
===================== */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: var(--spacing-xl) 0;
}

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

.footer-column h3 {
  color: white;
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

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

.footer-column p {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

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

.footer-column li {
  margin-bottom: var(--spacing-sm);
}

.footer-column a {
  color: var(--text-light);
  transition: color var(--transition-normal);
}

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

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

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

.social-icons a {
  color: white;
  transition: color var(--transition-normal);
}

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

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

.footer-bottom p {
  color: var(--text-light);
  margin: 0;
}

/* =====================
   Success Page
===================== */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xxl);
}

.success-container {
  max-width: 600px;
  background-color: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

/* =====================
   Privacy and Terms Pages
===================== */
.privacy-page,
.terms-page {
  padding-top: 150px;
  padding-bottom: var(--spacing-xxl);
}

.privacy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

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

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

/* =====================
   Анимации
===================== */
@keyframes morphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.morph-animation {
  animation: morphing 8s ease-in-out infinite;
}

/* =====================
   Медиа запросы
===================== */
@media (max-width: 992px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column;
    padding-left: 60px;
  }

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

  .timeline-date,
  .timeline-content {
    width: 100%;
  }

  .timeline-date {
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .timeline-content::before {
    left: -10px !important;
    top: 20px;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .header .container {
    height: 70px;
  }

  .hero {
    margin-top: 70px;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .hero-cta {
    flex-direction: column;
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .section-subtitle {
    font-size: var(--text-lg);
  }

  .pricing-table {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  :root {
    --spacing-xxl: 3rem;
    --spacing-xl: 2rem;
    --spacing-lg: 1.5rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .hero {
    min-height: 60vh;
  }

  .about-stats {
    flex-direction: column;
  }

  .stat-item {
    margin-bottom: var(--spacing-sm);
  }
}

.mobile-nav.active{
  display: block;
}
*{
  opacity: 1 !important;
}