/* Общие стили */
:root {
  --primary-color: #1C2B33;
  --text-color: #1C2B33;
  --white: #FFFFFF;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --transition: all 0.3s ease;
}

/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
}

/* Анимация подсветки при прокрутке */
.scroll-highlight {
  position: relative;
  animation: scrollHighlight 1.5s ease-out;
}

@keyframes scrollHighlight {
  0% {
    transform: translateY(10px);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-5px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.scroll-highlight::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  transform: translateX(-50%);
  animation: slideIn 1.5s ease-out;
}

@keyframes slideIn {
  0% {
    width: 0;
    opacity: 0;
  }
  50% {
    width: 60px;
    opacity: 1;
  }
  100% {
    width: 60px;
    opacity: 0;
  }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Контейнеры */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

/* Навигация */
.nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.main-content {
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo img {
  height: 24px;
  width: auto;
  transition: var(--transition);
}

/* Мобильное меню кнопка */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.nav-link:hover {
  background: var(--gray-100);
  color: var(--primary-color);
}

/* Выпадающее меню */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid var(--gray-200);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 0;
}

.dropdown-item:hover {
  background: var(--gray-100);
  color: var(--primary-color);
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dropdown-item-content strong {
  font-weight: 600;
  font-size: 0.95rem;
}

.dropdown-item-content span {
  font-size: 0.8rem;
  opacity: 0.7;
  color: var(--primary-color);
}

.dropdown-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 0.5rem 0;
}

.dropdown-item-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  color: var(--primary-color);
}

.dropdown-item-all:hover {
  background: rgba(28, 43, 51, 0.1);
  color: var(--primary-color);
}

/* Стили для ссылки на блог */
.blog-link {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  background: rgba(28, 43, 51, 0.06);
  color: var(--primary-color) !important;
  border-radius: 20px;
  padding: 0.75rem 1.5rem !important;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(28, 43, 51, 0.08);
  border: 1px solid rgba(28, 43, 51, 0.1);
  overflow: hidden;
}

.blog-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(28, 43, 51, 0.1), transparent);
  transition: left 0.6s ease;
}

.blog-link:hover::before {
  left: 100%;
}

.blog-link:hover {
  background: rgba(28, 43, 51, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(28, 43, 51, 0.15);
  border-color: rgba(28, 43, 51, 0.2);
}

.blog-icon {
  transition: all 0.3s ease;
  opacity: 0.8;
}

.blog-link:hover .blog-icon {
  transform: translateX(2px) rotate(5deg);
  opacity: 1;
}

.blog-link span {
  position: relative;
  z-index: 2;
  letter-spacing: 0.02em;
}

/* Пульсирующий эффект для привлечения внимания */
@keyframes blogPulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(28, 43, 51, 0.08);
  }
  50% {
    box-shadow: 0 2px 8px rgba(28, 43, 51, 0.08), 0 0 0 3px rgba(28, 43, 51, 0.06);
  }
}

.blog-link {
  animation: blogPulse 3s infinite ease-in-out;
}

.blog-link:hover {
  animation: none;
}

/* Герой секция */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--primary-color);
}

.hero-video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  min-width: 100%;
  min-height: 100%;
  background: var(--primary-color);
}

.hero-video.first-frame {
  opacity: 0.8;
}

.hero-video.loaded {
  opacity: 0.9;
}


.hero-video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 1.1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hero-video-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d3b43 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 1s ease;
  z-index: 1;
}

.hero-video-fallback.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-video-fallback::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.video-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.video-control {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 64px;
  height: 64px;
  transition: var(--transition);
}

.video-control:hover {
  transform: scale(1.1);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  gap: 0.5rem;
  width: fit-content;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gray-100);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--gray-200);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-icon {
  transition: var(--transition);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Секции */
.section {
  padding: 8rem 0;
  background: var(--white);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary-color);
  font-weight: 600;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--primary-color);
  margin-bottom: 6rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0.7;
}

/* Современная секция продуктов */
.products-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.products-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  pointer-events: none;
}

/* Улучшенный переход между секциями продуктов и технологий на мобильных */
@media (max-width: 768px) {
  .products-section {
    padding-bottom: 6rem;
    margin-bottom: 0;
  }
  
  .products-section::after {
    height: 80px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, #ffffff 100%);
  }
  
  /* Дополнительный отступ для последней карточки продуктов */
  .products-showcase {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
  }
  
  .product-card-modern:last-child {
    margin-bottom: 1rem;
  }
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(28, 43, 51, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(28, 43, 51, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.products-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.product-card-modern {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card-inner {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(28, 43, 51, 0.08);
  box-shadow: 0 4px 20px rgba(28, 43, 51, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.product-card-modern:hover .product-card-inner {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(28, 43, 51, 0.12);
  border-color: rgba(28, 43, 51, 0.15);
}

.product-icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(28, 43, 51, 0.05) 0%, rgba(28, 43, 51, 0.02) 100%);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.product-card-modern:hover .product-icon-bg {
  background: linear-gradient(135deg, rgba(28, 43, 51, 0.1) 0%, rgba(28, 43, 51, 0.05) 100%);
  transform: rotate(5deg) scale(1.05);
}

.product-icon-modern {
  position: relative;
  z-index: 2;
  color: var(--primary-color);
  transition: all 0.4s ease;
}

.product-card-modern:hover .product-icon-modern {
  transform: scale(1.1);
  color: var(--primary-color);
}

.product-icon-modern svg {
  stroke: var(--primary-color);
  fill: none;
}

.product-card-modern:hover .product-icon-modern svg {
  stroke: var(--primary-color);
  fill: none;
}

.product-accent-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--primary-color), #2d3b43);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.product-card-modern:hover .product-accent-dot {
  opacity: 1;
  transform: scale(1);
}

.product-content-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  background: rgba(28, 43, 51, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  width: fit-content;
  transition: all 0.3s ease;
}

.product-card-modern:hover .product-badge {
  background: rgba(28, 43, 51, 0.12);
  transform: translateX(4px);
}

.product-title-modern {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

.product-card-modern:hover .product-title-modern {
  color: var(--primary-color);
}

.product-description-modern {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--primary-color);
  opacity: 0.7;
  margin-bottom: 1.5rem;
  flex: 1;
  transition: all 0.3s ease;
}

.product-card-modern:hover .product-description-modern {
  opacity: 0.85;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feature-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-color);
  background: rgba(28, 43, 51, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(28, 43, 51, 0.1);
  transition: all 0.3s ease;
}

.product-card-modern:hover .feature-tag {
  background: rgba(28, 43, 51, 0.08);
  border-color: rgba(28, 43, 51, 0.15);
  transform: translateY(-1px);
}

.product-arrow {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 43, 51, 0.05);
  border-radius: 50%;
  color: var(--primary-color);
  opacity: 0;
  transform: translate(10px, -10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-modern:hover .product-arrow {
  opacity: 1;
  transform: translate(0, 0);
  background: rgba(28, 43, 51, 0.1);
}

/* Специальные цветовые акценты для каждого продукта */
.product-card-modern[data-product="subtitles"] .product-accent-dot {
  background: linear-gradient(135deg, var(--primary-color), #2d3b43);
}

.product-card-modern[data-product="transcriber"] .product-accent-dot {
  background: linear-gradient(135deg, var(--primary-color), #2d3b43);
}

.product-card-modern[data-product="cameras"] .product-accent-dot {
  background: linear-gradient(135deg, var(--primary-color), #2d3b43);
}

/* Анимация появления карточек */
.product-card-modern {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.product-card-modern:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card-modern:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card-modern:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Старые стили продуктов (оставляем для совместимости) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(28, 43, 51, 0.06);
}

.product-icon {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-icon svg {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.product-card:hover .product-icon svg {
  opacity: 1;
  transform: scale(1.05);
  stroke: var(--primary-color);
}

.product-media {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow: none;
}

.product-media:hover {
  transform: none;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.product-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.product-label {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  opacity: 0.6;
}

/* Выразительные заголовки секций */
.beautiful-section-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 3rem;
  padding: 1.5rem 0;
  opacity: 0.85;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  text-align: center;
  gap: 2rem;
}

.beautiful-section-label::before {
  content: '';
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color));
  opacity: 0.4;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.beautiful-section-label::after {
  content: '';
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  opacity: 0.4;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.beautiful-section-label:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.beautiful-section-label:hover::before,
.beautiful-section-label:hover::after {
  width: 70px;
  opacity: 0.7;
}

.product-title {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.product-description {
  margin-bottom: 1.5rem;
  flex: 1;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--primary-color);
  opacity: 0.75;
  font-weight: 400;
}

.product-actions {
  margin-top: auto;
}

/* Навигация */
.nav-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: var(--transition);
}

.nav-search:hover {
  background: var(--gray-100);
}

.nav-search svg {
  opacity: 0.7;
  transition: var(--transition);
}

.nav-search:hover svg {
  opacity: 1;
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Современная секция кейсов */
.cases-modern-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 2rem;
}


.cases-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  z-index: 1;
}

.cases-main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.cases-subtitle {
  font-size: 1.2rem;
  color: var(--primary-color);
  opacity: 0.7;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.cases-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.case-modern-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(28, 43, 51, 0.04);
  border: 1px solid rgba(28, 43, 51, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.case-modern-card:nth-child(1) {
  animation-delay: 0.1s;
}

.case-modern-card:nth-child(2) {
  animation-delay: 0.3s;
}

.case-modern-card:nth-child(3) {
  animation-delay: 0.5s;
}

.case-modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #2d3b43);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-modern-card[data-case="webcaster"]::before {
  background: linear-gradient(90deg, var(--primary-color), #2d3b43);
}

.case-modern-card[data-case="webinar"]::before {
  background: linear-gradient(90deg, var(--primary-color), #2d3b43);
}

.case-modern-card[data-case="cameras"]::before {
  background: linear-gradient(90deg, var(--primary-color), #2d3b43);
}

.case-modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(28, 43, 51, 0.12);
  border-color: rgba(28, 43, 51, 0.1);
}

.case-modern-card:hover::before {
  opacity: 1;
}

.case-modern-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(28, 43, 51, 0.08);
}

.case-modern-icon {
  width: 60px;
  height: 60px;
  background: rgba(28, 43, 51, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.case-modern-card:hover .case-modern-icon {
  background: rgba(28, 43, 51, 0.1);
  transform: scale(1.05);
}

.case-modern-meta {
  flex: 1;
}

.case-modern-category {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  opacity: 0.6;
  margin-bottom: 0.5rem;
  display: block;
}

.case-modern-title {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color);
  margin: 0;
  letter-spacing: -0.01em;
}

.case-modern-content {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  min-height: 280px; /* Фиксированная минимальная высота для выравнивания */
}

.case-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
  flex: 1; /* Равномерное распределение высоты между шагами */
  min-height: 85px; /* Минимальная высота для каждого шага */
}

.case-step:last-child {
  margin-bottom: 0;
}

.case-step::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 50px;
  width: 2px;
  height: calc(100% + 1rem);
  background: linear-gradient(180deg, rgba(28, 43, 51, 0.1) 0%, transparent 100%);
}

.case-step:last-child::after {
  display: none;
}

.case-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  background: rgba(28, 43, 51, 0.08);
  border: 1px solid rgba(28, 43, 51, 0.12);
  color: var(--primary-color);
  opacity: 0.7;
}

.case-step-icon.situation,
.case-step-icon.challenge,
.case-step-icon.solution {
  background: rgba(28, 43, 51, 0.08);
  border: 1px solid rgba(28, 43, 51, 0.12);
  color: var(--primary-color);
  opacity: 0.7;
}

.case-modern-card:hover .case-step-icon {
  transform: scale(1.1);
}

.case-step-content {
  flex: 1;
}

.case-step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.case-step-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--primary-color);
  opacity: 0.8;
  margin: 0;
}

.case-modern-results {
  display: flex;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(28, 43, 51, 0.08);
}

.case-result-metric {
  flex: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(28, 43, 51, 0.02);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.case-modern-card:hover .case-result-metric {
  background: rgba(28, 43, 51, 0.05);
  transform: translateY(-2px);
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-color);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cases-cta {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cases-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: 2px solid rgba(28, 43, 51, 0.1);
  color: var(--primary-color);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cases-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(28, 43, 51, 0.05), transparent);
  transition: left 0.6s ease;
}

.cases-cta-btn:hover::before {
  left: 100%;
}

.cases-cta-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 43, 51, 0.2);
  box-shadow: 0 8px 25px rgba(28, 43, 51, 0.1);
}

.cases-cta-btn .btn-icon {
  transition: transform 0.3s ease;
}

.cases-cta-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Старые стили кейсов (для совместимости) */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

.case-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.case-segment {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

.case-title {
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--primary-color);
  margin: 0;
  letter-spacing: -0.02em;
}

.case-content {
  padding: 1.5rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-block {
  margin-bottom: 1.5rem;
}

.case-block-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.case-block p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--primary-color);
  opacity: 0.8;
  margin: 0;
}

.case-results {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.case-result-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.case-result-item:last-child {
  margin-bottom: 0;
}

.case-result-icon {
  font-size: 1rem;
  color: var(--primary-color);
  opacity: 0.6;
  margin-top: 0.2rem;
}

.case-result-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

/* Стили для секции услуг и пайплайна */
.services-pipeline {
  margin-top: 6rem;
  padding: 3rem;
  background: var(--gray-100);
  border-radius: 24px;
}

.services-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  font-weight: 600;
}

.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.pipeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 16px;
  transition: var(--transition);
}

.pipeline-step:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.2;
  line-height: 1;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--primary-color);
}

.step-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--primary-color);
  opacity: 0.8;
  margin: 0;
}

/* Медиа запросы */
@media (max-width: 992px) {
  .cases-modern-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-pipeline {
    padding: 2rem;
  }
  
  .case-modern-results {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cases-header {
    margin-bottom: 4rem;
  }
  
  .cases-main-title {
    font-size: 2.5rem;
  }
  
  .cases-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  /* Исправление для видео на мобильных устройствах, включая iPhone */
  .hero {
    height: 100vh !important;
    min-height: 100vh !important;
    position: relative !important;
    overflow: hidden !important;
  }
  
  .hero-video-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 1 !important;
  }
  
  .hero-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    object-position: center center !important;
    z-index: 1 !important;
    /* Специальные стили для Safari на iOS */
    -webkit-transform: translate(-50%, -50%) !important;
    -webkit-object-fit: cover !important;
    -webkit-object-position: center center !important;
    /* Принудительное воспроизведение на iOS */
    -webkit-playsinline: true !important;
    playsinline: true !important;
  }
  
  /* Специальные стили для iPhone в портретной ориентации */
  @media (max-aspect-ratio: 9/16) and (-webkit-min-device-pixel-ratio: 2) {
    .hero-video {
      width: 100% !important;
      height: auto !important;
      min-height: 100vh !important;
      min-width: 100vw !important;
      object-fit: cover !important;
      object-position: center center !important;
    }
  }
  
  /* Специальные стили для iPhone в альбомной ориентации */
  @media (min-aspect-ratio: 16/9) and (-webkit-min-device-pixel-ratio: 2) {
    .hero-video {
      width: auto !important;
      height: 100% !important;
      min-width: 100vw !important;
      min-height: 100vh !important;
      object-fit: cover !important;
      object-position: center center !important;
    }
  }
  
  /* Дополнительные стили для iPhone Safari */
  @supports (-webkit-touch-callout: none) {
    .hero-video {
      /* Исправление для Safari на iOS */
      -webkit-transform: translate3d(-50%, -50%, 0) !important;
      transform: translate3d(-50%, -50%, 0) !important;
      -webkit-backface-visibility: hidden !important;
      backface-visibility: hidden !important;
      -webkit-perspective: 1000px !important;
      perspective: 1000px !important;
    }
    
    .hero-video-container {
      /* Улучшение производительности на iOS */
      -webkit-transform: translateZ(0) !important;
      transform: translateZ(0) !important;
      will-change: transform !important;
    }
  }

  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-wrapper {
    position: relative;
  }
  
  .nav-logo img {
    height: 20px;
  }
  
  .nav-list {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
  }
  
  .nav-list.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-item {
    width: 100%;
    justify-content: center;
    border-bottom: 1px solid rgba(28, 43, 51, 0.1);
  }
  
  .nav-item:last-child {
    border-bottom: none;
  }
  
  .nav-item-desktop-only {
    display: none;
  }
  
  .nav-link {
    padding: 1rem 2rem;
    width: 100%;
    text-align: center;
    border-radius: 0;
  }
  
  .dropdown {
    width: 100%;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: center;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(248, 249, 250, 0.9);
    margin-top: 0;
    padding: 0;
    min-width: auto;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 500px;
  }
  
  .dropdown-item {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(28, 43, 51, 0.05);
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  
  .dropdown-item:last-child {
    border-bottom: none;
  }
  
  .dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .dropdown-item-content strong {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--primary-color);
  }
  
  .dropdown-item-content span {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.75;
    color: var(--primary-color);
    word-wrap: break-word;
    hyphens: auto;
  }
  
  /* Адаптивные стили для ссылки на блог в мобильном меню */
  .blog-link {
    margin: 1rem 2rem !important;
    padding: 1rem 1.5rem !important;
    border-radius: 16px !important;
    animation: none !important;
    box-shadow: 0 2px 8px rgba(28, 43, 51, 0.15) !important;
  }
  
  .blog-link:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(28, 43, 51, 0.2) !important;
  }
  
  .innovations-grid,
  .advantages-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .products-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Новые стили для современных карточек продуктов */
  .products-showcase {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 3rem !important;
  }
  
  .product-card-inner {
    padding: 2rem !important;
  }
  
  .product-icon-container {
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 1.5rem !important;
  }
  
  .product-title-modern {
    font-size: 1.3rem !important;
  }
  
  .product-description-modern {
    font-size: 0.95rem !important;
  }
  
  .product-arrow {
    top: 1.5rem !important;
    right: 1.5rem !important;
    width: 36px !important;
    height: 36px !important;
  }
  
  .product-features {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  .feature-tag {
    width: fit-content !important;
  }
  
  /* Адаптивные стили для современных кейсов */
  .cases-modern-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .case-modern-card {
    padding: 2rem !important;
  }
  
  .case-modern-content {
    min-height: 250px !important; /* Адаптированная высота для мобильных */
  }
  
  .case-modern-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
    padding-bottom: 1.5rem !important;
  }
  
  .case-modern-icon {
    width: 50px !important;
    height: 50px !important;
  }
  
  .case-modern-title {
    font-size: 1.2rem !important;
  }
  
  .case-step {
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
    min-height: 75px !important; /* Адаптированная минимальная высота для мобильных */
  }
  
  .case-step-icon {
    width: 35px !important;
    height: 35px !important;
    font-size: 1rem !important;
  }
  
  .case-step::after {
    left: 17px !important;
    top: 45px !important;
  }
  
  .case-step-title {
    font-size: 0.95rem !important;
  }
  
  .case-step-content p {
    font-size: 0.9rem !important;
  }
  
  .case-modern-results {
    flex-direction: column !important;
    gap: 1rem !important;
    padding-top: 1.5rem !important;
  }
  
  .case-result-metric {
    padding: 1rem !important;
  }
  
  .metric-value {
    font-size: 1.5rem !important;
  }
  
  .metric-label {
    font-size: 0.75rem !important;
  }
  
  .cases-header {
    margin-bottom: 3rem !important;
  }
  
  .cases-main-title {
    font-size: 2rem !important;
  }
  
  .cases-subtitle {
    font-size: 1rem !important;
  }
  
  .cases-cta-btn {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
  
  /* Адаптация страницы кейсов Webcaster & Webinar */
  
  /* Hero секция */
  .hero {
    height: 70vh !important;
    padding: 2rem 0 3rem !important;
    min-height: 500px !important;
  }
  
  .hero-content {
    width: 95%;
    padding: 0 1rem;
    position: relative !important;
    top: 45% !important;
    transform: translate(-50%, -45%) !important;
  }
  
  /* Статистика в hero */
  .hero-content div[style*="display: flex; justify-content: center; gap: 3rem"] {
    flex-direction: column !important;
    gap: 2.5rem !important;
    align-items: center !important;
    margin-top: 3rem !important;
    padding-bottom: 2rem !important;
  }
  
  .hero-content div[style*="display: flex; justify-content: center; gap: 3rem"] > div {
    min-width: 120px;
    padding: 0.5rem !important;
  }
  
  /* Дополнительные стили для статистических блоков */
  .hero-content div[style*="text-align: center"] {
    padding: 0.75rem !important;
  }
  
  .hero-content div[style*="font-size: 2.5rem"] {
    font-size: 2.2rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.1 !important;
  }
  
  .hero-content div[style*="font-size: 0.9rem; opacity: 0.8"] {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    margin-top: 0.5rem !important;
  }
  
  /* Основные секции */
  .section {
    padding: 4rem 0 !important;
  }
  
  /* Заголовки секций */
  .section h2[style*="font-size: clamp(2.5rem, 5vw, 3.5rem)"] {
    font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
    margin-bottom: 1rem !important;
  }
  
  .section p[style*="font-size: 1.2rem"] {
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
  }
  
  /* Контейнеры с максимальной шириной */
  .section div[style*="max-width: 1000px"] {
    max-width: 100% !important;
    padding: 0 1rem !important;
  }
  
  /* Заголовки h3 */
  .section h3[style*="font-size: 2.2rem"] {
    font-size: 1.6rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Параграфы */
  .section p[style*="font-size: 1.1rem"] {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  /* Блоки с проблемами/требованиями */
  .section div[style*="background: linear-gradient(135deg, var(--gray-100)"] {
    padding: 2rem !important;
    border-radius: 16px !important;
    margin-bottom: 2rem !important;
  }
  
  .section div[style*="background: linear-gradient(135deg, var(--gray-100)"] h4 {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
  }
  
  /* Списки с точками */
  .section div[style*="display: flex; align-items: center; gap: 1rem"] {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .section div[style*="display: flex; align-items: center; gap: 1rem"] span {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  /* Блоки решений */
  .section div[style*="background: var(--white); padding: 4rem"] {
    padding: 2rem !important;
    border-radius: 20px !important;
    margin-bottom: 4rem !important;
  }
  
  .section div[style*="background: var(--white); padding: 4rem"] h3 {
    font-size: 1.8rem !important;
    margin-bottom: 2rem !important;
  }
  
  /* Сетки с карточками (3 колонки -> 1 колонка) */
  .section div[style*="display: grid; grid-template-columns: repeat(3, 1fr)"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Сетки с карточками (2 колонки -> 1 колонка) */
  .section div[style*="display: grid; grid-template-columns: repeat(2, 1fr)"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Карточки решений */
  .section div[style*="text-align: center; padding: 2rem"] {
    padding: 1.5rem !important;
    border-radius: 16px !important;
  }
  
  .section div[style*="text-align: center; padding: 2rem"] h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .section div[style*="text-align: center; padding: 2rem"] p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  /* Иконки в карточках */
  .section div[style*="width: 80px; height: 80px"] {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 1rem !important;
    font-size: 1.5rem !important;
  }
  
  /* Технические особенности */
  .section div[style*="background: linear-gradient(135deg, var(--gray-100), #f0f2f5)"] {
    padding: 2rem !important;
    border-radius: 16px !important;
  }
  
  .section div[style*="background: linear-gradient(135deg, var(--gray-100), #f0f2f5)"] h4 {
    font-size: 1.2rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .section div[style*="background: var(--white); padding: 2rem"] {
    padding: 1.5rem !important;
    border-radius: 12px !important;
  }
  
  .section div[style*="background: var(--white); padding: 2rem"] h5 {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .section div[style*="background: var(--white); padding: 2rem"] p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }
  
  /* Блоки результатов */
  .section div[style*="background: linear-gradient(135deg, #1C2B33 0%, #2d3b43 100%)"] {
    padding: 3rem 2rem !important;
    border-radius: 20px !important;
  }
  
  .section div[style*="background: linear-gradient(135deg, #1C2B33 0%, #2d3b43 100%)"] h3 {
    font-size: 1.8rem !important;
    margin-bottom: 2rem !important;
  }
  
  /* Карточки результатов */
  .section div[style*="text-align: center; padding: 2rem; background: rgba(255,255,255,0.05)"] {
    padding: 1.5rem !important;
    border-radius: 16px !important;
    margin-bottom: 1rem !important;
  }
  
  .section div[style*="font-size: 4rem; font-weight: 700"] {
    font-size: 2.5rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .section div[style*="font-size: 1.2rem; opacity: 0.9"] {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .section div[style*="font-size: 0.9rem; opacity: 0.7"] {
    font-size: 0.8rem !important;
  }
  
  /* Функциональные возможности WBNR */
  .section div[style*="background: linear-gradient(135deg, rgba(28, 43, 51, 0.05)"] {
    padding: 2rem !important;
    border-radius: 16px !important;
  }
  
  .section div[style*="background: linear-gradient(135deg, rgba(28, 43, 51, 0.05)"] h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .section div[style*="background: linear-gradient(135deg, rgba(28, 43, 51, 0.05)"] p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.75rem !important;
  }
  
  .section div[style*="background: linear-gradient(135deg, rgba(28, 43, 51, 0.05)"] ul {
    font-size: 0.8rem !important;
  }
  
  .section div[style*="background: linear-gradient(135deg, rgba(28, 43, 51, 0.05)"] li {
    margin-bottom: 0.4rem !important;
  }
  
  /* Практическая ценность */
  .section div[style*="display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .section div[style*="margin-bottom: 1.5rem; font-size: 1.5rem"] {
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
  }
  
  .section div[style*="display: flex; align-items: flex-start; gap: 1rem"] {
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .section div[style*="font-size: 1rem; line-height: 1.6"] {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  /* Результат блок */
  .section div[style*="text-align: center; padding: 2.5rem"] {
    padding: 2rem !important;
    border-radius: 16px !important;
  }
  
  .section div[style*="margin-bottom: 1rem; font-size: 1.8rem"] {
    font-size: 1.4rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .section div[style*="font-size: 1.1rem; opacity: 0.9"] {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
  
  /* CTA секция */
  .section div[style*="max-width: 900px"] {
    max-width: 100% !important;
    padding: 0 1rem !important;
  }
  
  .section div[style*="display: flex; gap: 1.5rem; justify-content: center"] {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
  }
  
  .section a[style*="padding: 1.25rem 2.5rem"] {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    border-radius: 30px !important;
    width: 100% !important;
    max-width: 280px !important;
    text-align: center !important;
    justify-content: center !important;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .products-grid {
    gap: 2rem;
    padding: 0;
  }
  
  .product-media {
    margin-bottom: 0.75rem;
  }
  
  .product-title {
    font-size: 1.3rem;
  }
  
  .product-description {
    font-size: 0.95rem;
  }
  
  .video-controls {
    bottom: 1rem;
    right: 1rem;
  }
  
  .video-control {
    width: 48px;
    height: 48px;
  }
  
  .section-title,
  .llama-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }
  
  .llama-section {
    padding: 6rem 2rem;
  }
}

/* Утилиты */
.text-center { text-align: center; }
.w-100 { width: 100%; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.text-muted { color: #6c757d; opacity: 0.8; }
.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.blog-grid.empty {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  width: 100%;
}

/* Стили для документации */
.docs-document-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-color);
}

/* Заголовки в документации */
.docs-document-content h1,
.docs-document-content h2,
.docs-document-content h3,
.docs-document-content h4,
.docs-document-content h5,
.docs-document-content h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color);
}

.docs-document-content h1 {
  font-size: 2.5rem;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.docs-document-content h2 {
  font-size: 2rem;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 0.4rem;
}

.docs-document-content h3 {
  font-size: 1.5rem;
}

.docs-document-content h4 {
  font-size: 1.25rem;
}

.docs-document-content h5 {
  font-size: 1.1rem;
}

.docs-document-content h6 {
  font-size: 1rem;
  color: #555;
}

/* Параграфы в документации */
.docs-document-content p {
  margin-bottom: 1.5rem;
}

/* Списки в документации */
.docs-document-content ul,
.docs-document-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.docs-document-content ul li,
.docs-document-content ol li {
  margin-bottom: 0.5rem;
}

.docs-document-content ul {
  list-style-type: disc;
}

.docs-document-content ul ul {
  list-style-type: circle;
}

.docs-document-content ul ul ul {
  list-style-type: square;
}

.docs-document-content ol {
  list-style-type: decimal;
}

.docs-document-content ol ol {
  list-style-type: lower-alpha;
}

.docs-document-content ol ol ol {
  list-style-type: lower-roman;
}

/* Блоки кода в документации */
.docs-document-content pre {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.docs-document-content pre code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  border: none;
  color: inherit;
  display: block;
  white-space: pre;
}

/* Строчный код в документации */
.docs-document-content code:not(pre code) {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9em;
  background-color: var(--gray-100);
  border-radius: 4px;
  padding: 0.2em 0.4em;
  color: #d63384;
  border: 1px solid var(--gray-200);
}

/* Таблицы в документации */
.docs-document-content table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
  border-spacing: 0;
  overflow-x: auto;
  display: block;
}

.docs-document-content table th,
.docs-document-content table td {
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  text-align: left;
}

.docs-document-content table th {
  background-color: var(--gray-100);
  font-weight: 600;
}

.docs-document-content table tr:nth-child(even) {
  background-color: var(--gray-100);
}

.docs-document-content table tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Цитаты в документации */
.docs-document-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 0.5rem 1rem;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.5rem;
  background-color: rgba(28, 43, 51, 0.05);
  border-radius: 0 8px 8px 0;
  color: #555;
}

.docs-document-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Горизонтальная линия в документации */
.docs-document-content hr {
  height: 1px;
  background-color: var(--gray-300);
  border: none;
  margin: 2rem 0;
}

/* Ссылки в документации */
.docs-document-content a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.2s ease;
}

.docs-document-content a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

/* Изображения в документации */
.docs-document-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Содержание документации */
.docs-toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-right: 1rem;
}

.docs-toc .list-group-item {
  border-radius: 6px;
  margin-bottom: 0.5rem;
  border: none;
  background-color: transparent;
  transition: all 0.2s ease;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.docs-toc .list-group-item:hover {
  background-color: var(--gray-100);
}

.docs-toc .list-group-item.active {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
}

/* Подсветка синтаксиса кода */
.hljs {
  background-color: #f8f9fa !important;
  padding: 0 !important;
}

/* Llama блок */
.llama-section {
  background: var(--white);
  color: var(--primary-color);
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Улучшенный переход для секции технологий на мобильных */
@media (max-width: 768px) {
  .llama-section {
    padding: 4rem 0 8rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 1;
  }
  
  /* Добавляем плавный переход в начале секции технологий */
  .llama-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(248, 249, 250, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: -1;
  }
}

.llama-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary-color);
  font-weight: 600;
}

.llama-subtitle {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0.7;
}

/* API Hub Styles */
.api-hub-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.api-hub-content {
  text-align: left;
  padding-right: 2rem;
}

.api-hub-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  opacity: 0.6;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(28, 43, 51, 0.1);
  background-color: rgba(28, 43, 51, 0.02);
}

.api-hub-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.api-hub-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--primary-color);
  opacity: 0.8;
}

.api-hub-description p {
  margin-bottom: 2rem;
}

.api-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.api-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(28, 43, 51, 0.05);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.api-tag:hover {
  background: rgba(28, 43, 51, 0.1);
  transform: translateY(-2px);
}

.api-hub-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.api-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.api-detail-icon {
  font-size: 1.2rem;
  color: var(--primary-color);
  opacity: 0.6;
  margin-top: 0.2rem;
}

.api-detail p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.api-hub-cta {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-top: 2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.api-hub-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color) 0%, rgba(28, 43, 51, 0) 100%);
}

.api-hub-visual {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.decorative-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.star {
  position: absolute;
  font-size: 1.5rem;
  color: var(--primary-color);
  opacity: 0.3;
  transition: all 0.8s ease;
}

.star-1 {
  top: 15%;
  left: 10%;
  font-size: 2rem;
}

.star-2 {
  top: 30%;
  right: 15%;
  font-size: 1.8rem;
}

.star-3 {
  bottom: 20%;
  left: 20%;
  font-size: 1.6rem;
}

.star-4 {
  top: 60%;
  right: 25%;
  font-size: 1.4rem;
}

.star-5 {
  top: 40%;
  left: 30%;
  font-size: 1.2rem;
}

.star-6 {
  bottom: 30%;
  right: 10%;
  font-size: 2.2rem;
}

.api-hub-visual:hover .star-1 {
  transform: translate(10px, -10px);
  opacity: 0.6;
}

.api-hub-visual:hover .star-2 {
  transform: translate(-15px, 5px);
  opacity: 0.7;
}

.api-hub-visual:hover .star-3 {
  transform: translate(8px, 12px);
  opacity: 0.5;
}

.api-hub-visual:hover .star-4 {
  transform: translate(-12px, -8px);
  opacity: 0.6;
}

.api-hub-visual:hover .star-5 {
  transform: translate(15px, 10px);
  opacity: 0.7;
}

.api-hub-visual:hover .star-6 {
  transform: translate(-10px, -15px);
  opacity: 0.5;
}

.image-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
}

.image-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.api-model-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 20px 20px 0 0;
  position: relative;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, black 30%, rgba(0,0,0,0.8) 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 30%, rgba(0,0,0,0.8) 60%, transparent 100%);
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@media (max-width: 992px) {
  .api-hub-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .api-hub-content {
    padding-right: 0;
    order: 2;
  }
  
  .api-hub-visual {
    order: 1;
    height: 500px;
  }
}

@media (max-width: 768px) {
  .api-hub-visual {
    height: 400px;
  }
  
  .api-hub-title {
    font-size: 2.2rem;
  }
  
  .api-hub-description {
    font-size: 1rem;
  }
  
  .api-hub-tags {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }
  
  .api-tag {
    flex: 0 1 auto;
    text-align: center;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
  
  .api-model-image,
  .stars-image,
  .text-glow-image,
  .title-image,
  .model-glow-image {
    width: 90%;
  }
  
  .title-image {
    top: 10%;
  }
}

.llama-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.llama-btn:hover {
  transform: translateY(-2px);
  background: #2d3b43;
}

.llama-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.llama-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.llama-btn-secondary:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.llama-divider {
  height: 1px;
  background: rgba(28, 43, 51, 0.1);
  margin: 2rem 0;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Блок новостей */
.news-section {
  background: var(--gray-100);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  min-height: 550px;
}

.news-card:nth-child(2) {
  animation-delay: 0.2s;
}

.news-card:nth-child(3) {
  animation-delay: 0.4s;
}

.news-media {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-image {
  transform: scale(1.05);
}

.news-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2.5rem;
  height: 100%;
}

.news-meta {
  height: 1.5rem;
  display: flex;
  align-items: center;
  margin: 0;
}

.news-date {
  font-size: 0.875rem;
  color: var(--primary-color);
  opacity: 0.6;
}

.news-header {
  display: flex;
  flex-direction: column;
  height: 120px;
  margin: 1.25rem 0;
  justify-content: flex-start;
}

.news-title {
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--primary-color);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-excerpt {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--primary-color);
  opacity: 0.75;
  margin: 0;
  height: 4.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-actions {
  margin-top: auto;
  padding-top: 2.5rem;
}

.news-actions .llama-btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.news-actions .llama-btn:hover {
  transform: translateY(-2px);
  background: #2d3b43;
}

.news-actions .btn-icon {
  transition: transform 0.3s ease;
}

.news-actions .llama-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Подвал */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 6rem 0 3rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand-text {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.7;
  margin-top: 1rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link {
  margin-bottom: 0.75rem;
}

.footer-link a {
  color: var(--white);
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link a:hover {
  opacity: 1;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--white);
  opacity: 0.7;
  transition: var(--transition);
}

.social-link:hover {
  opacity: 1;
}

.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: var(--transition);
}

.footer-logo:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .news-card {
    min-height: 500px;
  }
  
  .news-header {
    height: 100px;
  }
  
  .news-title {
    font-size: 1.25rem;
  }
}

/* Дополнительный блок технологий */
.tech-feature {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin: 6rem auto;
  max-width: 1000px;
  align-items: center;
  padding: 0 2rem;
}

.tech-feature-media {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--gray-100);
}

.tech-feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-feature-media:hover .tech-feature-image {
  transform: none;
}

.tech-feature-content {
  padding: 2rem 0;
}

.tech-feature-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1rem;
  opacity: 0.6;
}

.tech-feature-title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.tech-feature-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--primary-color);
  opacity: 0.75;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .tech-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .tech-feature-media {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .tech-feature-title {
    font-size: 2rem;
  }
}

/* Сетки */
.products-grid,
.technologies-grid,
.news-grid {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .technologies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Секция "Узнайте больше" - Минималистичный дизайн */
.learn-more {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.animated-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    opacity: 0.6;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(28, 43, 51, 0.02) 0%, rgba(28, 43, 51, 0.005) 100%);
    animation: float 25s infinite ease-in-out;
    filter: blur(1px);
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    top: 40%;
    right: -5%;
    animation-delay: -8s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(2deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(20px) translateX(-10px) rotate(-2deg);
        opacity: 0.4;
    }
}

.learn-more::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    top: 20%;
    right: 20%;
    background: radial-gradient(circle, rgba(28, 43, 51, 0.03) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.4;
    animation: pulse 4s infinite ease-in-out;
}

.learn-more::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 15%;
    background: radial-gradient(circle, rgba(28, 43, 51, 0.03) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.3;
    animation: pulse 4s infinite ease-in-out reverse;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.1);
    }
}

.learn-more-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.learn-more-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
}

.learn-more-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
    opacity: 0.6;
}

.learn-more-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    opacity: 0.75;
    position: relative;
}

.learn-more-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.learn-more-btn {
    background: var(--white) !important;
    color: var(--primary-color) !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    border-radius: 50px !important;
    border: 2px solid rgba(28, 43, 51, 0.1) !important;
    box-shadow: 0 4px 20px rgba(28, 43, 51, 0.08) !important;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.02em !important;
    font-weight: 600 !important;
    position: relative;
    overflow: hidden;
}

.learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(28, 43, 51, 0.05), transparent);
    transition: left 0.6s ease;
}

.learn-more-btn:hover::before {
    left: 100%;
}

.learn-more-btn:hover {
    transform: translateY(-3px) !important;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 30px rgba(28, 43, 51, 0.2) !important;
}

.learn-more-btn .btn-icon {
    width: 20px !important;
    height: 20px !important;
    transition: transform 0.3s ease;
    stroke: currentColor;
}

.learn-more-btn:hover .btn-icon {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .learn-more {
        padding: 80px 0;
    }

    .learn-more-content {
        padding: 0 1rem;
    }

    .learn-more-title {
        margin-bottom: 1rem;
    }

    .learn-more-text {
        margin-bottom: 2.5rem;
    }

    .learn-more-actions {
        margin-bottom: 3rem;
    }

    .learn-more-btn {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.95rem !important;
    }

    .circle-1 {
        width: 250px;
        height: 250px;
    }

    .circle-2 {
        width: 180px;
        height: 180px;
    }

    .circle-3 {
        width: 120px;
        height: 120px;
    }
}

/* Адаптивные стили для секции "О нас" */
@media (max-width: 768px) {
    #about .container > div[style*="grid-template-columns: 1fr 1fr"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    #about .container > div[style*="grid-template-columns: 1fr 1fr"] > div:first-child {
        order: 2;
    }
    
    #about .container > div[style*="grid-template-columns: 1fr 1fr"] > div:last-child {
        order: 1;
    }
    
    #about div[style*="grid-template-columns: repeat(2, 1fr)"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Адаптивные стили для блока об Инвентос */
    .inventos-section {
        margin-top: 4rem !important;
    }
    
    .inventos-header h3 {
        font-size: 1.8rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .inventos-header p {
        font-size: 1.1rem !important;
        padding: 0 1rem !important;
    }
    
    .inventos-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Таймлайн */
    .inventos-timeline {
        margin-bottom: 1.5rem !important;
    }
    
    .timeline-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.75rem !important;
        padding: 1.25rem !important;
        margin-bottom: 1rem !important;
    }
    
    .timeline-year {
        min-width: 70px !important;
        font-size: 1rem !important;
        padding: 6px 12px !important;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .timeline-content p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* Технологический стек */
    .tech-stack {
        padding: 1.5rem !important;
        border-radius: 12px !important;
    }
    
    .tech-stack h4 {
        font-size: 1.2rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .tech-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    
    .tech-item {
        padding: 0.875rem !important;
        border-radius: 6px !important;
        border-left-width: 2px !important;
    }
    
    .tech-item div:first-child {
        font-size: 0.95rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .tech-item div:last-child {
        font-size: 0.8rem !important;
    }
    
    /* Клиенты */
    .inventos-clients {
        padding: 2rem !important;
        border-radius: 16px !important;
        margin-bottom: 2rem !important;
    }
    
    .inventos-clients h4 {
        font-size: 1.3rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .clients-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        text-align: left !important;
    }
    
    .client-category div:first-child {
        font-size: 1rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    .client-category div:last-child {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    /* CTA блок */
    .inventos-cta > div {
        padding: 2.5rem 1.5rem !important;
        border-radius: 16px !important;
    }
    
    .inventos-cta h4 {
        font-size: 1.6rem !important;
        margin-bottom: 0.875rem !important;
    }
    
    .inventos-cta p {
        font-size: 1rem !important;
        margin-bottom: 1.75rem !important;
        padding: 0 0.5rem !important;
    }
    
    .inventos-link {
        padding: 14px 28px !important;
        font-size: 1rem !important;
        border-radius: 10px !important;
        gap: 10px !important;
    }
    
    .inventos-link svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .inventos-section {
        margin-top: 3rem !important;
    }
    
    .inventos-header {
        margin-bottom: 2rem !important;
    }
    
    .inventos-header h3 {
        font-size: 1.6rem !important;
    }
    
    .inventos-header p {
        font-size: 1rem !important;
    }
    
    .inventos-content {
        gap: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .timeline-item {
        padding: 1rem !important;
        border-radius: 10px !important;
    }
    
    .timeline-year {
        min-width: 60px !important;
        font-size: 0.9rem !important;
        padding: 5px 10px !important;
    }
    
    .timeline-content h4 {
        font-size: 1rem !important;
    }
    
    .timeline-content p {
        font-size: 0.85rem !important;
    }
    
    .tech-stack {
        padding: 1.25rem !important;
    }
    
    .tech-stack h4 {
        font-size: 1.1rem !important;
    }
    
    .tech-item {
        padding: 0.75rem !important;
    }
    
    .tech-item div:first-child {
        font-size: 0.9rem !important;
    }
    
    .tech-item div:last-child {
        font-size: 0.75rem !important;
    }
    
    .inventos-clients {
        padding: 1.5rem !important;
    }
    
    .inventos-clients h4 {
        font-size: 1.2rem !important;
    }
    
    .client-category div:first-child {
        font-size: 0.95rem !important;
    }
    
    .client-category div:last-child {
        font-size: 0.85rem !important;
    }
    
    .inventos-cta > div {
        padding: 2rem 1rem !important;
    }
    
    .inventos-cta h4 {
        font-size: 1.4rem !important;
    }
    
    .inventos-cta p {
        font-size: 0.95rem !important;
    }
    
    .inventos-link {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        gap: 8px !important;
    }
    
    .inventos-link svg {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Стили для кнопки стажировки */
.internship-btn:hover {
    background: var(--gray-100) !important;
    border-color: rgba(28, 43, 51, 0.3) !important;
    transform: translateY(-1px) !important;
}

.internship-btn svg {
    transition: transform 0.3s ease;
}

.internship-btn:hover svg {
    transform: translateX(2px);
}

/* Адаптивные стили для кнопки стажировки */
@media (max-width: 768px) {
    .internship-btn {
        font-size: 0.95rem !important;
        padding: 10px 20px !important;
    }
    
    .internship-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Секция видео с конференции */
.conference-video-section {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.conference-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(28, 43, 51, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(28, 43, 51, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.conference-video-content {
    position: relative;
    z-index: 1;
}

.conference-video-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.conference-video-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.conference-video-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--primary-color);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.conference-video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.video-container {
    position: relative;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.video-container:hover {
    transform: translateY(-4px);
}

/* Специальные стили для iframe видео с конференции */
.video-container div[style*="padding-top: 56.25%"] {
    padding-top: 0 !important;
    height: 500px !important;
    position: relative !important;
    overflow: hidden !important;
}

.video-container iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    transition: all 0.3s ease;
}

.video-container:hover iframe {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15) !important;
}

/* Точная настройка для webcaster плеера */
.conference-video-wrapper iframe[src*="webcaster.pro"] {
    transform: scale(1.02) !important;
    transform-origin: center center !important;
}

/* Контейнер с правильным соотношением сторон */
.video-container div[style*="border-radius: 16px"] {
    overflow: hidden !important;
    background: #f8f9fa !important;
    position: relative !important;
}

.video-container div[style*="border-radius: 16px"] iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    object-fit: contain !important;
}

/* Декоративные элементы */
.conference-video-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(28, 43, 51, 0.03) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.4;
    animation: float 6s infinite ease-in-out;
    pointer-events: none;
}

/* Стили для карусели видео */
.conference-video-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 80px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #f8f9fa;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide .video-container {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
    transition: none;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    object-fit: contain;
}

.video-info {
    padding: 2rem;
    text-align: center;
    background: var(--white);
}

.video-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.video-description {
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.7;
    line-height: 1.5;
    margin: 0;
}

/* Навигационные кнопки */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(28, 43, 51, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(28, 43, 51, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(28, 43, 51, 0.2);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: -80px;
}

.carousel-btn-next {
    right: -80px;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.carousel-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    transform: translateY(-50%);
    box-shadow: 0 4px 20px rgba(28, 43, 51, 0.1);
}

/* Индикаторы */
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 0;
    min-height: 40px;
    flex-wrap: nowrap;
}

.carousel-indicator {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(28, 43, 51, 0.3);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(28, 43, 51, 0.1);
}

.carousel-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.carousel-indicator.active::before {
    width: 100%;
    height: 100%;
}

.carousel-indicator.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(28, 43, 51, 0.2);
}

.carousel-indicator.active::before {
    background: white;
}

.carousel-indicator:hover {
    border-color: var(--primary-color);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(28, 43, 51, 0.2);
}

/* Анимация появления */
.conference-video-carousel {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

/* Адаптивные стили для карусели */
@media (max-width: 992px) {
    .conference-video-carousel {
        max-width: 100%;
        padding: 0 2rem;
    }
    
    .carousel-btn-prev {
        left: -60px;
    }
    
    .carousel-btn-next {
        right: -60px;
    }
    
    .video-wrapper {
        height: 450px;
    }
}

/* Исправление деформации кружочков под видео элементами */
.carousel-indicators {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
    padding: 1rem 0 !important;
    min-height: 40px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    /* Принудительно устанавливаем flex-направление */
    flex-direction: row !important;
}

.carousel-indicator {
    /* Фиксированные размеры для предотвращения деформации */
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    
    /* Принудительно круглая форма */
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    
    /* Стили оформления */
    border: 2px solid rgba(28, 43, 51, 0.3) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    /* Предотвращение сжатия и растяжения */
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: auto !important;
    
    /* Центрирование содержимого */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Дополнительные стили */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(28, 43, 51, 0.1) !important;
    
    /* Принудительная блочная модель */
    box-sizing: border-box !important;
}

.carousel-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    border-color: var(--primary-color) !important;
    background: var(--primary-color) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(28, 43, 51, 0.2) !important;
}

.carousel-indicator.active::before {
    width: 100%;
    height: 100%;
    background: white;
}

.carousel-indicator:hover {
    border-color: var(--primary-color) !important;
    transform: scale(1.15) !important;
    box-shadow: 0 4px 12px rgba(28, 43, 51, 0.2) !important;
}

/* Специальные стили для ноутбуков и десктопов */
@media (min-width: 769px) and (max-width: 1366px) {
    .carousel-indicators {
        gap: 1.2rem !important;
        padding: 1.2rem 0 !important;
        min-height: 50px !important;
    }
    
    .carousel-indicator {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        border: 3px solid rgba(28, 43, 51, 0.3) !important;
        box-shadow: 0 3px 10px rgba(28, 43, 51, 0.12) !important;
    }
    
    .carousel-indicator.active {
        transform: scale(1.15) !important;
        box-shadow: 0 5px 15px rgba(28, 43, 51, 0.25) !important;
    }
    
    .carousel-indicator:hover {
        transform: scale(1.2) !important;
        box-shadow: 0 5px 15px rgba(28, 43, 51, 0.25) !important;
    }
}

/* Дополнительные стили для больших экранов */
@media (min-width: 1367px) {
    .carousel-indicators {
        gap: 1.5rem !important;
        padding: 1.5rem 0 !important;
        min-height: 60px !important;
    }
    
    .carousel-indicator {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        border: 3px solid rgba(28, 43, 51, 0.3) !important;
        box-shadow: 0 4px 12px rgba(28, 43, 51, 0.15) !important;
    }
    
    .carousel-indicator.active {
        transform: scale(1.2) !important;
        box-shadow: 0 6px 18px rgba(28, 43, 51, 0.3) !important;
    }
    
    .carousel-indicator:hover {
        transform: scale(1.25) !important;
        box-shadow: 0 6px 18px rgba(28, 43, 51, 0.3) !important;
    }
}

@media (max-width: 768px) {
    .conference-video-carousel {
        padding: 0 1rem;
        position: relative;
    }
    
    .carousel-container {
        border-radius: 16px;
        position: relative;
    }
    
    .carousel-slide .video-container {
        border-radius: 16px;
    }
    
    .video-wrapper {
        height: 400px;
        position: relative;
        z-index: 1;
    }
    
    .video-wrapper iframe {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        z-index: 1 !important;
        pointer-events: auto !important;
    }
    
    .video-info {
        padding: 1.5rem;
    }
    
    .video-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .video-description {
        font-size: 0.95rem;
    }
    
    /* Скрываем кнопки навигации на мобильных */
    .carousel-btn {
        display: none !important;
    }
    
    .carousel-indicators {
        gap: 1rem;
        margin-top: 1.5rem;
        padding: 0.5rem;
        position: relative;
        z-index: 100;
    }
    
    .carousel-indicator {
        width: 16px;
        height: 16px;
        border: 3px solid rgba(28, 43, 51, 0.3);
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(28, 43, 51, 0.1);
        transition: all 0.3s ease;
        cursor: pointer;
        pointer-events: auto;
    }
    
    .carousel-indicator::before {
        background: var(--primary-color);
    }
    
    .carousel-indicator.active {
        border-color: var(--primary-color);
        background: var(--primary-color);
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(28, 43, 51, 0.2);
    }
    
    .carousel-indicator.active::before {
        width: 100%;
        height: 100%;
        background: white;
    }
    
    .carousel-indicator:hover {
        border-color: var(--primary-color);
        transform: scale(1.15);
        box-shadow: 0 4px 12px rgba(28, 43, 51, 0.2);
    }
}

@media (max-width: 480px) {
    .conference-video-carousel {
        padding: 0 0.5rem;
    }
    
    .carousel-container {
        border-radius: 12px;
    }
    
    .carousel-slide .video-container {
        border-radius: 12px;
    }
    
    .video-wrapper {
        height: 300px;
    }
    
    .video-info {
        padding: 1.25rem;
    }
    
    .video-title {
        font-size: 1.2rem;
    }
    
    .video-description {
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: 0 6px 20px rgba(28, 43, 51, 0.3);
        border: 2px solid rgba(28, 43, 51, 0.2);
        transition: all 0.3s ease;
    }
    
    .carousel-btn:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 8px 25px rgba(28, 43, 51, 0.4);
    }
    
    .carousel-btn-prev {
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .carousel-btn-next {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-indicators {
        gap: 0.75rem;
        margin-top: 1.25rem;
        padding: 1rem 0.5rem;
    }
    
    .carousel-indicator {
        width: 16px;
        height: 16px;
        border: 3px solid rgba(28, 43, 51, 0.4);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 3px 10px rgba(28, 43, 51, 0.15);
        transition: all 0.3s ease;
    }
    
    .carousel-indicator::before {
        background: var(--primary-color);
    }
    
    .carousel-indicator.active {
        border-color: var(--primary-color);
        background: var(--primary-color);
        transform: scale(1.15);
        box-shadow: 0 4px 15px rgba(28, 43, 51, 0.25);
    }
    
    .carousel-indicator.active::before {
        width: 100%;
        height: 100%;
        background: white;
    }
    
    .carousel-indicator:hover {
        border-color: var(--primary-color);
        transform: scale(1.2);
        box-shadow: 0 4px 15px rgba(28, 43, 51, 0.25);
    }
}

/* Адаптивные стили для секции видео */
@media (max-width: 992px) {
    .conference-video-section {
        padding: 6rem 0;
    }
    
    .conference-video-header {
        margin-bottom: 3rem;
    }
    
    .conference-video-wrapper {
        max-width: 100%;
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .conference-video-section {
        padding: 4rem 0;
    }
    
    .conference-video-header {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .conference-video-title {
        font-size: clamp(2rem, 4vw, 2.8rem);
        margin-bottom: 1rem;
    }
    
    .conference-video-description {
        font-size: 1.1rem;
    }
    
    .conference-video-wrapper {
        padding: 0 1rem;
    }
    
    .video-container div[style*="border-radius: 16px"] {
        border-radius: 12px !important;
    }
}

@media (max-width: 480px) {
    .conference-video-section {
        padding: 3rem 0;
    }
    
    .conference-video-header {
        margin-bottom: 2rem;
    }
    
    .conference-video-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    
    .conference-video-description {
        font-size: 1rem;
    }
    
    .video-container div[style*="border-radius: 16px"] {
        border-radius: 8px !important;
    }
}

/* Адаптивные стили для страниц продуктов (cameras, transcriber, subtitles) */
@media (max-width: 768px) {
    /* Hero секции на страницах продуктов */
    section[style*="min-height: 100vh"] {
        min-height: 80vh !important;
        padding: 10rem 0 3rem !important;
    }
    
    /* Статистические блоки в hero секциях */
    div[style*="display: grid"][style*="grid-template-columns: repeat(auto-fit, minmax(150px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 0 auto 2rem !important;
    }
    
    /* Статистические элементы */
    div[style*="text-align: center"] div[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.1 !important;
    }
    
    div[style*="text-align: center"] div[style*="font-size: 0.9rem"][style*="opacity: 0.7"] {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        padding: 0 0.5rem !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Заголовки h1 на страницах продуктов */
    h1[style*="font-size: clamp(3rem, 8vw, 5rem)"] {
        font-size: clamp(2.2rem, 6vw, 3.5rem) !important;
        margin-bottom: 1.2rem !important;
        line-height: 1.25 !important;
    }
    
    /* Описания под заголовками */
    p[style*="font-size: clamp(1.1rem, 2.5vw, 1.4rem)"] {
        font-size: clamp(1rem, 2vw, 1.2rem) !important;
        margin-bottom: 2.5rem !important;
        padding: 0 1rem !important;
    }
    
    /* Бейджи в hero секциях */
    div[style*="display: inline-flex"][style*="border-radius: 50px"][style*="padding: 0.75rem 1.5rem"] {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Кнопки "Узнать подробнее" */
    a[style*="border-radius: 50px"][style*="padding: 1rem 2rem"] {
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        margin-top: 1rem !important;
    }
    
    /* Основные секции на страницах продуктов */
    section[style*="padding: 8rem 0"] {
        padding: 4rem 0 !important;
    }
    
    /* Сетки возможностей */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    div[style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Карточки возможностей */
    div[style*="padding: 2.5rem"][style*="border-radius: 24px"] {
        padding: 2rem !important;
    }
    
    div[style*="padding: 3rem"][style*="border-radius: 24px"] {
        padding: 2rem !important;
    }
    
    /* Иконки в карточках */
    div[style*="width: 70px; height: 70px"] {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 1.5rem !important;
        font-size: 1.6rem !important;
    }
    
    div[style*="width: 80px; height: 80px"] {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 1.5rem !important;
        font-size: 1.8rem !important;
    }
    
    /* Заголовки карточек */
    h3[style*="font-size: 1.3rem"] {
        font-size: 1.2rem !important;
        margin-bottom: 0.875rem !important;
    }
    
    h3[style*="font-size: 1.5rem"] {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Описания в карточках */
    p[style*="font-size: 0.95rem"] {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.25rem !important;
    }
    
    /* Списки в карточках */
    div[style*="display: flex; flex-direction: column; gap: 0.5rem"] {
        gap: 0.4rem !important;
        font-size: 0.8rem !important;
    }
    
    div[style*="display: flex; flex-direction: column; gap: 0.75rem"] {
        gap: 0.6rem !important;
        font-size: 0.85rem !important;
    }
    
    div[style*="display: flex; flex-direction: column; gap: 1rem"] {
        gap: 0.8rem !important;
    }
    
    /* Большие блоки с градиентом */
    div[style*="background: linear-gradient(135deg, var(--primary-color)"][style*="padding: 4rem"] {
        padding: 2.5rem 1.5rem !important;
        border-radius: 24px !important;
    }
    
    /* Заголовки в больших блоках */
    h3[style*="font-size: 2rem"] {
        font-size: 1.6rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    /* Описания в больших блоках */
    p[style*="font-size: 1.2rem"][style*="max-width: 600px"] {
        font-size: 1.1rem !important;
        margin-bottom: 2.5rem !important;
        padding: 0 0.5rem !important;
    }
    
    /* Сетки в больших блоках */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        max-width: 100% !important;
    }
    
    /* Элементы в сетках больших блоков */
    div[style*="background: rgba(255,255,255,0.05)"][style*="padding: 1.5rem"] {
        padding: 1.25rem !important;
        border-radius: 12px !important;
    }
    
    /* Заголовки секций */
    h2[style*="font-size: clamp(2.5rem, 5vw, 3.5rem)"] {
        font-size: clamp(2rem, 4vw, 2.8rem) !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.25 !important;
    }
    
    /* Подзаголовки секций */
    p[style*="font-size: 1.2rem"][style*="max-width: 600px"][style*="opacity: 0.7"] {
        font-size: 1.1rem !important;
        margin-bottom: 3rem !important;
        padding: 0 1rem !important;
    }
    
    /* Отступы между секциями */
    div[style*="margin-bottom: 6rem"] {
        margin-bottom: 3rem !important;
    }
    
    div[style*="gap: 3rem"] {
        gap: 2rem !important;
    }
    
    div[style*="gap: 2rem"] {
        gap: 1.5rem !important;
    }
    
    /* CTA секции */
    div[style*="display: flex; gap: 1rem; justify-content: center"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.875rem !important;
    }
    
    /* Кнопки в CTA */
    a[style*="padding: 1rem 2rem"][style*="border-radius: 50px"] {
        padding: 0.875rem 1.75rem !important;
        font-size: 1rem !important;
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    /* Hero секции */
    section[style*="min-height: 100vh"] {
        min-height: 70vh !important;
        padding: 3rem 0 2rem !important;
    }
    
    /* Статистические блоки */
    div[style*="text-align: center"] div[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }
    
    div[style*="text-align: center"] div[style*="font-size: 0.9rem"][style*="opacity: 0.7"] {
        font-size: 0.75rem !important;
        padding: 0 0.25rem !important;
    }
    
    /* Заголовки */
    h1[style*="font-size: clamp(3rem, 8vw, 5rem)"] {
        font-size: clamp(2rem, 5vw, 3rem) !important;
    }
    
    h2[style*="font-size: clamp(2.5rem, 5vw, 3.5rem)"] {
        font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
    }
    
    /* Карточки */
    div[style*="padding: 2.5rem"][style*="border-radius: 24px"] {
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }
    
    div[style*="padding: 3rem"][style*="border-radius: 24px"] {
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }
    
    /* Большие блоки */
    div[style*="background: linear-gradient(135deg, var(--primary-color)"][style*="padding: 4rem"] {
        padding: 2rem 1rem !important;
        border-radius: 20px !important;
    }
    
    /* Иконки */
    div[style*="width: 70px; height: 70px"] {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.4rem !important;
    }
    
    div[style*="width: 80px; height: 80px"] {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.6rem !important;
    }
    
    /* Заголовки карточек */
    h3[style*="font-size: 1.3rem"] {
        font-size: 1.1rem !important;
    }
    
    h3[style*="font-size: 1.5rem"] {
        font-size: 1.2rem !important;
    }
    
    /* Описания */
    p[style*="font-size: 0.95rem"] {
        font-size: 0.85rem !important;
    }
    
    p[style*="font-size: 1.1rem"] {
        font-size: 1rem !important;
    }
    
    p[style*="font-size: 1.2rem"] {
        font-size: 1rem !important;
    }
}

/* Стили для единого блока контактов */
.unified-contact-block {
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(28, 43, 51, 0.08);
    box-shadow: 
        0 20px 60px rgba(28, 43, 51, 0.08),
        0 8px 24px rgba(28, 43, 51, 0.04);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.unified-contact-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #2d3b43, var(--primary-color));
    opacity: 0.9;
}

.unified-contact-block::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(28, 43, 51, 0.015) 0%, transparent 70%);
    pointer-events: none;
}

/* Контактная информация */
.contact-info-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.contact-email-block,
.contact-phone-block,
.contact-address-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(28, 43, 51, 0.02);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(28, 43, 51, 0.05);
}

.contact-email-block:hover,
.contact-phone-block:hover,
.contact-address-block:hover {
    background: rgba(28, 43, 51, 0.04);
    border-color: rgba(28, 43, 51, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(28, 43, 51, 0.06);
}

/* Современные иконки */
.contact-icon-modern {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d3b43 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contact-email-block:hover .contact-icon-modern::before,
.contact-phone-block:hover .contact-icon-modern::before,
.contact-address-block:hover .contact-icon-modern::before {
    left: 100%;
}

.contact-email-block:hover .contact-icon-modern,
.contact-phone-block:hover .contact-icon-modern,
.contact-address-block:hover .contact-icon-modern {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 6px 16px rgba(28, 43, 51, 0.2);
}

.contact-icon-modern svg {
    color: white;
    z-index: 1;
    position: relative;
}

/* Контент блоков */
.contact-email-content,
.contact-phone-content,
.contact-address-content {
    flex: 1;
}

.contact-email-link,
.contact-phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.contact-email-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.contact-email-link:hover::after {
    width: 100%;
}

.contact-email-link:hover {
    color: #2d3b43;
    transform: translateX(4px);
}

.contact-address-text {
    font-size: 1.1rem;
    color: var(--primary-color);
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Контейнер карты */
.contact-map-container {
    position: relative;
    z-index: 2;
}

.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(28, 43, 51, 0.1);
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(28, 43, 51, 0.06);
}

.map-wrapper:hover {
    border-color: rgba(28, 43, 51, 0.2);
    box-shadow: 0 16px 40px rgba(28, 43, 51, 0.12);
    transform: translateY(-4px);
}

.map-wrapper iframe {
    width: 100%;
    height: 300px;
    border: none;
    transition: all 0.3s ease;
    filter: grayscale(0.2);
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.map-wrapper:hover iframe {
    filter: grayscale(0);
}

/* Оверлей карты с пином */
.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.map-pin {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(28, 43, 51, 0.3);
    animation: mapPinPulse 2s infinite ease-in-out;
    position: relative;
}

.map-pin::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50% 50% 50% 0;
    opacity: 0.3;
    animation: mapPinRipple 2s infinite ease-out;
}

.map-pin svg {
    color: white;
    transform: rotate(45deg);
    z-index: 1;
    position: relative;
}

@keyframes mapPinPulse {
    0%, 100% {
        transform: rotate(-45deg) scale(1);
    }
    50% {
        transform: rotate(-45deg) scale(1.1);
    }
}

@keyframes mapPinRipple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Адаптивные стили */
@media (max-width: 992px) {
    .unified-contact-block {
        margin-top: 3rem;
        padding: 2.5rem;
    }
    
    .contact-info-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .map-wrapper iframe {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .unified-contact-block {
        margin-top: 2.5rem;
        padding: 2rem;
        border-radius: 20px;
    }
    
    .contact-info-wrapper {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-email-block,
    .contact-address-block {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .contact-icon-modern {
        width: 48px;
        height: 48px;
    }
    
    .contact-icon-modern svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-email-link {
        font-size: 1.2rem;
    }
    
    .contact-address-text {
        font-size: 1rem;
    }
    
    .map-wrapper iframe {
        height: 250px;
    }
    
    .map-pin {
        width: 40px;
        height: 40px;
    }
    
    .map-pin svg {
        width: 20px;
        height: 20px;
    }
}

/* Форма обратной связи */
.contact-form-container {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(28, 43, 51, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: var(--primary-color);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(28, 43, 51, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(28, 43, 51, 0.5);
    font-weight: 400;
}

.contact-form-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    align-self: flex-start;
}

.contact-form-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contact-form-btn:hover::before {
    left: 100%;
}

.contact-form-btn:hover {
    background: #2d3b43;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(28, 43, 51, 0.3);
}

.contact-form-btn:active {
    transform: translateY(0);
}

.contact-form-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-form-btn .btn-text {
    position: relative;
    z-index: 1;
}

.contact-form-btn .btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.contact-form-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Сообщения формы */
.form-message {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 2px solid rgba(244, 67, 54, 0.2);
}

/* Адаптивные стили для формы */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        min-width: 0; /* Предотвращает переполнение */
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Специальные стили для поля телефона */
    .form-group input[type="tel"] {
        font-size: 16px; /* Предотвращает зум на iOS */
        -webkit-appearance: none;
        appearance: none;
    }
    
    .contact-form-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-container {
        margin-bottom: 2rem;
    }
    
    /* Улучшенная адаптация контактной информации */
    .contact-info-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-email-block,
    .contact-phone-block {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-email-link,
    .contact-phone-link {
        font-size: 1.1rem;
        word-break: break-all; /* Разрешает перенос длинных номеров */
        hyphens: auto;
    }
}

@media (max-width: 480px) {
    .unified-contact-block {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .contact-email-block,
    .contact-phone-block,
    .contact-address-block {
        padding: 1rem;
    }
    
    .contact-email-link,
    .contact-phone-link {
        font-size: 1.1rem;
    }
    
    .contact-address-text {
        font-size: 0.95rem;
    }
    
    .map-wrapper iframe {
        height: 220px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .contact-form-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}
