html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 640px) {
  html {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Дополнительные стили для улучшения UX */
.faq-content {
  transition: all 0.3s ease-in-out;
}

.faq-item i {
  transition: transform 0.3s ease;
}

/* Улучшение читаемости на мобильных устройствах */
@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-height: 1.6;
  }
  
  h1, h2, h3 {
    line-height: 1.3;
  }
}

/* Предотвращение горизонтальной прокрутки */
* {
  max-width: 100%;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Улучшение touch-целей для мобильных устройств */
@media (max-width: 768px) {
  button, a {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Оптимизация для печати */
@media print {
  header, footer {
    display: none;
  }
}