* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Основные цвета */
  --vd-orange: #FF6600;
  --vd-orange-light: #FF8533;
  --vd: #004E96;
  --vd-dark: #003366;
  --vd-blue: #2962FF;
  --vd-light-blue: #E6F0FA;
  --vd-light-gray: #F8F9FA;
  --text-dark: #1F2937;
  --metallic: #6B7280;
  --input-bg: #F8F8F8;
  --border-color: #E5E7EB;
  --error-color: #DC2626;
  --success-color: #10B981;
  --bg-gradient-start: #f8f9fa;
  --hero-overlay: rgba(0, 78, 150, 0.05);
  --error-bg: #FEF2F2;
  --vd-orange-rgb: 255, 102, 0;

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
  --duration-slow: 0.5s;
  --duration-slower: 0.7s;

  /* Базовый размер шрифта для пропорционального масштабирования */
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: white;
  color: var(--text-dark);
  overflow-x: hidden;
  font-size: clamp(0.875rem, 1vw, 1rem);
}

/* Блокировка скролла при открытом модальном окне */
body.no-scroll {
  overflow: hidden;
}

/* Модальные окна новостей и деталей также блокируют скролл */
.modal-overlay.active ~ body,
.details-modal-overlay.active ~ body,
body:has(.modal-overlay.active),
body:has(.details-modal-overlay.active) {
  overflow: hidden;
}

/* ==================== НАВИГАЦИЯ ==================== */
/* Предотвращение мигания контента до загрузки компонентов */
body:not(.app-ready) > main,
body:not(.app-ready) > section,
body:not(.app-ready) > nav:not(#navbar),
body:not(.app-ready) > footer:not(.footer) {
  visibility: hidden;
  opacity: 0;
}

body.app-ready > main,
body.app-ready > section,
body.app-ready > nav:not(#navbar),
body.app-ready > footer:not(.footer) {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

/* ==================== ЛОАДЕР С САМОЛЁТИКОМ ==================== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0033A0 0%, #002580 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.orbit-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
  pointer-events: none;
}

/* Оборачивающий элемент для вращения */
.plane-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: rotatePlane 2s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* Самолётик */
.plane-icon {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.plane-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Анимация вращения */
@keyframes rotatePlane {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loader-text {
  margin-top: 24px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  opacity: 0.9;
}

@media (max-width: 550px) {
  .orbit-container {
    width: 60px;
    height: 60px;
  }
  .plane-icon {
    width: 18px;
    height: 18px;
    top: -8px;
  }
  .loader-text {
    font-size: 0.85rem;
    margin-top: 18px;
  }

  .modal-overlay {
    overflow: auto;
    align-items: flex-start;
    padding: 1rem 0;
  }
  
  .modal-container {
    margin-top: 1rem;
    max-width: calc(100% - 2rem);
    max-height: calc(95vh - 2rem);
    overflow-y: auto;
  }
  
  .modal-close {
    top: 0.25rem;
    right: 0.25rem;
    width: 28px;
    height: 28px;
    background: var(--vd-light-gray);
    box-shadow: none;
  }

  .modal-close svg {
    width: 14px;
    height: 14px;
  }

  .modal-header {
    padding: 1rem 1rem 0.5rem;
    padding-right: 38px;
  }
  
  .modal-title {
    font-size: 1.1rem;
  }
  
  .modal-subtitle {
    font-size: 0.8rem;
  }
  
  .modal-body {
    padding: 1rem;
    max-height: none;
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* Предотвращает зум на iOS */
    padding: 0.7rem 0.9rem;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 5%;
  background: var(--vd);
  transition: background-color var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth),
              padding var(--duration-normal) var(--ease-smooth);
}

.navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-image {
  max-width: clamp(120px, 15vw, 180px);
  max-height: clamp(40px, 8vh, 60px);
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
  justify-content: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  transition: color var(--duration-normal) var(--ease-smooth);
  position: relative;
}

.nav-links a:hover {
  color: var(--vd-light-blue);
}

.nav-links a.active {
  color: var(--vd-light-blue);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vd-light-blue);
  border-radius: 2px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-smooth);
}

/* ==================== МОБИЛЬНОЕ МЕНЮ ==================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 80%;
  height: 100vh;
  background: linear-gradient(135deg, var(--vd) 0%, var(--vd-dark) 100%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 80px 2rem 2rem;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-smooth);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--duration-fast) var(--ease-smooth);
  display: block;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    transform: translateX(8px);
    border-bottom-color: transparent;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  border: none;
}

.mobile-menu-close:hover {
  background: var(--vd);
  transform: rotate(90deg);
}

.mobile-menu-close svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
  backdrop-filter: blur(3px);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==================== ГЕРОЙ ==================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 0 5%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.65) 0%, rgba(248,249,250,0.92) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,78,150,0.03) 0%, transparent 70%);
  z-index: 0;
}

/* Текстовый блок */
.hero-text {
  max-width: 800px;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--vd);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-text h1 span {
  color: var(--vd);
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--metallic);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2rem, 4vh, 3rem);
  padding-top: clamp(1rem, 2vh, 2rem);
  border-top: 1px solid rgba(0, 78, 150, 0.15);
  flex-wrap: wrap;
}

.stat-number {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--vd);
  display: block;
}

.stat-label {
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  color: var(--metallic);
}

@media (max-width: 1048px) {
  .hero {
    text-align: left;
  }
  .hero-text {
    max-width: 100%;
    margin: 0;
  }
  .hero-text p {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-buttons,
  .hero-stats {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 50vh;
  }
}

/* ==================== КНОПКИ ==================== */
.btn-primary {
  background: linear-gradient(135deg, var(--vd-orange), var(--vd-orange-light));
  color: white;
  padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
  background: linear-gradient(135deg, var(--vd-orange-light), var(--vd-orange));
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  fill: white;
  display: block;
  transition: transform var(--duration-normal) var(--ease-elastic);
}

.btn-primary:hover svg {
  transform: translateX(5px);
}

.btn-secondary {
  background: transparent;
  color: var(--vd);
  padding: clamp(0.7rem, 1.3vw, 0.9rem) clamp(1.3rem, 2.5vw, 1.8rem);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  border: 2px solid var(--vd);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-secondary:hover {
  border-color: var(--vd);
  color: var(--vd-dark);
  transform: translateY(-2px);
}

.btn-secondary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==================== УСЛУГИ ==================== */
.services {
  padding: clamp(40px, 8vh, 80px) 5%;
  background: white;
  scroll-margin-top: 80px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.section-tag {
  display: inline-block;
  background: var(--vd-light-blue);
  color: var(--vd);
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.section-header h2 {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--vd);
  margin-bottom: 0.85rem;
}

.section-header p {
  color: var(--metallic);
  line-height: 1.55;
  font-size: clamp(0.825rem, 1.1vw, 0.95rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: var(--vd-light-gray);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
              box-shadow 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  right: 100%;
  height: 3px;
  background: var(--vd);
  transition: left 0.5s ease, right 0.5s ease;
}

.service-card:hover::before {
  left: 0;
  right: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--vd-light-blue);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover .service-icon {
  background: var(--vd);
  transform: scale(1.05) rotate(5deg);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--vd);
  transition: fill 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon svg {
  fill: white;
}

.service-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--vd);
}

.service-card p {
  color: var(--metallic);
  line-height: 1.6;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  margin-bottom: 1.5rem;
}

/* ==================== О НАС PREVIEW ==================== */
.about-preview {
  padding: clamp(40px, 8vh, 80px) 5%;
  background: var(--vd-light-gray);
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform var(--duration-slow) var(--ease-smooth);
}

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

.about-text h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--vd);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--metallic);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
}

/* ==================== НОВОСТИ PREVIEW ==================== */
.news-preview {
  padding: clamp(40px, 8vh, 80px) 5%;
  background: white;
}

.preview-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.news-card-preview {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform var(--duration-normal) var(--ease-elastic),
              box-shadow var(--duration-normal) var(--ease-smooth);
}

.news-card-preview:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.news-card-preview-image {
  height: clamp(180px, 25vw, 220px);
  overflow: hidden;
}

.news-card-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-smooth);
}

.news-card-preview:hover .news-card-preview-image img {
  transform: scale(1.08);
}

.news-card-preview-content {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.news-card-preview-category {
  display: inline-block;
  background: var(--vd-light-blue);
  color: var(--vd);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.news-card-preview h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 0.75rem;
  color: var(--vd);
  line-height: 1.4;
}

.news-card-preview p {
  color: var(--metallic);
  line-height: 1.6;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  margin-bottom: 1rem;
}

.news-card-preview-link {
  color: var(--vd);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--duration-normal) var(--ease-elastic);
}

.news-card-preview-link:hover {
  gap: 1rem;
  color: var(--vd);
}

/* ==================== ПАРТНЕРЫ ==================== */
.partners {
  padding: clamp(40px, 8vh, 80px) 5%;
  background: linear-gradient(135deg, var(--vd-light-gray) 0%, white 100%);
  overflow: hidden;
}

.partners-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.partners-header h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--vd);
  margin-bottom: 1rem;
}

.partners-header p {
  color: var(--metallic);
  font-size: clamp(0.875rem, 1.2vw, 1rem);
}

.partners-slider {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  padding: 2rem 0;
}

.partners-track {
  display: flex;
  gap: 2rem;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50%)); }
}

.partner-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-smooth);
  min-width: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.partner-card:hover {
  border-color: var(--vd);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-logo svg {
  max-width: 140px;
  max-height: 60px;
}

.partner-name {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.75rem;
  text-align: center;
}

/* ==================== КОНТАКТЫ ==================== */
.contact {
  padding: clamp(40px, 8vh, 80px) 5%;
  background: white;
}

.contact-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--vd);
}

.contact-info > p {
  color: var(--metallic);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--vd-light-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--duration-normal) var(--ease-smooth);
}

.contact-item:hover .contact-icon {
  background: var(--vd);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--vd);
  transition: fill var(--duration-normal) var(--ease-smooth);
}

.contact-item:hover .contact-icon svg {
  fill: white;
}

.contact-item-text h4 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--vd);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.contact-item-text p,
.contact-item-text a {
  color: var(--metallic);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.contact-item-text a:hover {
  color: var(--vd);
}

.map-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.map-section h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--vd);
}

.commercial-offer-container {
  background: white;
}

.commercial-offer-container h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--vd);
}

/* ==================== ФУТЕР ==================== */
.footer {
  background: var(--vd);
  padding: 50px;
}

.footer-legal {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  transition: color var(--duration-normal) var(--ease-smooth);
}

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

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.75rem, 1vw, 0.85rem);
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: var(--vd-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
  border: none;
  z-index: 900;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--vd-orange);
  transform: translateY(-5px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* ==================== ПЛАВАЮЩАЯ КНОПКА CTA ==================== */
.floating-cta-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--vd-orange), var(--vd-orange-light));
  color: white;
  padding: clamp(0.8rem, 1.5vw, 1rem) clamp(1.2rem, 2vw, 1.5rem);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.floating-cta-btn.visible {
  opacity: 1;
  visibility: visible;
}

.floating-cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.5);
}

.floating-cta-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* ==================== FADE IN АНИМАЦИЯ ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== МОДАЛЬНЫЕ ОКНА ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 78, 150, 0.95);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
  backdrop-filter: blur(5px);
  overflow: visible;
}

.modal-overlay.active .modal-close {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.2s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: white;
  border-radius: 24px;
  width: 100%;
  max-width: 650px;
  max-height: none;
  overflow: visible;
  position: relative;
  margin-top: 30px;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--duration-slow) var(--ease-bounce);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem 0.5rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-right: 60px;
}

.modal-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--vd);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  max-width: 100%;
}

.modal-subtitle {
  color: var(--metallic);
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 45px;
  height: 45px;
  background: var(--vd);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--duration-fast) var(--ease-smooth);
}

.modal-close:hover {
  background: var(--vd-dark);
}

.modal-close svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.modal-body {
  padding: 1.5rem;
  max-height: calc(90vh - 100px);
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.modal-body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* ==================== ФОРМЫ ==================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--vd);
  margin-bottom: 0.5rem;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
}

.form-label .required {
  color: var(--error-color);
  margin-left: 3px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--vd-light-gray);
  font-family: inherit;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: var(--text-dark);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--vd);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 78, 150, 0.15);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error-color);
  background: var(--error-bg);
}

.form-textarea {
  min-height: 60px;
  height: 60px;
  resize: none;
  overflow-y: hidden;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-file {
  position: relative;
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  background: var(--vd-light-gray);
  transition: all var(--duration-normal) var(--ease-smooth);
  cursor: pointer;
  min-height: 120px;
}

.form-file.has-file {
  border-style: solid;
  border-color: var(--success-color);
  background: rgba(16, 185, 129, 0.05);
}

.form-file input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.form-file-name svg:hover {
  fill: #c62828;
}

.form-file-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.5rem;
  background: var(--vd);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-normal) var(--ease-elastic);
}

.form-file-icon svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.form-file-text {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}

.form-file-hint {
  font-size: 0.7rem;
  color: var(--metallic);
}

.form-file-name {
  display: none;
  margin-top: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: white;
  border-radius: 8px;
  font-size: 0.8rem;
  align-items: center;
  justify-content: space-between;
}

.form-file-name.show {
  display: flex;
}

.form-file-name svg {
  width: 16px;
  height: 16px;
  fill: var(--error-color);
  cursor: pointer;
}

/* Список файлов для множественной загрузки */
.form-file-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 30;
}

.form-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.8rem;
  background: white;
  border-radius: 8px;
  font-size: 0.85rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 30;
}

.form-file-item-name {
  flex: 1;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 0.5rem;
}

.form-file-item-size {
  color: var(--metallic);
  font-size: 0.75rem;
  margin-right: 0.5rem;
}

.form-file-item-remove {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background var(--duration-normal) var(--ease-smooth);
  position: relative;
  z-index: 20;
}

.form-file-item-remove:hover {
  background: rgba(239, 68, 68, 0.1);
}

.form-file-item-remove svg {
  width: 18px;
  height: 18px;
  fill: var(--error-color);
}

/* Всплывающее предупреждение над зоной загрузки файлов */
.upload-warning-container {
  position: relative;
  margin-bottom: 10px;
  z-index: 10;
}

.upload-warning {
  background: rgba(239, 68, 68, 0.95);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  animation: slideDown 0.3s ease-out;
  display: block;
  width: 100%;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-agreement {
  background: var(--vd-light-gray);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.form-agreement-text {
  font-size: 0.8rem;
  color: var(--metallic);
  line-height: 1.5;
}

.form-agreement-text a {
  color: var(--vd);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  background: var(--vd);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: none;
  font-family: inherit;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all var(--duration-normal) var(--ease-elastic);
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 78, 150, 0.3);
  background: var(--vd-dark);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-submit svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.form-submit .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.error-message {
  color: var(--error-color);
  font-size: 0.75rem;
  margin-top: 0.5rem;
  display: none;
}

.error-message.show {
  display: block;
}

.success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  display: none;
}

.success-message.show {
  display: block;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.success-title {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--vd);
  margin-bottom: 0.5rem;
}

.success-text {
  color: var(--metallic);
  line-height: 1.5;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.rate-limit-warning {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid var(--error-color);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: none;
}

.rate-limit-warning.show {
  display: block;
}

.rate-limit-warning p {
  color: var(--error-color);
  font-size: 0.9rem;
}

/* Предупреждение о лимитах файлов */
.form-file-limit-warning {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid var(--error-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  display: none;
}

.form-file-limit-warning p {
  color: var(--error-color);
  font-size: 0.85rem;
  margin: 0;
}

/* ==================== МОДАЛЬНЫЕ ОКНА (ОБЩИЕ СТИЛИ) ==================== */

/* ==================== БАЗОВЫЕ СТИЛИ МОДАЛЬНЫХ ОКОН ==================== */
.modal-overlay,
.details-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 78, 150, 0.95);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.active,
.details-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Контейнер модального окна */
.modal-container,
.details-modal-container {
  background: white;
  border-radius: 24px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-container::-webkit-scrollbar,
.details-modal-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.modal-overlay.active .modal-container,
.details-modal-overlay.active .details-modal-container {
  transform: scale(1);
}

/* Кнопка закрытия */
.modal-close,
.details-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 45px;
  height: 45px;
  background: var(--vd);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--duration-fast) var(--ease-smooth);
}

.modal-close:hover,
.details-modal-close:hover {
  background: var(--vd-dark);
}

.modal-close svg,
.details-modal-close svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Тело модального окна */
.modal-body,
.details-modal-body {
  padding: clamp(1rem, 3vw, 2rem);
}

/* Элементы контента */
.modal-category {
  display: inline-block;
  background: var(--vd-light-blue);
  color: var(--vd);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.modal-date {
  color: var(--metallic);
  margin-bottom: 1rem;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
}

.modal-title,
.details-modal-title {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: var(--vd);
}

.modal-content {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.modal-content p {
  margin-bottom: 1.5rem;
}

.modal-list,
.details-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-list li,
.details-modal-list li {
  padding: 0.75rem 0;
  color: var(--metallic);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 1.75rem;
}

.modal-list li::before,
.details-modal-list li::before {
  content: '✓';
  color: var(--vd);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.modal-image {
  width: 100%;
  height: clamp(200px, 30vh, 300px);
  object-fit: cover;
  display: block;
}

/* Специфичные стили для details-modal (узкий контейнер) */
.details-modal-overlay {
  z-index: 3500;
}

.details-modal-container {
  max-width: 600px;
  max-height: 80vh;
}

.details-modal-body {
  padding: clamp(1.5rem, 4vw, 2rem);
}

.details-modal-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

/* ==================== СТРАНИЦА УСЛУГ ==================== */
.page-header {
  background: var(--vd-light-blue);
  padding: 120px 5% 60px;
  text-align: center;
  color: #004E96;
}

.page-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

.services-full .services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.process-section {
  padding: clamp(40px, 8vh, 80px) 5%;
  background: var(--vd-light-gray);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--vd);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  transition: transform var(--duration-normal) var(--ease-elastic);
}

.step:hover .step-number {
  transform: scale(1.1);
  background: var(--vd-dark);
}

.step h3 {
  color: var(--vd);
  margin-bottom: 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.step p {
  color: var(--metallic);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
}

.contact-cta {
  padding: clamp(40px, 8vh, 80px) 5%;
  background: var(--vd-light-blue);
  text-align: center;
  color: #004E96;
  position: relative;
  overflow: hidden;
}

.contact-cta h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.contact-cta p {
  margin-bottom: 2rem;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  position: relative;
  z-index: 1;
}

/* ==================== СТРАНИЦА ПРОЕКТОВ ==================== */
.projects-full {
  padding: clamp(40px, 8vh, 80px) 5%;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all var(--duration-normal) var(--ease-elastic);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-image {
  height: clamp(200px, 25vw, 250px);
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-smooth);
}

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

.project-content {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.project-category {
  display: inline-block;
  background: var(--vd-light-blue);
  color: var(--vd);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-content h3 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--vd);
  margin-bottom: 0.75rem;
}

.project-content p {
  color: var(--metallic);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
}

/* ==================== СТРАНИЦА НОВОСТЕЙ ==================== */
.news-full {
  padding: clamp(40px, 8vh, 80px) 5%;
}

.news-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.news-tab {
  padding: 0.75rem 2rem;
  background: var(--vd-light-gray);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-family: inherit;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.news-tab:hover {
  border-color: var(--vd);
  color: var(--vd);
  transform: translateY(-2px);
}

.news-tab.active {
  background: var(--vd);
  border-color: transparent;
  color: white;
}

.news-tab-content {
  display: none;
}

.news-tab-content.active {
  display: block;
}

.year-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  margin: 2rem 0;
}

.year-divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--vd), transparent);
}

.year-divider-content {
  text-align: center;
  flex-shrink: 0;
}

.year-divider-year {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--vd);
  display: block;
  line-height: 1;
}

.year-divider-label {
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  color: var(--metallic);
  font-weight: 500;
}

.news-grid {
  max-width: 1400px;
  margin: 0 auto;
}

.news-card {
  background: white;
  display: grid;
  grid-template-columns: 35% 1fr;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all var(--duration-normal) var(--ease-smooth);
  opacity: 0;
  transform: translateX(-30px);
}

.news-card.loaded {
  opacity: 1;
  transform: translateX(0);
}

.news-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.news-card-image {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: var(--vd-light-gray);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-smooth);
  opacity: 0;
}

.news-card-image img.loaded {
  opacity: 1;
}

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

.news-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--vd-light-blue);
  color: var(--vd);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  font-weight: 600;
  z-index: 10;
}

.news-card-content {
  padding: clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  background: white;
}

.news-card-date {
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  color: var(--vd);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.news-card-date svg {
  width: 16px;
  height: 16px;
  fill: var(--vd);
}

.news-card-title {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--vd);
}

.news-card-excerpt {
  color: var(--metallic);
  line-height: 1.6;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  margin-bottom: 1rem;
}

.news-card-link {
  color: var(--vd);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--duration-normal) var(--ease-elastic);
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-top: auto;
  width: fit-content;
}

.news-card-link:hover {
  gap: 1rem;
  color: var(--vd-dark);
}

.news-card-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.news-card.hidden-news {
  display: none;
}

.news-accordion-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
}

.news-accordion-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  background: var(--vd);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 78, 150, 0.3);
}

.news-accordion-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 78, 150, 0.4);
  background: var(--vd-dark);
}

.news-accordion-btn .accordion-icon {
  width: 20px;
  height: 20px;
  fill: white;
  transition: transform 0.3s ease;
}

.news-accordion-btn.expanded .accordion-icon {
  transform: rotate(180deg);
}

.no-news {
  text-align: center;
  padding: 3rem;
  color: var(--metallic);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  z-index: 1;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==================== СТРАНИЦА О НАС ==================== */
.about-full {
  padding: clamp(40px, 8vh, 80px) 5%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-stats {
  background: var(--vd-light-gray);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.about-stats h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--vd);
  margin-bottom: 1.5rem;
}

.about-stats .stat-item {
  margin-bottom: 1.5rem;
}

.about-stats .stat-number {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--vd);
  display: block;
}

.about-stats .stat-label {
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  color: var(--metallic);
}

.certificate-section {
  padding: clamp(40px, 8vh, 80px) 5%;
  background: var(--vd-light-gray);
}

.certificate-widgets {
  max-width: 900px;
  margin: 0 auto;
}

.certificate-widget {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.certificate-widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 78, 150, 0.15);
  border-color: var(--vd);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  cursor: pointer;
  background: white;
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.widget-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 78, 150, 0.05), transparent);
  transition: left 0.5s ease;
}

.widget-header:hover::before {
  left: 100%;
}

.widget-header:hover {
  background: var(--vd-light-gray);
}

.widget-title {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 600;
  color: var(--vd);
  position: relative;
  z-index: 1;
}

.widget-icon {
  width: 24px;
  height: 24px;
  fill: var(--vd);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.certificate-widget.active .widget-icon {
  transform: rotate(180deg);
}

.widget-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.certificate-widget.active .widget-content {
  max-height: 500px;
}

.widget-content ul {
  list-style: none;
  padding: 1rem 1.5rem;
  margin: 0;
  border-top: 1px solid var(--border-color);
}

.widget-content li {
  padding: 0.6rem 0;
  color: var(--metallic);
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  position: relative;
  padding-left: 1.5rem;
  opacity: 0;
  transform: translateX(-10px);
  animation: slideIn 0.3s ease forwards;
}

.widget-content li:nth-child(1) { animation-delay: 0.05s; }
.widget-content li:nth-child(2) { animation-delay: 0.1s; }
.widget-content li:nth-child(3) { animation-delay: 0.15s; }
.widget-content li:nth-child(4) { animation-delay: 0.2s; }
.widget-content li:nth-child(5) { animation-delay: 0.25s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.features-section {
  padding: clamp(40px, 8vh, 80px) 5%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-elastic);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--vd-light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: background var(--duration-normal) var(--ease-smooth);
}

.feature-card:hover .feature-icon {
  background: var(--vd);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--vd);
  transition: fill var(--duration-normal) var(--ease-smooth);
}

.feature-card:hover .feature-icon svg {
  fill: white;
}

.feature-card h3 {
  color: var(--vd);
  margin-bottom: 0.85rem;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.feature-card p {
  color: var(--metallic);
  line-height: 1.55;
  font-size: clamp(0.8rem, 1.1vw, 0.9rem);
}

/* ==================== МЕДИА-ЗАПРОСЫ ==================== */
@media (max-width: 1096px) {
  .about-grid,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    display: flex;
    flex-direction: column-reverse;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card-image {
    min-height: 240px;
  }
}

@media (max-width: 1048px) {
  :root {
    font-size: 15px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-content {
    left: 0;
    text-align: left;
  }

  .hero-text p {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .preview-news-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .news-tabs {
    flex-direction: column;
    align-items: center;
  }

  .news-tab {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .year-divider {
    flex-direction: column;
    gap: 0.5rem;
  }

  .year-divider-line {
    width: 100%;
  }

  .floating-cta-btn {
    bottom: 5rem;
    right: 1rem;
    padding: 0.8rem 1.2rem;
  }

  .scroll-to-top {
    bottom: 5rem;
    left: 1rem;
  }

  .floating-cta-btn span {
    display: none;
  }

  .floating-cta-btn svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-content {
    width: 95%;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

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

  .footer-brand {
    display: none;
  }

  .footer-legal ul {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .modal-container {
    max-height: 95vh;
  }

  .modal-header,
  .modal-body {
    padding: 1rem;
  }

  .details-modal-body {
    padding: 1.5rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 13px;
  }

  .hero {
    min-height: 50vh;
  }

  .page-header {
    padding: 100px 5% 40px;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .contact-cta h2 {
    font-size: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .project-content {
    padding: 1.25rem;
  }

  .project-content h3 {
    font-size: 1.1rem;
  }

  .news-card-content {
    padding: 1rem;
  }

  .news-card-title {
    font-size: 1rem;
  }
}
/* ==================== КЛАССЫ ДЛЯ УСТРАНЕНИЯ ИНЛАЙНОВ ==================== */
.service-card-inline { background: white; border-radius: 20px; padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.service-icon-inline { width: 70px; height: 70px; background: linear-gradient(135deg, var(--vd), var(--vd-light-blue)); border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.btn-primary-inline { background: linear-gradient(135deg, var(--vd), var(--vd-light-blue)); box-shadow: 0 10px 30px rgba(0, 51, 160, 0.4); }
.btn-primary-inline:hover { background: linear-gradient(135deg, var(--vd), var(--vd-light-blue)); box-shadow: 0 12px 35px rgba(0, 51, 160, 0.5); transform: translateY(-3px); }
.btn-secondary-inline { margin-top: 1rem; display: inline-block; }
.about-preview-inline { padding: 50px 5%; background: var(--vd-light-gray); }
.about-content-inline { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-title-inline { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--vd); margin-bottom: 1.5rem; line-height: 1.3; }
.about-text p { color: var(--metallic); line-height: 1.7; margin-bottom: 1.25rem; font-size: clamp(0.95rem, 1.1vw, 1.05rem); }
.about-image-placeholder { background: linear-gradient(135deg, var(--vd-light-blue) 0%, #f0f4f8 100%); border-radius: 20px; padding: 3rem 2rem; text-align: center; box-shadow: 0 10px 30px rgba(0, 78, 150, 0.08); border: 2px dashed rgba(0, 78, 150, 0.15); }
.placeholder-icon { width: 80px; height: 80px; margin: 0 auto 1rem; background: var(--vd); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.placeholder-icon svg { width: 40px; height: 40px; fill: white; }
.placeholder-text { color: var(--vd); font-weight: 600; font-size: 1rem; display: block; }
.news-preview-inline { padding: 50px 5%; background: white; }
.news-grid-inline { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; }
.text-center-mt2 { text-align: center; margin-top: 2rem; }
.news-card-preview-inline { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s ease; cursor: pointer; }
.news-img-container { height: 200px; overflow: hidden; }
.news-img-cover { width: 100%; height: 100%; object-fit: cover; }
.news-content-padding { padding: 1.5rem; }
.news-category-badge { display: inline-block; background: linear-gradient(135deg, var(--vd), var(--vd-light-blue)); color: white; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.7rem; margin-bottom: 0.75rem; }
.news-title-h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--vd); }
.news-excerpt-p { color: var(--metallic); line-height: 1.5; font-size: 0.9rem; }
.news-link-btn { background: none; border: none; color: var(--vd); text-decoration: none; font-weight: 600; margin-top: 1rem; display: inline-block; cursor: pointer; padding: 0; }
.map-container-inline { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); cursor: pointer; }
.iframe-borderless { border: 0; display: block; }
.flex-gap10 { display: flex; gap: 10px; }
.flex-1 { flex: 1; }
.width-100px { width: 100px; }
.form-file-limit-warning-hidden { display: none; }
.display-none { display: none; }

/* ==================== УТИЛИТАРНЫЕ КЛАССЫ ДЛЯ СТРАНИЦ ==================== */
.page-header-bg { background: var(--vd-light-blue); padding: 120px 5% 60px; text-align: center; color: #004E96; }
.page-header-title { font-size: 2.5rem; margin-bottom: 1rem; }
.page-header-desc { font-size: 1.1rem; max-width: 800px; margin: 0 auto; }

.certificate-section-bg { padding: 60px 5%; background: var(--vd-light-gray); }
.certificate-widgets-container { max-width: 900px; margin: 0 auto; }

.features-section-padding { padding: 60px 5%; }
.features-grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.feature-card-box { background: white; border-radius: 16px; padding: 1.5rem; box-shadow: 0 3px 12px rgba(0,0,0,0.06); text-align: center; }
.feature-icon-circle { width: 60px; height: 60px; background: linear-gradient(135deg, var(--vd), var(--vd-light-blue)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.feature-icon-svg { width: 30px; height: 30px; fill: white; }
.feature-title { color: var(--vd); margin-bottom: 0.75rem; font-size: clamp(1.05rem, 1.8vw, 1.2rem); }
.feature-desc { color: var(--metallic); line-height: 1.55; font-size: clamp(0.8rem, 1.1vw, 0.9rem); }

.contact-cta-bg { background: var(--vd-light-blue); padding: 60px 5%; text-align: center; color: #004E96; }
.contact-cta-title { font-size: 2rem; margin-bottom: 1rem; }
.contact-cta-desc { margin-bottom: 2rem; font-size: 1.1rem; }

.services-full-padding { padding: 60px 5%; }
.services-grid-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 1200px) {
  .services-grid-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services-grid-container { grid-template-columns: 1fr; }
}
.service-card-box { background: white; border-radius: 20px; padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.service-title-h3 { font-size: 1.3rem; color: var(--vd); margin-bottom: 1rem; }
.service-desc-p { color: var(--metallic); line-height: 1.6; margin-bottom: 1.5rem; }
.btn-secondary-sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

.process-section-bg { padding: 60px 5%; background: var(--vd-light-gray); }
.process-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.step-box { text-align: center; }
.step-number-circle { width: 80px; height: 80px; background: var(--vd); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: white; font-size: 2rem; font-weight: bold; }
.step-title { color: var(--vd); margin-bottom: 0.5rem; }
.step-desc { color: var(--metallic); }

.projects-full-padding { padding: 60px 5%; }
.projects-grid-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1400px; margin: 0 auto; }
@media (max-width: 1200px) {
  .projects-grid-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .projects-grid-container { grid-template-columns: 1fr; }
}
.project-card-box { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.project-image-container { height: 250px; overflow: hidden; }
.project-img-cover { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-content-padding { padding: 1.5rem; }
.project-category-badge { display: inline-block; background: var(--vd-light-blue); color: var(--vd); padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; margin-bottom: 1rem; }
.project-title-h3 { font-size: 1.3rem; color: var(--vd); margin-bottom: 0.75rem; }
.project-desc-p { color: var(--metallic); line-height: 1.6; margin-bottom: 1rem; }

.news-full-padding { padding: 60px 5%; }
.news-tabs-container { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.news-grid-auto { max-width: 1400px; margin: 0 auto; }

.modal-list-ul { padding-left: 1.5rem; margin-top: 1rem; }
.modal-list-li { margin-bottom: 0.5rem; }

.section-padding-lg { padding: 60px 5%; }
.flex-gap-wrap { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.img-cover-full { width: 100%; height: 100%; object-fit: cover; }
.img-cover-transition { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hidden-display { display: none; }

/* Docs Page Styles */
.docs-page {
  min-height: 100vh;
}

.page-header {
  background: var(--vd-light-blue);
  padding: 120px 5% 60px;
  text-align: center;
  color: #004E96;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #004E96;
}

.page-subtitle {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #555;
}

.docs-section {
  padding: 60px 5%;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .docs-grid { grid-template-columns: 1fr; }
}

.doc-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.doc-preview {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  height: auto;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.pdf-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.pdf-frame.loaded {
  opacity: 1;
  pointer-events: auto;
}

.pdf-preview-placeholder {
  text-align: center;
  color: #666;
  transition: opacity 0.3s ease;
}

.pdf-frame.loaded + .pdf-preview-placeholder {
  opacity: 0;
}

.pdf-preview-placeholder .doc-icon {
  width: 64px;
  height: 64px;
  fill: #004E96;
  margin-bottom: 10px;
}

.pdf-preview-placeholder .doc-type {
  display: inline-block;
  background: #004E96;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
}

.doc-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doc-title {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
  flex-shrink: 0;
}

.doc-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.doc-actions {
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  align-items: flex-end;
}

.doc-view-link {
  color: var(--vd);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--duration-normal) var(--ease-elastic);
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  width: fit-content;
}

.doc-view-link:hover {
  gap: 1rem;
  color: var(--vd-dark);
}

.doc-view-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vd-blue);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-doc:hover {
  background: var(--vd-dark-blue);
  transform: translateY(-2px);
}

.btn-doc svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-view {
  background: var(--vd);
}

.btn-view:hover {
  background: var(--vd-dark);
}

.btn-download {
  background: var(--vd-orange);
}

.btn-download:hover {
  background: var(--vd-orange-light);
}

/* Responsive styles for docs page */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  
  .doc-preview {
    min-height: 200px;
  }
}

/* ==================== ABOUT PAGE STYLES ==================== */
/* Основная секция о компании */
.about-main-section {
  padding: clamp(40px, 8vh, 80px) 5%;
  background: white;
}

.about-content-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--vd);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-text {
  color: var(--metallic);
  line-height: 1.7;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  margin-bottom: 1.25rem;
}

.about-image-placeholder {
  background: linear-gradient(135deg, var(--vd-light-blue) 0%, var(--vd-light-gray) 100%);
  border-radius: 16px;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0, 78, 150, 0.08);
  transition: transform var(--duration-slow) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
}

.about-image-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 78, 150, 0.12);
}

.placeholder-icon {
  width: 70px;
  height: 70px;
  color: var(--vd);
  opacity: 0.6;
  margin-bottom: 0.9rem;
}

.placeholder-icon svg {
  width: 100%;
  height: 100%;
}

.placeholder-text {
  color: var(--metallic);
  font-size: 1rem;
  font-weight: 500;
}

/* Секция направлений деятельности */
.directions-section {
  padding: clamp(40px, 8vh, 80px) 5%;
  background: var(--vd-light-gray);
}

.directions-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.direction-card {
  background: white;
  border-radius: 16px;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  transition: all var(--duration-normal) var(--ease-elastic);
  position: relative;
  overflow: hidden;
}

.direction-card-shadow {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.direction-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 78, 150, 0.1);
}

.direction-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vd), var(--vd-blue));
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.direction-card:hover::before {
  transform: scaleX(1);
}

.direction-icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--vd-light-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--duration-normal) var(--ease-bounce);
}

.direction-card:hover .direction-icon-wrapper {
  background: var(--vd);
  transform: scale(1.05);
}

.direction-icon {
  width: 30px;
  height: 30px;
  fill: var(--vd);
  transition: fill var(--duration-normal) var(--ease-smooth);
}

.direction-card:hover .direction-icon {
  fill: white;
}

.direction-title {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: var(--vd);
  margin-bottom: 0.85rem;
}

.direction-text {
  color: var(--metallic);
  line-height: 1.65;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
}

/* Секция с фактами и цифрами */
.facts-section {
  padding: clamp(60px, 10vh, 100px) 5%;
  background: white;
}

.facts-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.fact-item {
  background: white;
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 2.5rem);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-elastic);
  border: 1px solid var(--border-color);
}

.fact-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.fact-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 78, 150, 0.12);
  border-color: var(--vd);
}

.fact-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--vd-orange);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.fact-label {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.fact-desc {
  color: var(--metallic);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.6;
}

/* Секция миссии */
.mission-section {
  padding: clamp(10px, 8vh, 30px) 5%;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.mission-content-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(25px, 4vw, 50px);
  align-items: center;
}

.mission-content-center {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission-image-block {
  position: relative;
}

.mission-text-block {
  padding: 1.5rem 0;
}

.mission-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--vd);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  text-align: center;
}

.mission-text {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: var(--metallic);
  margin-bottom: 1.25rem;
}

.mission-text-highlight {
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: var(--vd);
  font-weight: 600;
  padding: 2rem 2.5rem;
  background: var(--vd-light-blue);
  border-radius: 12px;
  margin-top: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 78, 150, 0.08);
}

/* Секция ценностей */
.values-section {
  padding: clamp(40px, 8vh, 80px) 5%;
  background: var(--vd-light-gray);
}

.values-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.values-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--vd);
  margin-bottom: 1.5rem;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  background: white;
  border-radius: 12px;
  padding: 1rem;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.value-item-shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.value-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 78, 150, 0.08);
}

.value-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--vd-light-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-bounce);
}

.value-item:hover .value-icon {
  background: var(--vd-light-blue);
  transform: scale(1.05);
}

.value-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--vd);
  transition: fill var(--duration-normal) var(--ease-smooth);
}

.value-item:hover .value-icon svg {
  fill: var(--vd);
}

.value-content {
  flex: 1;
}

.value-heading {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 700;
  color: var(--vd);
  margin-bottom: 0.5rem;
}

.value-description {
  color: var(--metallic);
  line-height: 1.6;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
}

.values-image-block .about-image-placeholder {
  height: 400px;
}

/* Адаптивность для страницы about */
@media (max-width: 1096px) {
  .about-content-grid,
  .values-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .values-image-block {
    order: -1;
  }
  
  .values-image-block .about-image-placeholder {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .about-main-section,
  .directions-section,
  .facts-section,
  .mission-section,
  .values-section {
    padding: clamp(40px, 8vh, 60px) 5%;
  }
  
  .about-content-grid,
  .mission-content-grid,
  .values-content {
    gap: 2rem;
  }
  
  .about-content-inline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image-placeholder,
  .values-image-block .about-image-placeholder {
    height: 300px;
  }
  
  .directions-grid,
  .facts-container {
    grid-template-columns: 1fr;
  }
  
  .mission-content-grid {
    grid-template-columns: 1fr;
  }
  
  .value-item {
    flex-direction: column;
    text-align: center;
  }
  
  .value-item:hover {
    transform: translateY(-5px);
  }
  
  .value-icon {
    margin: 0 auto;
  }
}

/* ==================== СТРАНИЦА ВАКАНСИИ ==================== */
.careers-intro-padding { padding: 80px 5% 60px; background: white; }
.careers-content-center { max-width: 1200px; margin: 0 auto; }
.careers-title { font-size: 2rem; color: var(--vd); margin-bottom: 1.5rem; text-align: center; }
.careers-text-highlight { font-size: 1.1rem; color: var(--text-dark); text-align: center; max-width: 900px; margin: 0 auto 3rem; line-height: 1.7; }

.careers-benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }

.benefit-card { background: var(--vd-light-gray); padding: 2rem; border-radius: 12px; text-align: center; transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth); }
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 78, 150, 0.15); }

.benefit-icon { width: 60px; height: 60px; background: var(--vd); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.benefit-icon svg { width: 30px; height: 30px; fill: white; }

.benefit-card h3 { font-size: 1.2rem; color: var(--vd); margin-bottom: 0.75rem; font-weight: 600; }
.benefit-card p { color: var(--metallic); font-size: 0.95rem; line-height: 1.6; }

/* Вакансии */
.vacancies-section-padding { padding: 80px 5%; background: var(--vd-light-gray); }
.vacancies-grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1400px; margin: 0 auto; justify-items: stretch; }
@media (max-width: 768px) {
  .vacancies-grid-container { grid-template-columns: 1fr; }
}

.vacancy-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth); display: flex; flex-direction: column; }
.vacancy-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 78, 150, 0.15); }
.vacancy-card-open { border-left: 4px solid var(--vd-orange); }

.vacancy-header { background: linear-gradient(135deg, var(--vd) 0%, var(--vd-dark) 100%); color: white; padding: 1.5rem; }
.vacancy-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.vacancy-department { font-size: 0.9rem; opacity: 0.9; display: block; }

.vacancy-body { padding: 1.5rem; flex: 1; }
.vacancy-requirements, .vacancy-responsibilities, .vacancy-conditions { margin-bottom: 1.5rem; }
.vacancy-requirements h4, .vacancy-responsibilities h4, .vacancy-conditions h4 { font-size: 1rem; color: var(--vd); margin-bottom: 0.75rem; font-weight: 600; }
.vacancy-requirements ul, .vacancy-responsibilities ul, .vacancy-conditions ul { list-style: none; padding: 0; }
.vacancy-requirements li, .vacancy-responsibilities li, .vacancy-conditions li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; color: var(--text-dark); font-size: 0.95rem; line-height: 1.6; }
.vacancy-requirements li::before, .vacancy-responsibilities li::before, .vacancy-conditions li::before { content: "•"; color: var(--vd-blue); position: absolute; left: 0; font-weight: bold; }

.vacancy-footer { padding: 1.5rem; border-top: 1px solid var(--border-color); background: var(--vd-light-gray); }
.btn-apply { width: 100%; justify-content: center; }

/* Открытая заявка */
.open-application-padding { padding: 80px 5%; background: white; }
.open-application-content { max-width: 800px; margin: 0 auto; text-align: center; }
.open-application-content h2 { font-size: 2rem; color: var(--vd); margin-bottom: 1rem; }
.open-application-content p { font-size: 1.1rem; color: var(--metallic); margin-bottom: 2rem; line-height: 1.7; }

/* Адаптивность для страницы вакансий */
@media (max-width: 768px) {
  .careers-intro-padding, .vacancies-section-padding, .open-application-padding { padding: 60px 5%; }
  .careers-title, .open-application-content h2 { font-size: 1.5rem; }
  .careers-benefits-grid { grid-template-columns: 1fr; }
  .vacancy-header { padding: 1.25rem; }
  .vacancy-body { padding: 1.25rem; }
  .vacancy-footer { padding: 1.25rem; }
}

/* Стили для чекбокса согласия в модальном окне вакансий */
.form-agreement-checkbox {
  background: var(--vd-light-gray);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--vd-blue);
  border-radius: 4px;
  margin-top: 2px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--vd-blue);
  border-color: var(--vd-blue);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:hover {
  border-color: var(--vd-orange);
}

.checkbox-label input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 78, 150, 0.2);
}

.checkbox-text {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.checkbox-text a {
  color: var(--vd);
  text-decoration: underline;
}

.checkbox-text a:hover {
  text-decoration: none;
}

/* Отключенная кнопка отправки */
.form-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.form-submit:disabled:hover {
  transform: none;
  box-shadow: none;
}
