html {
  scroll-behavior: smooth;
}

body{font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial;}
h1,h2,h3,h4,h5,h6{font-family:"Montserrat","Inter",sans-serif;font-weight:300;font-size:1.5rem;letter-spacing:0.02em;margin-bottom:1rem;color:#020827 !important;}

/* Стандартные отступы для заголовков */
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
  margin-top: 0.5rem;
}

/* Специальные размеры для разных уровней заголовков */
h1 { font-size: 2.5rem; font-weight: 200; }
h2 { font-size: 2rem; font-weight: 300; }
h3 { font-size: 1.75rem; font-weight: 300; }
h4 { font-size: 1.5rem; font-weight: 300; }
h5 { font-size: 1.25rem; font-weight: 300; }
h6 { font-size: 1.1rem; font-weight: 300; }

/* Одинаковая высота карточек с изображениями на странице типов обучения */
#types .glass {
  height: auto !important;
  min-height: 400px !important;
  display: flex !important;
  flex-direction: column !important;
}

#types .media-slot {
  height: 280px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 1rem !important;
  padding: 0.5rem !important;
}

#types .img-slot {
  max-height: 250px !important;
  max-width: 100% !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Стили для заголовка партнерства */
.cta-dark h2 {
  color: #ffffff !important;
  font-size: 1.5rem !important;
}

/* Уменьшение размера заголовков слайдов (карточек) в секции ценностей */
#values .glass h3 {
  font-size: 1.1rem !important;
}

/* Одинаковая ширина блоков на странице типов обучения - как у меню */
#types .container,
#choice .container,
#cta .container {
  max-width: var(--menu-width) !important;
  margin: 0 auto !important;
}

:root{
  --ink-900:#062B29; --ink-800:#013D3D; --ink-700:#013D3D;
  --deep:#062B29; --deeper:#013D3D;

  --light-1:#FFFFFF;
  --light-2:#FFFFFF;
  --card-light:#FFFFFF;

  --text-dark:#020827;
  --text-base:#9FA0AD;
  --muted-200:#6B7280; --muted-300:#6B7280; --muted-400:#6B7280; --muted-500:#6B7280;

  /* новый основной цвет CTA */
  --cta:#B4EFB3;

  --primary:#013D3D; --primary-600:#062B29; --ring:rgba(1,61,61,.25);

  --border-dark:rgba(255,255,255,.08);
  --border-light:rgba(6,43,41,.08);
  
  /* Новые цвета палитры */
  --button-color:#B4EFB3;
  --dark-highlight:#062B29;
  --dark-blocks:#013D3D;
  --block-highlight:#DAE8E8;
  --background-color:#FFFFFF;
  --heading-text:#020827;
  --base-text:#9FA0AD;
  --menu-width: min(1200px, calc(100% - 80px));
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text-dark);
  background: var(--light-2);
  line-height:1.6;
}

/* helpers */
.bg-deeper{background:var(--deeper)}
.bg-section{background:var(--light-1)}
.text-mute-200{color:var(--muted-200)!important}
.text-mute-300{color:var(--muted-300)!important}
.text-mute-400{color:var(--muted-400)!important}
.text-mute-500{color:var(--muted-500)!important}
.fw-700{font-weight:700}
.fw-800{font-weight:800}
.py-6{padding-top:4rem;padding-bottom:4rem}
.backdrop-blur{backdrop-filter:saturate(150%) blur(14px)}
.link-fade{color:var(--muted-400);text-decoration:none}
.link-fade:hover{color:var(--text-dark)}
.thin-divider{height:1px;background:var(--border-light)}
.divider{height:1px;background:var(--border-light)}
.btn-sm{--bs-btn-padding-y:.3rem;--bs-btn-padding-x:.6rem}

.nav-glass{
  position: fixed;
  top: 30px; left: 0; right: 0; z-index: 1040;
  width: var(--menu-width);
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 32px;
  box-shadow: 0 12px 40px -20px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.15);
}
.nav-glass .container{ 
  padding-top: 8px; 
  padding-bottom: 8px; 
  padding-left: 24px;
  padding-right: 24px;
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
  width: 100%;
  gap: 0.33rem;
}

.nav-glass .navbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0.25rem;
  margin: 0;
}

.nav-glass .navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff !important;
  margin-right: auto;
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-stretch: ultra-condensed;
  letter-spacing: -0.05em;
  vertical-align: middle;
}

.nav-glass .btn-primary-gy {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: auto;
  line-height: 1;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  margin-left: auto !important;
  font-stretch: condensed;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  vertical-align: middle;
}

.nav-glass .navbar-brand:hover {
  color: #9FE29E !important;
}
.nav-glass .nav-link{ 
  color: rgba(255,255,255,.9)!important; 
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-stretch: condensed;
  letter-spacing: -0.02em;
  vertical-align: middle;
}
.nav-glass .nav-link:hover{ 
  color: #fff!important; 
  background: rgba(255,255,255,.08);
}

/* Стили для темного текста на светлом фоне */
.nav-glass.nav-light {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 12px 40px -20px rgba(0,0,0,.2), inset 0 1px rgba(0,0,0,.05);
}

/* Light header on white pages (expert review) */
.expert-review-page .nav-glass.nav-light{
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 50px -28px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.8);
}


.nav-glass.nav-light .navbar-brand {
  color: #020827 !important;
}

.nav-glass.nav-light .navbar-brand:hover {
  color: #013D3D !important;
}

.nav-glass.nav-light .nav-link {
  color: #020827 !important;
}

.nav-glass.nav-light .nav-link:hover {
  color: #020827 !important;
  background: rgba(0,0,0,.05);
}

.nav-glass.nav-light .navbar-toggler {
  border: 1px solid rgba(0,0,0,.2);
}

.nav-glass.nav-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%282, 8, 39, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Стили для бургер-меню */
.nav-glass .navbar-toggler {
  border: 1px solid rgba(255,255,255,.2);
  padding: 0.25rem 0.5rem;
}

.nav-glass .navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(159, 226, 158, 0.25);
}

.nav-glass .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Убираем точки у навигационных ссылок */
.navbar-nav li::before {
  display: none;
}

/* Кнопки "Узнать подробнее" в стиле второй картинки */
.btn-learn-more {
  color: #020827;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
  margin-top: auto;
}

.btn-learn-more:hover {
  color: #020827;
  text-decoration: none;
  transform: translateX(2px);
}

/* Стили для кнопки "Узнать больше" в темном блоке */
.cta-dark .btn-learn-more {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  font-family: "Montserrat", "Inter", sans-serif !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
}

.cta-dark .btn-learn-more:hover {
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateX(2px) !important;
}
/* Стили для кнопки btn-primary-gy в темном блоке */
.cta-dark .btn-primary-gy {
  background: linear-gradient(to bottom, #A1FA85, #8FE570) !important;
  color: #020827 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.6rem 1rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  display: inline-block !important;
  font-family: "Montserrat", "Inter", sans-serif !important;
}

.cta-dark .btn-primary-gy:hover {
  background: linear-gradient(to bottom, #B0FF99, #9FE570) !important;
  color: #020827 !important;
}

.partnership-card {
  background: #013D3D;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #062B29;
}

.partnership-card .d-flex {
  margin-bottom: 1.5rem;
}

.partnership-avatar-link {
  text-decoration: none !important;
  display: inline-block;
  transition: transform 0.2s ease;
}

.partnership-avatar-link:hover {
  transform: scale(1.05);
}

.partnership-avatar-link img {
  transition: border-color 0.2s ease;
}

.partnership-avatar-link:hover img {
  border-color: #A1FA85 !important;
}

.partnership-card p {
  color: #ffffff !important;
  font-size: 1.08rem;
  line-height: 1.5;
}

.partnership-card .small {
  color: #A1FA85 !important;
  font-size: 0.96rem;
}

.partnership-link {
  color: #A1FA85 !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.partnership-link:hover {
  color: #B0FF99 !important;
}

.btn-primary-gy-light {
  background: linear-gradient(to bottom, #A1FA85, #8FE570) !important;
  color: #020827 !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 12px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.btn-primary-gy-light:hover {
  background: linear-gradient(to bottom, #B0FF99, #9FE570) !important;
  color: #020827 !important;
}

/* Темно-зеленый CTA блок в стиле второй картинки */
.cta-dark {
  background: #062B29;
  border: 1px solid #013D3D;
  color: #ffffff !important;
  padding: 4rem 3rem !important;
  margin: 0 -2rem;
}

.cta-dark h2 {
  color: #ffffff !important;
  font-weight: 400;
  margin-bottom: 1.5rem !important;
}

.cta-dark p {
  color: #ffffff !important;
  margin-bottom: 2rem !important;
}

.cta-dark * {
  color: #ffffff !important;
}

/* Дополнительные стили для блока партнерства */
.cta-dark .row {
  margin: 0;
}

.cta-dark .col-12,
.cta-dark .col-lg-6 {
  padding: 0 1rem;
}

.cta-dark .d-flex {
  gap: 1.5rem;
}

.cta-dark .d-flex p {
  margin-bottom: 1rem !important;
}

.cta-dark .small {
  color: #ffffff !important;
  opacity: 0.9;
}

/* Кастомная пагинация - убираем точки и делаем салатовый цвет */
.pagination-custom {
  gap: 0.25rem;
}

.pagination-custom .page-item::before {
  display: none;
}

.pagination-custom .page-link {
  color: #020827;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  transition: all 0.2s ease;
}

.pagination-custom .page-link:hover {
  color: #020827;
  background-color: #f8f9fa;
  border-color: #adb5bd;
}

.pagination-custom .page-item.active .page-link {
  color: #020827;
  background: linear-gradient(135deg, #9FE29E 0%, #7DD87D 50%, #6BCF6B 100%);
  border-color: #6BCF6B;
}

/* Стили для новостных карточек */
.news-image {
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Стили для FAQ аккордеона */
.accordion-button {
  background: #ffffff;
  color: #020827;
  border: none !important;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 2rem 1.5rem;
  font-size: 1.1rem;
}

.accordion-button:hover {
  background: linear-gradient(90deg, #C8F5E1 0%, #DCFBE1 100%);
  color: #020827;
  border: none !important;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #C8F5E1 0%, #DCFBE1 100%);
  color: #020827;
  box-shadow: none;
  border: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(107, 207, 107, 0.25);
  border: none !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a1a16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-item {
  border: none;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid #e8e8e8;
}

.accordion-item:first-of-type {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.accordion-item:last-of-type {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-bottom: none;
}

.accordion-item:not(:first-of-type) {
  border-top: none;
}

.accordion-body {
  padding: 2rem 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Стили для изумрудной плашки цитаты */
.quote-plaque-emerald {
  background: #1a4d3a;
  border: 1px solid #2d6b4f;
  color: #ffffff;
}

/* Кнопки новостей в стиле третьей картинки */
.btn-news-link {
  color: #020827;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
  margin-top: auto;
}

.btn-news-link:hover {
  color: #020827;
  text-decoration: none;
  transform: translateX(2px);
}

/* Светло-голубовато-зеленый фон для блока новостей */
.news-section {
  position: relative !important;
}

.news-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: #e8f5f3 !important;
  z-index: -1 !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

.news-section .container {
  position: relative !important;
  z-index: 1 !important;
}

/* Стили для временной шкалы пилота на всю ширину */
.timeline-container-full {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
}

.timeline-header {
  display: grid;
  grid-template-columns: 200px repeat(6, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-left: 200px;
}

.month-label {
  text-align: center;
  font-weight: 600;
  color: var(--ink-700);
  font-size: 0.9rem;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-step {
  display: grid;
  grid-template-columns: 200px repeat(6, 1fr);
  gap: 0.5rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.timeline-step:last-child {
  border-bottom: none;
}

.step-name {
  font-weight: 500;
  color: var(--ink-800);
  font-size: 0.9rem;
  line-height: 1.4;
  padding-right: 1rem;
  word-wrap: break-word;
}


.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #020827;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.checkmark.active {
  background-color: #6BCF6B;
  color: white;
  box-shadow: 0 0 0 3px rgba(107, 207, 107, 0.2);
}

@media (max-width: 992px) {
  .timeline-container-full {
    overflow-x: auto;
    padding: 1rem;
  }
  
  .timeline-header {
    grid-template-columns: 150px repeat(6, 80px);
    gap: 0.25rem;
    padding-left: 150px;
    min-width: 630px;
  }
  
  .timeline-step {
    grid-template-columns: 150px repeat(6, 80px);
    gap: 0.25rem;
    padding: 0.75rem 0;
    min-width: 630px;
  }
  
  .step-name {
    font-size: 0.8rem;
    padding-right: 0.5rem;
  }
  
  .month-label {
    font-size: 0.8rem;
  }
  
  .checkmark {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .timeline-container-full {
    padding: 0.5rem;
  }
  
  .timeline-header {
    grid-template-columns: 120px repeat(6, 60px);
    gap: 0.2rem;
    padding-left: 120px;
    min-width: 480px;
  }
  
  .timeline-step {
    grid-template-columns: 120px repeat(6, 60px);
    gap: 0.2rem;
    padding: 0.5rem 0;
    min-width: 480px;
  }
  
  .step-name {
    font-size: 0.75rem;
    padding-right: 0.25rem;
  }
  
  .month-label {
    font-size: 0.75rem;
  }
  
  .checkmark {
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
  }
}

.step-dots {
  justify-content: flex-start;
}

.nav-glass .btn-ghost{
  background: rgba(255,255,255,.08);
  color:#fff; border:1px solid rgba(255,255,255,.12);
  border-radius: 999px; padding:.6rem 1rem; font-weight:600;
  white-space: nowrap;
}

/* CTA — только основной, цвет #A1FA85 с градиентом */
.btn-primary-gy{
  background: linear-gradient(to bottom, #B0FF99, #9FE570);
  color:#0a1a16; border:0; border-radius: 999px;
  padding:1rem 2rem; font-weight:500;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-stretch: condensed;
  letter-spacing: -0.02em;
}
.btn-primary-gy:hover{
  background: linear-gradient(to bottom, #C4FFB3, #B0FF99);
  color: #0a1a16;
  box-shadow: none;
}
.btn-primary-gy:active{
  color: #0a1a16;
  box-shadow: none;
}


/* HERO */
.hero-hero{
  position:relative;
  color:#fff;
  min-height: 80vh;
  width: 100%;
  display:flex; align-items:center;
  background: var(--deeper);
  padding-top: 120px; /* под высоту бара */
  scroll-margin-top: 120px; /* отступ для якорных ссылок */
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  border: none;
  outline: none;
  overflow: hidden;
}
.hero-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0.8; 
  pointer-events:none; 
  z-index:0;
  filter: none;
  /* Оптимизация загрузки видео */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Специфичное правило для страницы партнеров */
.partnership-page .hero-video {
  opacity: 0.8;
}
.hero-blur-overlay{
  position:absolute; inset:0;
  width:100%; height:100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events:none; 
  z-index:1;
}
.hero-hero > .container{ position:relative; z-index:2; }

/* Уменьшение размера заголовков в hero блоке */
.hero-hero h1 {
  font-size: 2.2rem !important;
}

@media (max-width: 992px) {
  .hero-hero h1 {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 576px) {
  .hero-hero h1 {
    font-size: 1.5rem !important;
  }
}

.hero-bg-shape{
  position:absolute; inset:0;
  background:radial-gradient(600px 420px at 50% 0%, rgba(255,255,255,.06), transparent 60%);
  pointer-events:none; z-index:2;
}

/* Стили для изображения поверх hero */
.hero-image-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-overlay-img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.8;
}

/* Стили для полноэкранного изображения в hero */
.hero-image-full {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  margin: 0;
  padding: 0;
  display: block;
  border: none;
  outline: none;
}

.hero-image-full .hero-img-cover {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
  max-height: none;
  display: block;
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  z-index: 0;
  margin: 0;
  padding: 0;
}

/* Использование background-image для полного покрытия */
.hero-bg-image {
  background-size: 120% 120%;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
}


/* Адаптивные стили для hero изображения */
@media (max-width: 768px) {
  .hero-image-overlay {
    align-items: stretch;
    justify-content: stretch;
  }
  
  .hero-overlay-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 576px) {
  .hero-image-overlay {
    align-items: stretch;
    justify-content: stretch;
  }
  
  .hero-overlay-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Стили для блока федеративного обучения */
.federated-main-image {
  max-width: 100% !important;
  max-height: 900px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  transform: scale(1.33) !important;
  display: block;
  margin: 0 auto;
}

/* Стили для плашек федеративного обучения */
.federated-cards-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 390px;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 2rem;
  padding-left: 3rem;
  margin-right: -2rem;
  transform: translateX(-80px);
}

.federated-cards-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 390px;
  justify-content: flex-start;
  align-items: center;
  padding-top: 2rem;
}

.federated-card {
  background: #FFFFFF !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 1rem 0.8rem !important;
  font-size: 0.6rem !important;
  color: #1A363A !important;
  font-weight: 400 !important;
  text-align: left !important;
  opacity: 0;
  transform: translateY(30px);
  animation: card-appear 0.6s ease-out forwards;
  animation-delay: calc(var(--card-index) * 0.3s);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  width: 160px !important;
  margin: 0 auto !important;
}

.federated-cards-left .federated-card:nth-child(1) { --card-index: 1; }
.federated-cards-left .federated-card:nth-child(2) { --card-index: 2; }
.federated-cards-left .federated-card:nth-child(3) { --card-index: 3; }
.federated-cards-left .federated-card:nth-child(4) { --card-index: 4; }

.federated-cards-right .federated-card:nth-child(1) { --card-index: 1; }
.federated-cards-right .federated-card:nth-child(2) { --card-index: 2; }
.federated-cards-right .federated-card:nth-child(3) { --card-index: 3; }
.federated-cards-right .federated-card:nth-child(4) { --card-index: 4; }

@keyframes card-appear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивные стили для федеративного блока - скрытие плашек на всех размерах */
@media (max-width: 1200px) {
  .federated-cards-left {
    display: none !important;
  }
  
  .federated-cards-right {
    display: none !important;
  }
  
  .federated-main-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 80vh !important;
    object-fit: contain !important;
    transform: none !important;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .federated-cards-left {
    display: none !important;
  }
  
  .federated-cards-right {
    display: none !important;
  }
  
  .federated-main-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 70vh !important;
    object-fit: contain !important;
    transform: none !important;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .federated-main-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 60vh !important;
    object-fit: contain !important;
    transform: none !important;
    display: block;
    margin: 0 auto;
  }
  
  .federated-cards-left {
    display: none !important;
  }
  
  .federated-cards-right {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .federated-main-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 50vh !important;
    object-fit: contain !important;
    transform: none !important;
    display: block;
    margin: 0 auto;
  }
  
  .federated-cards-left {
    display: none !important;
  }
  
  .federated-cards-right {
    display: none !important;
  }
}
@media (max-width: 1200px){
  :root {
    --menu-width: calc(100% - 60px);
  }
  .nav-glass{ 
    top: 20px; 
    border-radius: 28px;
  }
  .nav-glass .container {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-glass .nav-link {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
  }
  .nav-glass .navbar-brand {
    font-size: 1rem;
  }
  .hero-hero{ padding-top: 120px; }
}

@media (max-width: 992px){
  :root {
    --menu-width: calc(100% - 40px);
  }
  .nav-glass{ 
    top: 15px; 
    border-radius: 24px;
  }
  .nav-glass .container {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-glass .nav-link {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }
  .nav-glass .navbar-brand {
    font-size: 0.95rem;
  }
  .hero-hero{ padding-top: 120px; }
}

@media (max-width: 576px){
  :root {
    --menu-width: calc(100% - 40px);
  }
  .nav-glass{ 
    top: 15px; 
    border-radius: 24px;
  }
  .nav-glass .container {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 12px;
    padding-right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-glass .nav-link {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }
  .nav-glass .navbar-brand {
    font-size: 0.95rem;
  }
}

/* Стили для модального окна */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header {
  padding: 3rem 3rem 2rem 3rem;
  border-bottom: none;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
}

.modal-title {
  flex: 1;
  text-align: center;
}

.modal-body {
  padding: 1rem 2rem 2rem 2rem;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #020827;
  line-height: 1.4;
  margin: 0;
  flex: 1;
  text-align: center;
}

/* Стили для плейсхолдеров */
.modal-body input::placeholder,
.modal-body textarea::placeholder {
  color: #DDDDDD;
  opacity: 1;
}

.modal-body input::-webkit-input-placeholder,
.modal-body textarea::-webkit-input-placeholder {
  color: #DDDDDD;
  opacity: 1;
}

.modal-body input::-moz-placeholder,
.modal-body textarea::-moz-placeholder {
  color: #DDDDDD;
  opacity: 1;
}

.modal-body input:-ms-input-placeholder,
.modal-body textarea:-ms-input-placeholder {
  color: #DDDDDD;
  opacity: 1;
}

/* Стили для select элемента */
.modal-body select {
  color: #020827;
}

.modal-body select option {
  color: #020827;
}

.modal-body select:focus {
  color: #020827;
}

/* Стили для кнопки в модальном окне */
.modal .btn-primary-gy {
  background: linear-gradient(to bottom, #7BCF7B, #6BCF6B);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: none;
}

.modal .btn-primary-gy:hover {
  background: linear-gradient(to bottom, #8BD88B, #7BCF7B);
  color: #ffffff;
}

.modal .btn-primary-gy:active {
  background: linear-gradient(to bottom, #6BCF6B, #5ABF5A);
  color: #ffffff;
}

/* Стили для блоков статуса */
.modal .alert {
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.modal .alert-success {
  background-color: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1.1rem;
  margin: 0;
}

.modal .alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

/* Стили для мобильного меню */
@media (max-width: 768px) {
  .nav-glass {
    transition: all 0.3s ease;
  }
  
  .nav-glass .navbar-collapse {
    background: transparent;
    border-radius: 0;
    margin-top: 8px;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: 100%;
    min-width: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  
  .nav-glass .navbar-collapse.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-glass .navbar-nav {
    margin-bottom: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.3s ease;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .nav-glass .nav-link {
    padding: 1.5rem 0.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #020827 !important;
    text-align: center;
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    box-shadow: none;
    white-space: nowrap;
    text-shadow: none !important;
    -webkit-text-stroke: none !important;
    outline: none !important;
    font-weight: 500;
  }
  
  .nav-glass .nav-link:hover {
    background: #f5f5f5;
    box-shadow: none;
    transform: none;
    color: #020827 !important;
  }
  
  .nav-glass .nav-link:focus {
    outline: none !important;
    box-shadow: none !important;
  }
  
  .nav-glass .btn-primary-gy {
    width: auto;
    max-width: none;
    padding: 1.5rem 0.5rem;
    font-size: 0.85rem;
    margin: 0;
    margin-left: 1.5rem;
    transition: all 0.2s ease;
    display: block;
    background: linear-gradient(135deg, #9FE29E 0%, #80CD7F 100%);
    color: white !important;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
  }
  
  .nav-glass .btn-primary-gy:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #80CD7F 0%, #9FE29E 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  }
  
  /* Адаптивные стили для цитат */
  .partnership-card .d-flex {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 1rem;
  }
  
  .partnership-card .d-flex img {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .partnership-card p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .partnership-card .small {
    font-size: 0.8rem;
  }
  
  /* Уменьшение размера текстов блока "Как выбрать подходящий тип?" в мобильной версии */
  #choice h2 {
    font-size: 1.3rem !important;
  }
  
  #choice h4 {
    font-size: 1rem !important;
  }
  
  #choice ul {
    font-size: 0.85rem !important;
  }
  
  #choice .step-head {
    font-size: 0.9rem !important;
  }
  
  /* Адаптивные стили для страницы блога */
  #articles {
    padding-top: 8rem !important;
  }
  
  #articles .row {
    min-height: auto !important;
  }
  
  #articles .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  #articles .col-lg-8 {
    margin-bottom: 2rem;
  }
  
  .article-list {
    height: 67px !important;
    margin-bottom: 1rem;
  }
  
  .article-item {
    padding: 1rem !important;
  }
  
  .article-item img {
    width: 40px !important;
    height: 40px !important;
  }
  
  .article-item h5 {
    font-size: 0.8rem !important;
  }
  
  .article-item p {
    font-size: 0.75rem !important;
  }
  
  #articleContent {
    padding: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem !important;
  }
  
  #articleContent h2 {
    font-size: 1.3rem !important;
  }
  
  #articleContent p {
    font-size: 0.9rem !important;
  }
  
  #articleContent img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Адаптивные стили для блока "Последние статьи и новости" */
  #news .d-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem;
  }
  
  #news .btn-news-link {
    margin-top: 0.5rem;
  }
  
  /* Адаптивные стили для кнопок в секции команды на странице "О компании" */
  #team .d-flex.gap-2 {
    flex-wrap: wrap;
    gap: 0.75rem !important;
  }
  
  #team .btn-primary-gy {
    max-width: 200px;
    width: auto;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
    white-space: normal;
    word-wrap: break-word;
  }
  
  #team .btn-link {
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
    white-space: nowrap;
  }
}

/* Промежуточные переходы за счет уменьшения расстояний */
@media (max-width: 1400px) {
  .nav-glass .navbar-nav {
    gap: 0.2rem;
  }
  
  .nav-glass .nav-link {
    padding: 0.4rem 0.6rem;
  }
}

@media (max-width: 1300px) {
  .nav-glass .navbar-nav {
    gap: 0.15rem;
  }
  
  .nav-glass .nav-link {
    padding: 0.35rem 0.5rem;
    font-size: 0.9rem;
  }
  
  .nav-glass .btn-primary-gy {
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 1200px) {
  .nav-glass .navbar-nav {
    gap: 0.1rem;
  }
  
  .nav-glass .nav-link {
    padding: 0.3rem 0.4rem;
    font-size: 0.85rem;
  }
  
  .nav-glass .btn-primary-gy {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 1100px) {
  .nav-glass .navbar-nav {
    gap: 0.05rem;
  }
  
  .nav-glass .nav-link {
    padding: 0.25rem 0.3rem;
    font-size: 0.8rem;
  }
  
  .nav-glass .btn-primary-gy {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 1000px) {
  .nav-glass .navbar-nav {
    gap: 0.02rem;
  }
  
  .nav-glass .nav-link {
    padding: 0.2rem 0.25rem;
    font-size: 0.75rem;
  }
  
  .nav-glass .btn-primary-gy {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 950px) {
  .nav-glass .navbar-nav {
    gap: 0.01rem;
  }
  
  .nav-glass .nav-link {
    padding: 0.15rem 0.2rem;
    font-size: 0.7rem;
  }
  
  .nav-glass .btn-primary-gy {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }
}

/* Адаптивные отступы для модального окна */
@media (max-width: 576px) {
  .modal-header {
    padding: 1rem 1.5rem 0.75rem 1.5rem;
  }
  
  .modal-body {
    padding: 0.75rem 1.5rem 1.5rem 1.5rem;
  }
  
  .modal-title {
    font-size: 1.1rem;
  }
}

/* Секции светлые */
section:not(.hero-hero){
  color:var(--text-dark);
  max-width: var(--menu-width);
  margin: 0 auto;
  width: 100%;
}

.bg-section{background:var(--light-1)}

/* Карточки и удвоенные внутренние отступы */
.pad-2x{ padding: 2.5rem !important; } /* x2 примерно от p-3/p-4 */
.glass, .glass-xl{
  background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.75));
  border:1px solid var(--border-light);
  border-radius:1rem; color:var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.glass-xl{background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.8))}
.glass-deep{
  background: linear-gradient(90deg, #C8F5E1 0%, #DCFBE1 100%);
  border: none;
  color: #020827;
  border-radius: 16px;
  padding: 3rem 2.5rem !important;
}

.glass-deep h2 {
  color: #5F7C7B !important;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

/* Карточки шагов — тоже удвоенный padding */
.step-card{
  background: #ffffff; 
  border: none;
  border-radius: 12px; 
  color: #64697B;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1.5rem;
}
.step-head{
  display:inline-block; 
  background: #B0FF99; 
  color: #064E2C;
  border: none; 
  border-radius: 8px; 
  padding: 0.4rem 0.8rem;
  margin-bottom: 2rem; 
  font-size: 0.85rem;
  font-weight: 500;
}

.step-card h3 {
  color: #020827 !important;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: #64697B !important;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

/* Слоты изображений */
.media-slot{ background:#fff; display:grid; place-items:center; min-height:60px; }
.img-slot{ 
  max-width:80%; 
  height:auto; 
  display:block; 
  border-radius: 12px;
  object-fit: cover;
}

/* Softer document icons */
.doc-icon-soft{
  opacity: 1;
  filter: none;
}
.img-fallback{ color:var(--muted-400); font-size:.9rem; padding:1rem; }

/* Закругленные углы для всех изображений */
img {
  border-radius: 12px;
  box-shadow: none !important;
}

/* Специальные стили для аватаров */
img[alt*="avatar"], img[alt*="CEO"] {
  border-radius: 50%;
}

/* Стили для изображений в карточках */
.glass img, .glass-xl img {
  border-radius: 8px;
}

/* Стили для изображений в hero секции */
.hero-video {
  border-radius: 0;
}

/* Дополнительные стили для изображений */
.media-slot img {
  border-radius: 12px;
  transition: transform 0.3s ease;
}

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

/* Стили для изображений в новостях */
#news img, #news .media-slot img {
  border-radius: 8px;
}

/* Стили для изображений в команде */
#team img {
  border-radius: 50%;
}

/* Стили для изображений в партнерстве */
#partners img {
  border-radius: 8px;
}

/* Стили для изображений в секции типов обучения */
#types .media-slot {
  min-height: 300px;
  max-height: 300px;
  height: 300px;
  overflow: hidden;
}

#types .glass {
  padding: 2rem 1.5rem !important;
  min-height: 450px;
  position: relative;
  display: block !important;
  text-align: left;
}

#types .media-slot {
  min-height: 300px;
  max-height: 300px;
  height: 300px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

#types .glass h3 {
  font-size: 1.05rem !important;
  margin-bottom: 0.7rem !important;
  position: relative;
  z-index: 2;
  margin-top: 0;
  display: inline-block;
  margin-right: 1rem;
  vertical-align: top;
}

#types .glass p.flex-grow-1 {
  font-size: 0.77rem !important;
  line-height: 1.4 !important;
  margin-bottom: 0 !important;
  position: relative;
  z-index: 2;
  margin-top: 0;
  display: inline-block;
  margin-right: 1rem;
  flex-grow: 0 !important;
  text-align: left;
  vertical-align: top;
}

#types .glass .btn-learn-more {
  font-size: 0.77rem !important;
  padding: 0.56rem 1.05rem !important;
  position: relative;
  z-index: 2;
  display: inline-block;
  vertical-align: top;
  text-align: left;
  margin: 0;
}

#types .img-slot {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Стили для буллетов */
ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

ul li::before {
  content: "•";
  color: #020827;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
}

/* Стили для буллетов в стеклянных карточках */
.glass ul li::before,
.glass-xl ul li::before {
  color: #020827;
}

/* Визуальные заглушки (если решите не использовать изображения) */
.shadow-inset{box-shadow: none}
.grid-logos{grid-template-columns:repeat(3,1fr);gap:.5rem}

/* Footer */
footer{background:var(--deeper); color:#ffffff !important; border-top:1px solid var(--ink-700)}
footer .row{align-items: flex-start !important;}
footer .list-unstyled a{color:#ffffff !important}
footer ul li::before {
  display: none !important;
}
footer .h5, footer p, footer .small, footer div {
  color: #ffffff !important;
}
footer .list-unstyled a:hover{
  color: #A1FA85 !important;
  text-decoration: underline !important;
}

/* Стили для ссылок в футере */
footer .link-fade {
  color: #ffffff !important;
  text-decoration: none !important;
}

footer .link-fade:hover {
  color: #A1FA85 !important;
  text-decoration: underline !important;
}

/* Отступ для левого столбца в футере */
footer .col-6.col-lg-3:first-child {
  padding-left: 0;
  padding-right: 0;
  margin-left: 2rem;
}

/* Карточки в блоке "Этапы вычисления" — темно-зеленый стиль */
#algo .step-card{
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  color: #64697B !important;
  border-radius: 12px;
  padding: 1.5rem !important;
}
#algo .step-card h3{ 
  color: #020827 !important;
  font-weight: 500;
}
#algo .step-card p{ 
  color: #64697B !important;
}
#algo .step-card .step-head{
  background: #B0FF99;
  border: none;
  color: #064E2C !important;
  border-radius: 8px;
  font-weight: 500;
}
#algo .step-card * {
  color: inherit !important;
}

/* Заголовок блока алгоритма */
#algo h2 {
  color: #ffffff;
  font-weight: 400;
}

/* Все заголовки в блоке алгоритма */
#algo h3,
#algo h4,
#algo h5,
#algo h6 {
  color: #ffffff !important;
}

/* Таблица плана партнерства */
.table th {
  border-bottom: 2px solid var(--border-light);
  padding: 1rem 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}
.table td {
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.badge.rounded-circle {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Три типа кнопок */

/* 1. Текстовая кнопка (Sign In) - без фона */
.btn-text {
  background: transparent;
  color: var(--text-dark);
  border: none;
  padding: 0.5rem 0;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-text:hover {
  color: var(--ink-700);
  text-decoration: none;
}

/* 2. Светлая кнопка (Get Started) - светло-зеленый фон */
.btn-light {
  background: #9FE29E;
  color: var(--text-dark);
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: none;
}

.btn-light:hover {
  background: #8DD88D;
  color: var(--text-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: none;
}

/* 3. Темная кнопка (Go to newsroom) - темно-зеленый фон с иконкой */
.btn-dark {
  background: #013D3D;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
}

.btn-dark:hover {
  background: #015555;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: none;
}

.btn-dark .btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn-dark:hover .btn-icon {
  transform: translateX(2px);
}

/* Адаптивность для кнопок */
@media (max-width: 576px) {
  .btn-light,
  .btn-dark {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .btn-text {
    font-size: 0.9rem;
  }
  
  /* Адаптивные закругления для мобильных */
  img {
    border-radius: 8px;
  }
  
  .img-slot {
    border-radius: 8px;
  }
  
  .media-slot img {
    border-radius: 8px;
  }
  
  .hero-video {
    border-radius: 12px;
  }
}

/* Documents page: center text+download on mobile */
@media (max-width: 576px) {
  .documents-page .doc-card-content{
    text-align: center;
  }
  .documents-page .doc-download-link{
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Expert review page: force light "converted" header (desktop/top) */
.expert-review-page .nav-glass.nav-light{
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  box-shadow: 0 18px 50px -28px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.85) !important;
}
.expert-review-page .nav-glass.nav-light .navbar-brand{
  color: #020827 !important;
}
.expert-review-page .nav-glass.nav-light .nav-link{
  color: #020827 !important;
}
.expert-review-page .nav-glass.nav-light .nav-link:hover{
  color: #020827 !important;
  background: rgba(0,0,0,.05) !important;
}