:root {
  /* Основная цветовая палитра */
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --primary-light: #22d3ee;
  --primary-bg: #ecfeff;
  --white: #ffffff;

  --secondary: #4f46e5;
  --secondary-dark: #4338ca;
  --secondary-bg: #eef2ff;

  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-light: #fb923c;
  --accent-bg: #fff7ed;

  /* Нейтральные цвета */
  --neutral-900: #0f172a;
  --neutral-800: #1e293b;
  --neutral-700: #334155;
  --neutral-600: #475569;
  --neutral-500: #64748b;
  --neutral-400: #94a3b8;
  --neutral-300: #cbd5e1;
  --neutral-200: #e2e8f0;
  --neutral-100: #f1f5f9;
  --neutral-50: #f8fafc;

  /* Семантические цвета */
  --success-color: #059669;
  --success-light: #10b981;
  --success-dark: #047857;
  --success-bg: #ecfdf5;

  --warning-color: #d97706;
  --warning-light: #f59e0b;
  --warning-dark: #b45309;
  --warning-bg: #fffbeb;

  --danger-color: #dc2626;
  --danger-light: #ef4444;
  --danger-dark: #b91c1c;
  --danger-bg: #fef2f2;

  --info-color: #2563eb;
  --info-light: #3b82f6;
  --info-dark: #1d4ed8;
  --info-bg: #eff6ff;

  /* Цвета фона */
  --background-primary: var(--neutral-50);
  --background-secondary: var(--neutral-100);
  --background-tertiary: white;
  --background-dark: var(--neutral-900);

  /* Цвета текста */
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-700);
  --text-tertiary: var(--neutral-500);
  --text-light: var(--neutral-50);

  /* Цвета границ */
  --border-light: var(--neutral-200);
  --border-medium: var(--neutral-300);
  --border-dark: var(--neutral-400);

  /* Оттенки серого */
  --gray-100: var(--neutral-100);
  --gray-200: var(--neutral-200);
  --gray-300: var(--neutral-300);
  --gray-400: var(--neutral-400);
  --gray-500: var(--neutral-500);
  --gray-600: var(--neutral-600);
  --gray-700: var(--neutral-700);
  --gray-800: var(--neutral-800);
  --gray-900: var(--neutral-900);

  /* Типографика */
  --font-family-base: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
  --font-family-headings: var(--font-family-base);
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.25rem;
  --line-height-base: 1.5;
  --line-height-sm: 1.25;
  --line-height-lg: 2;

  /* Заголовки */
  --h1-font-size: 2.5rem;
  --h2-font-size: 2rem;
  --h3-font-size: 1.75rem;
  --h4-font-size: 1.5rem;
  --h5-font-size: 1.25rem;
  --h6-font-size: 1rem;

  /* Отступы */
  --spacing-unit: 1rem;
  --spacing-xs: calc(var(--spacing-unit) * 0.25);
  --spacing-sm: calc(var(--spacing-unit) * 0.5);
  --spacing-md: var(--spacing-unit);
  --spacing-lg: calc(var(--spacing-unit) * 1.5);
  --spacing-xl: calc(var(--spacing-unit) * 2);
  --spacing-xxl: calc(var(--spacing-unit) * 3);

  /* Границы */
  --border-width: 1px;
  --border-style: solid;
  --border-color: var(--gray-300);
  --border-radius: 0.375rem;
  --border-radius-sm: 0.25rem;
  --border-radius-lg: 0.5rem;
  --border-radius-pill: 50rem;

  /* Тени */
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);

  /* Переходы */
  --transition-base: all 0.2s ease-in-out;
  --transition-fade: opacity 0.15s linear;
  --transition-collapse: height 0.35s ease;

  /* Контейнеры и сетка */
  --container-padding: 1rem;
  --grid-gutter-width: 1.5rem;
  --grid-columns: 12;

  /* Брейкпоинты */
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-xxl: 1400px;

  /* Z-индексы */
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;

  /* Обновленные Bootstrap переменные */
  --bs-primary: #0891b2;
  --bs-accent: #f97316;
  --bs-dark: #0f172a;
  --bs-dark-subtle: #1e293b;
  --bs-primary-rgb: 8, 145, 178;
  --bs-accent-rgb: 249, 115, 22;
  --bs-secondary-rgb: 79, 70, 229;
  --bs-primary-bg: var(--primary-bg);
  --bs-white-10: rgba(255, 255, 255, 0.1);
}

body,
html {
  width: 100%;
  overflow-x: hidden;
}

/* Базовые стили для body */
body {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--secondary-dark);
  background-color: var(--background-primary);
  font-family: 'Inter', sans-serif;
}

/* Базовые стили для заголовков */
h1,
.h1 {
  font-size: var(--h1-font-size);
}
h2,
.h2 {
  font-size: var(--h2-font-size);
}
h3,
.h3 {
  font-size: var(--h3-font-size);
}
h4,
.h4 {
  font-size: var(--h4-font-size);
}
h5,
.h5 {
  font-size: var(--h5-font-size);
}
h6,
.h6 {
  font-size: var(--h6-font-size);
}

/* Кнопки */
.button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.button.secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

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

.button.accent:hover {
  background: var(--accent-dark);
}

.button.outline {
  background: transparent;
  border: 2px solid currentColor;
}

.button.outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.button.outline.secondary {
  color: var(--secondary-color);
}

.button.outline.secondary:hover {
  background-color: var(--secondary-bg);
}

.button.outline.accent {
  color: var(--accent-color);
}

.button.outline.accent:hover {
  background-color: var(--accent-bg);
}

/* Заголовки */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--font-family-headings);
  font-weight: bold;
  margin-bottom: var(--spacing-md);
}

.text-primary {
  color: var(--bs-primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-accent {
  color: var(--bs-accent) !important;
}

.text-success {
  color: var(--success-color) !important;
}

.text-warning {
  color: var(--warning-color) !important;
}

.text-danger {
  color: var(--danger-color) !important;
}

.text-info {
  color: var(--info-color) !important;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* Карточки */
.card {
  background: var(--background-tertiary);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--primary);
}

/* Формы */
.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: var(--transition-base);
  color: var(--text-primary);
  background-color: var(--background-tertiary);
}

.form-floating label {
  color: var(--bs-white) !important;
}

.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

textarea.form-control {
  min-height: 120px;
}

/* Навигация */
.navbar {
  padding: var(--spacing-md) 0;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-light);
}

.navbar-nav .nav-link {
  color: var(--secondary-dark);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-md);
  transition: var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

/* Изображения */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Тени */
.shadow-hover {
  transition: all 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Футер */
footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: var(--spacing-xxl) 0 var(--spacing-md);
}

footer a {
  color: var(--neutral-400);
  text-decoration: none;
  transition: var(--transition-base);
}

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

/* Социальные иконки */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

/* Утилиты */
.fw-light {
  font-weight: 300 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.text-center {
  text-align: center !important;
}

/* Адаптивность */
@media (max-width: var(--breakpoint-lg)) {
  section {
    padding: var(--spacing-xl) 0;
  }

  .navbar {
    padding: var(--spacing-sm) 0;
  }
}

/* Обновленные стили фона */
.bg-primary {
  background-color: var(--bs-primary) !important;
}
.bg-primary-light {
  background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
}
.bg-primary-dark {
  background-color: var(--primary-dark) !important;
}
.bg-primary-bg {
  background-color: var(--bs-primary-bg) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}
.bg-secondary-light {
  background-color: var(--secondary-light) !important;
}
.bg-secondary-dark {
  background-color: var(--secondary-dark) !important;
}
.bg-secondary-bg {
  background-color: var(--secondary-bg) !important;
}

.bg-accent {
  background-color: var(--bs-accent) !important;
}
.bg-accent-light {
  background-color: rgba(var(--bs-accent-rgb), 0.1) !important;
}
.bg-accent-dark {
  background-color: var(--accent-dark) !important;
}
.bg-accent-bg {
  background-color: var(--accent-bg) !important;
}

/* Pricing Page Styles */
.bg-gradient {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary) 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
}

.bg-gradient-dark {
  background: linear-gradient(135deg, var(--neutral-800) 0%, var(--primary-dark) 100%);
}

.bg-gradient-light {
  background: linear-gradient(135deg, var(--neutral-50) 0%, var(--secondary) 100%);
}

.card {
  transition: all 0.3s ease;
}

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

.accordion-button:not(.collapsed) {
  background-color: var(--bs-primary-bg-subtle);
  color: var(--bs-primary);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(var(--bs-primary-rgb), 0.1);
}

.badge.bg-accent {
  background-color: var(--bs-accent);
  color: var(--bs-white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
}

/* Pricing Cards */
.card .badge {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.card .bi {
  font-size: 1.25rem;
}

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

.card-img-top {
  height: 300px;
  object-fit: cover;
}

.social-icons a:hover {
  transition: color 0.3s ease;
}

.bg-primary-subtle {
  background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
}

.text-primary-subtle {
  color: rgba(var(--bs-primary-rgb), 0.7) !important;
}

.border-primary-subtle {
  border-color: rgba(var(--bs-primary-rgb), 0.3) !important;
}
.terms-list {
  color: #222;
  font-size: 1.08rem;
  line-height: 1.7;
  padding-left: 18px;
  text-align: left;
}
.terms-list li {
  margin-bottom: 18px;
}
.terms-contacts {
  margin-top: 12px;
}
.terms-contacts {
  margin-top: 12px;
}
.terms-contact i {
  margin-right: 7px;
}

.stats-icon {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card:hover .stats-icon {
  transform: scale(1.1);
}

.hover-text-white:hover {
  color: #fff !important;
}

.service-icon {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.testimonial-card {
  transition: all 0.3s ease;
}

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

.social-icon {
  transition: all 0.3s ease;
}

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

@media (max-width: 991.98px) {
  .navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .hero {
    padding-top: 6rem;
  }
}

.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.py-7 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.pt-7 {
  padding-top: 6rem !important;
}

.gradient-overlay {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0.85;
}
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.stats-card {
  border-radius: 20px;
  transition: all 0.3s ease;
}
.stats-card:hover {
  transform: translateY(-10px);
}
.service-card {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.timeline {
  position: relative;
  padding-left: 50px;
  margin-top: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  height: 100%;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -50px;
  top: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid var(--bs-dark);
  z-index: 1;
}
.timeline-content {
  position: relative;
  padding: 25px;
  background: var(--bs-dark-subtle);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.timeline-content::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 15px 10px 0;
  border-color: transparent var(--bs-dark-subtle) transparent transparent;
}
.timeline-content:hover {
  transform: translateX(10px);
}
@media (max-width: 767.98px) {
  .timeline {
    padding-left: 30px;
  }

  .timeline-dot {
    left: -30px;
    width: 16px;
    height: 16px;
  }

  .timeline-content::before {
    left: -10px;
    border-width: 8px 10px 8px 0;
  }
}

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

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

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

.animate-up {
  animation: slideUp 1s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

/* Utility Classes */
.bg-dark {
  background-color: var(--bs-dark) !important;
}
.bg-dark-subtle {
  background-color: var(--bs-dark-subtle) !important;
}
.bg-accent {
  background-color: var(--bs-accent) !important;
}
.text-accent {
  color: var(--bs-accent) !important;
}

.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}
.py-7 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

/* Hover Effects */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.02);
}

.hover-scale-sm:hover {
  transform: scale(1.01);
}

.hover-text-white:hover {
  color: #fff !important;
}

/* Navigation */
.navbar {
  transition: background-color 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--bs-dark) !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-bar {
  transition: width 0.3s ease;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 13px;
  margin: 0 auto 10px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouse-wheel 1.5s infinite;
}

@keyframes mouse-wheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

.arrows span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: -5px auto;
  animation: arrow-scroll 2s infinite;
}

.arrows span:nth-child(2) {
  animation-delay: -0.2s;
}
.arrows span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes arrow-scroll {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px, -10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

/* Service Icons */
.service-icon .icon-box {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 24px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  height: 100%;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-dot {
  position: absolute;
  left: -45px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid var(--bs-dark);
}

.timeline-content {
  position: relative;
}

/* Image Stack */
.image-stack {
  position: relative;
  width: 100%;
}

.image-stack__item {
  width: 80%;
  border-radius: 16px;
  overflow: hidden;
}

.image-stack__item--bottom {
  position: absolute;
  right: 0;
  bottom: -30px;
}

/* Stats */
.stat-item {
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-item:last-child::after {
  display: none;
}

/* Form Styling */
.form-control {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--bs-dark-subtle);
  color: #fff;
}

.form-control:focus {
  background-color: var(--bs-dark-subtle);
  border-color: var(--bs-accent);
  color: #fff;
  box-shadow: none;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Custom Button Styles */
.btn-accent {
  background-color: var(--bs-accent);
  border-color: var(--bs-accent);
  color: #fff;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .stat-item::after {
    display: none;
  }

  .image-stack__item--bottom {
    position: relative;
    bottom: 0;
    margin-top: -100px;
  }

  .image-stack__item {
    width: 100%;
  }

  .image-stack__item img {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .timeline {
    padding-left: 30px;
  }

  .timeline-dot {
    left: -30px;
    width: 16px;
    height: 16px;
  }
}

/* Testimonials Slider */
.testimonials-slider {
  position: relative;
  padding: 30px 0;
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
}

.swiper-button-prev,
.swiper-button-next {
  width: 50px;
  height: 50px;
  background-color: var(--bs-dark);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 20px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: var(--bs-accent);
}

.swiper-pagination-bullet {
  background-color: var(--bs-white);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: var(--bs-accent);
  opacity: 1;
}

@media (max-width: 767.98px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}
