/* =============================================================================
   ПРОСТЫЕ СТИЛИ ДЛЯ ВЫДЕЛЕНИЯ СЧЕТЧИКА КАНДИДАТОВ
============================================================================= */

.candidates-highlight {
  color: #007AFF;
  font-weight: 600;
}
/* В темной секции - зеленый цвет */
.dark-section .candidates-highlight {
  color: #BBFFB0;
}
/* =============================================================================
   КЛИКАБЕЛЬНЫЙ ЛОГОТИП
============================================================================= */

.brand-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.brand-link:hover {
  opacity: 0.8;
}
.brand-link:active {
  opacity: 0.6;
}
/* =============================================================================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ
============================================================================= */

.language-switcher {
  display: flex;
  background: rgba(118, 118, 128, 0.06);
  border-radius: 8px;
  padding: 2px;
  border: 1px solid var(--hairline);
}
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
  min-width: 40px;
}
.lang-btn:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}
.lang-btn.active {
  background: white;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
/* Для страницы результатов - выравнивание справа */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Адаптивность */
@media (max-width: 640px) {
  .lang-btn {
    padding: 5px 10px;
    font-size: 13px;
    min-width: 35px;
  }
.language-switcher {
    padding: 1px;
  }
}

/* =============================================================================
   МОДАЛЬНОЕ ОКНО ЗАЯВКИ
============================================================================= */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  animation: modalFadeIn 0.2s ease-out;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0;
}
.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}
.modal-close svg {
  width: 18px;
  height: 18px;
}
.modal-body {
  padding: 20px 24px 24px;
}
.modal-description {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 24px;
  text-align: center;
  line-height: 1.5;
}
/* ФОРМА */
.application-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  font-size: 16px;
  background: rgba(118, 118, 128, 0.04);
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
}
.form-input:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}
.form-input::placeholder {
  color: #999;
}
/* ЧЕКБОКС */
.checkbox-group {
  margin-top: 8px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}
.checkbox-label input[type="checkbox"] {
  display: none;
}
.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #C7C7CC;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: 1px;
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--blue);
  border-color: var(--blue);
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.checkbox-text {
  color: var(--muted);
}
.checkbox-text a {
  color: var(--blue);
  text-decoration: none;
}
.checkbox-text a:hover {
  text-decoration: underline;
}
/* КНОПКИ ФОРМЫ */
.form-actions {
  margin-top: 8px;
}
.btn-primary {
  width: 100%;
  background: var(--blue);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--blue-hover);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* СООБЩЕНИЕ ОБ УСПЕХЕ */
.success-message {
  text-align: center;
  padding: 32px 16px;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF50, #45A049);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin: 0 auto 20px;
  font-weight: 700;
}
.success-message h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.success-message p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}
/* АДАПТИВНОСТЬ МОДАЛЬНОГО ОКНА */
@media (max-width: 640px) {
  .modal-content {
    margin: 0;
    border-radius: 12px;
    max-height: 95vh;
  }
.modal-header {
    padding: 20px 20px 0;
  }
.modal-body {
    padding: 16px 20px 20px;
  }
.modal-title {
    font-size: 20px;
  }
.form-input {
    padding: 12px 14px;
    font-size: 16px;
  }
.btn-primary {
    padding: 14px;
    font-size: 17px;
  }
}

/* =============================================================================
   ITECHWISE - ОСНОВНЫЕ СТИЛИ
   Единый файл стилей для всех страниц сайта с правильными отступами
============================================================================= */

/* CSS ПЕРЕМЕННЫЕ */
:root {
  --text: #1D1D1F;
  --muted: #86868B;
  --blue: #007AFF;
  --blue-hover: #006EE6;
  --hairline: rgba(0,0,0,0.06);
  --pad-x: 16px;                  /* боковые поля на мобиле */
  --page-max: 640px;              /* общая ширина макета */
}
/* БАЗОВЫЕ СТИЛИ */
* { 
  box-sizing: border-box; 
}
html, body { 
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh; 
  background: #fff; 
  color: var(--text);
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text","Helvetica Neue", Arial, sans-serif;
  font-size: 18px; 
  line-height: 1.5;
  overflow-x: hidden;
}
/* КОНТЕЙНЕР СИСТЕМЫ */
/* Единый подход к ширине для всех страниц */
body > .container, body > #app, body > #app > .container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important; 
  margin-right: auto !important;
  padding-left: var(--pad-x) !important; 
  padding-right: var(--pad-x) !important;
}
@media (min-width: 1024px) {
  body > .container,
  body > #app,
  body > #app > .container {
    max-width: var(--page-max) !important;
    padding-left: 24px !important; 
    padding-right: 24px !important;
  }
}

/* РАЗДЕЛИТЕЛИ */
.hr {
  height: 1px;
  margin: 28px 0;
  background: transparent;
  border-top: 1px solid var(--hairline);
}
/* =============================================================================
   КОМПОНЕНТЫ
============================================================================= */

/* ХЕДЕР И НАВИГАЦИЯ */
.brandbar { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 20px 0; 
  border-bottom: 1px solid var(--hairline); 
}
.card-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 20px 0; 
  border-bottom: 1px solid var(--hairline);
  background: transparent;
}
.toolbar { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 20px 0; 
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  gap: 12px; 
}
/* ЛОГОТИП */
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}
/* Большой логотип для темной секции */
.brand-logo-large {
  height: 40px;
  margin: 0 auto 24px auto;
  display: block;
}
/* Старые стили логотипа - теперь тоже системные шрифты */
.brand { 
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  font-size: 26px; 
  letter-spacing: -0.02em; 
  color: #000; 
  font-weight: 700;
}
/* Логотип внутри заголовков наследует размер */
.h1 .brand, .h2 .brand {
  font-size: inherit;
}
.brand .itech { 
  color: #000; 
  font-style: normal; 
  font-weight: 700;
}
.brand .wise { 
  color: #000; 
  font-style: normal; 
  font-weight: 700;
}
/* БЕЙДЖИ И ЧИПЫ */
.badge { 
  font-size: 13px; 
  font-weight: 600; 
  border-radius: 8px; 
  padding: 6px 12px; 
  color: #111; 
  background: rgba(0,0,0,0.06); 
}
/* КНОПКИ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 600;
  font-size: 19px;
  cursor: pointer;
  user-select: none;
  padding: 16px 32px; 
  background: var(--blue); 
  color: #fff; 
  box-shadow: 0 2px 10px rgba(0,122,255,0.18);
  transition: background-color .15s ease, opacity .15s ease;
  letter-spacing: -0.01em; 
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  border: none;
  text-decoration: none;
  line-height: 1.3;
  min-height: 52px;
  white-space: nowrap;
}
.btn:hover { 
  background: var(--blue-hover); 
  opacity: .98; 
}
.btn[disabled] { 
  opacity: 0.3; 
  cursor: not-allowed; 
}
/* Обертка для центрирования кнопок */
.btn-center {
  display: flex;
  justify-content: center;
  margin: 8px 0; /* Уменьшенные отступы */
}
/* Универсальное центрирование кнопок */
.card-body .btn, .section .btn {
  margin: 0 auto;
  display: block;
}
.button-link { 
  text-decoration: none; 
}
.back-btn { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: var(--blue);
  cursor: pointer;
}
.back-btn:hover { 
  background: rgba(0,0,0,0.04); 
}
.back-btn svg { 
  width: 20px; 
  height: 20px; 
}
/* CTA СЕКЦИИ */
.cta { 
  padding: 4px 0; 
  display: flex; 
  justify-content: center; 
}
/* ТИПОГРАФИКА */
.hero { 
  padding: 24px 0 8px; 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
}
.h1 { 
  font-size: clamp(28px, 6vw, 36px); /* Уменьшено с 42px до 36px */
  line-height: 1.15; 
  font-weight: 800; 
  letter-spacing: -0.02em; 
  text-align: center;
  margin-bottom: 12px; /* Добавлен отступ после заголовка */
}
.h2 { 
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  color: var(--text);
  text-align: center; /* Добавлено центрирование */
}
.sub { 
  text-align: center; 
  color: var(--muted); 
  font-size: clamp(17px, 3vw, 19px); 
  line-height: 1.5; 
}
.center { 
  text-align: center; 
}
.dim { 
  font-size: 14px; 
  color: #B0B3B8;
  line-height: 1.4;
}
/* СЕКЦИИ */
.section { 
  padding: 20px 0 8px; 
}
.section-title { 
  margin-bottom: 12px; 
  font-weight: 700; 
  font-size: 24px;
  color: var(--text); 
  line-height: 1.3;
}
.card-body { 
  padding: 20px 0 12px; /* Уменьшенные отступы */
  display: flex; 
  flex-direction: column; 
  gap: 16px; /* Уменьшенный gap */
  background: transparent;
}
/* КАРТОЧКИ И ЧИПЫ */
.card { 
  border-radius: 0;
  overflow: visible;
  background: transparent; 
  backdrop-filter: none;
  -webkit-backdrop-filter: none; 
  border: none; 
  box-shadow: none;
}
.chip { 
  border-radius: 12px; 
  padding: 16px; 
  border: 1px solid var(--hairline);
  background: white;
}
.chip-label { 
  font-weight: 600; 
  text-transform: uppercase; 
  margin-bottom: 6px; 
  letter-spacing: 0.06em; 
  font-size: 12px; 
  color: #8E8E93; 
}
.chip-value { 
  font-weight: 600; 
  font-size: 19px;
  color: var(--text);
  line-height: 1.3;
}
/* ГРИД СИСТЕМЫ */
.facts { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 12px; 
}
.stat-grid { 
  display: grid; 
  grid-template-columns: 1fr 1.5fr; 
  gap: 12px; 
}
.stat-card { 
  border-radius: 12px; 
  padding: 16px; 
  border: 1px solid var(--hairline);
  background: white;
}
.stat-label { 
  font-weight: 600; 
  text-transform: uppercase; 
  margin-bottom: 6px; 
  letter-spacing: 0.04em; 
  font-size: 12px; 
  color: var(--muted); 
}
.stat-value { 
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
}
.stat-sublabel { 
  margin-top: 4px;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--muted);
  line-height: 1.3;
}
/* ШАГИ */
.steps-card { 
  border-radius: 12px; 
  border: 1px solid var(--hairline);
  background: white; 
  padding: 8px; 
}
.step { 
  display: grid; 
  grid-template-columns: 32px 1fr; 
  gap: 12px; 
  align-items: flex-start; 
  padding: 12px; 
}
.step + .step { 
  border-top: 1px solid var(--hairline);
}
.step-num { 
  width: 32px; 
  height: 32px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 700; 
  font-size: 14px; 
  color: white;
  background: var(--blue); 
}
.step-title { 
  font-weight: 600; 
  margin-bottom: 2px; 
  font-size: 18px;
  line-height: 1.3;
}
.step-text { 
  color: var(--muted); 
  font-size: 17px; 
  line-height: 1.5; 
}
/* ФОРМЫ */
.input-wrap { 
  position: relative; 
}
.input { 
  width: 100%; 
  padding: 16px 20px; 
  border-radius: 12px; 
  outline: none; 
  font-size: 18px; 
  font-weight: normal; 
  transition: all 0.2s ease;
  background: rgba(118,118,128,0.06); 
  border: 1px solid var(--hairline);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.input:focus {
  border-color: var(--blue);
  background: white;
}
/* ПОДСКАЗКИ */
.suggestions { 
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 8px;
  z-index: 1000;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: white; 
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  top: 100%; 
}
.suggestion { 
  padding: 14px 16px; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  border-radius: 8px; 
  transition: background-color 0.15s ease;
  font-size: 17px;
  line-height: 1.4;
}
.suggestion:hover { 
  background: rgba(0,122,255,0.08); 
}
.radio-dot { 
  border-radius: 50%; 
  flex-shrink: 0; 
  width: 20px; 
  height: 20px; 
  border: 2px solid #C7C7CC; 
}
.radio-dot.active { 
  border: 6px solid var(--blue); 
}
/* СТАТУСЫ И ИНДИКАТОРЫ */
.status-grid { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px; 
  margin-bottom: 16px; 
}
.status { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
  background: rgba(118,118,128,0.06); 
  color: var(--text);
  font-size: 14px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.status-bar svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}
/* ПРОГРЕСС-БАР */
.progress-wrap { 
  width: 100%; 
  border-radius: 6px; 
  overflow: hidden; 
  margin: 10px 0; 
  height: 6px;
  background: rgba(0,0,0,0.08); 
}
.progress-bar { 
  height: 100%; 
  background: #000; 
  width: 0%; 
  transition: width 0.3s ease;
}
/* ЛЕНТА ЛОГОТИПОВ */
.logo-marquee { 
  position: relative; 
  overflow: hidden; 
  margin-top: 12px; 
}
.logo-mask {
  -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
  mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
}
.logo-track {
  display: flex; 
  align-items: center; 
  gap: 28px; 
  width: max-content;
  animation: marquee 200s linear infinite; /* Замедленная анимация */
  padding: 6px 0;
}
/* Замедленная версия для страницы результатов */
.logo-track-slow {
  animation: marquee 200s linear infinite; /* Очень медленная */
}
.logo-text {
  display: inline-block; 
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  font-weight: 600; 
  font-size: 22px; 
  letter-spacing: -0.02em;
  color: #4b5563;
}
@keyframes marquee { 
  from { transform: translateX(0); }
to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) { 
  .logo-track, .logo-track-slow { animation: none; }
}

/* =============================================================================
   НОВЫЕ СТИЛИ ДЛЯ ИНСТРУКЦИЙ И ПРИМЕРОВ
============================================================================= */

/* Блок с инструкциями */
.instructions-box {
  background: rgba(0,122,255,0.03);
  border: 1px solid rgba(0,122,255,0.1);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0 0 0; /* Только сверху */
}
.instructions-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 12px;
  text-align: center;
}
.instructions-list {
  margin-bottom: 16px;
}
.instruction-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  padding: 4px 0;
}
.instruction-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.instruction-text {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
}
/* Блок с примерами */
.examples-box {
  border-top: 1px solid rgba(0,122,255,0.15);
  padding-top: 12px;
}
.example-tag:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,122,255,0.2);
}
/* ТЕМНАЯ СЕКЦИЯ СПЛОШНАЯ ДО КРАЕВ */
.dark-section {
  background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
  /* было: padding: 48px 0 0; + padding-bottom: 0; */
  padding: 48px 0 56px;                 /* добавили нижний отступ под копирайт */
  margin: 48px 0 0;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 40vh;                     /* чтобы не появлялась белая полоса на коротких страницах */
}
.dark-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
/* Контент внутри темной секции */
.dark-content {
  padding: 0 var(--pad-x);
  max-width: var(--page-max);
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 1024px) {
  .dark-content {
    padding: 0 24px;
  }
}

/* Логотип в темной секции - светло-мятный цвет */
.dark-section .brand {
  font-size: 32px;
  margin-bottom: 24px;
  color: #BBFFB0;
  display: inline-block;
}
.dark-section .brand .itech {
  color: #BBFFB0;
}
.dark-section .brand .wise {
  color: #BBFFB0;
}
/* Заголовок в темной секции */
.dark-section .h2 {
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
/* Текст в темной секции */
.dark-section .sub {
  margin-bottom: 36px;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
/* Кнопка в темной секции */
.dark-section .btn {
  background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
  box-shadow: 
    0 8px 32px rgba(0,122,255,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}
/* Логотипы компаний в темной секции */
.dark-section .logo-text {
  color: rgba(255,255,255,0.7);
}
/* Футер в темной секции */
.dark-section .footer {
  margin-top: 48px;
  /* было: padding: 32px 0 0; padding-bottom: 0; */
  padding: 32px 0 24px;                 /* низ не обрезаем, добавили 24px */
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
.dark-section .footer a {
  color: rgba(255,255,255,0.6);
}
.dark-section .footer a:hover {
  color: rgba(255,255,255,0.9);
}
/* ФУТЕР */
.footer { 
  margin-top: 32px; 
  padding: 24px 0 32px; 
  border-top: 1px solid var(--hairline);
  color: #6b7280; 
  font-size: 13px; 
}
.footer a { 
  color: #6b7280; 
  text-decoration: none; 
}
.footer a:hover { 
  text-decoration: underline; 
}
.footer-links { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 12px; 
  justify-content: center; 
}
.footer-copy { 
  margin-top: 12px; 
  text-align: center; 
}
/* =============================================================================
   АДАПТИВНОСТЬ
============================================================================= */

/* Мобильные улучшения */
@media (max-width: 640px) {
  .chip-grid { 
    grid-template-columns: 1fr; 
  }
.step { 
    gap: 8px; 
  }
.step-num { 
    width: 28px; 
    height: 28px; 
    font-size: 12px; 
  }
.instructions-box {
    margin: 16px 0 0 0;
    padding: 12px;
  }
.instruction-item {
    gap: 8px;
    margin-bottom: 6px;
  }
.instruction-number {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
.instruction-text {
    font-size: 15px;
  }
.card-body {
    gap: 12px;
    padding: 16px 0 8px;
  }
}
/* Utility extracted from Tailwind (removed CDN): */
.mt-3 {margin-top:0.75rem;}