/* Общая навигация статического сайта. Ссылки доступны без JavaScript. */
.site-header { position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 14px max(20px, calc((100vw - 1280px)/2)); background: #11151c; color: #edeff2; border-bottom: 1px solid #343b46; font-family: 'Onest', sans-serif; }
.site-header .brand { color: #edeff2; text-decoration: none; }
.site-header .site-nav { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 auto; }
.site-header .site-nav a, .site-header summary, .site-header .nav-contact { color: #edeff2; text-decoration: none; font: 14px 'Onest', sans-serif; }
.site-header summary { cursor: pointer; padding: 8px 0; }
.site-header .site-nav > a { padding: 8px 0; }
.site-header a:hover { color: #ff657f; }
.site-header details { position: relative; }
.site-header .nav-panel { position: absolute; top: 100%; left: 0; min-width: 260px; max-height: 65vh; overflow: auto; padding: 20px; background: #171c25; border: 1px solid #454e5e; box-shadow: 0 16px 32px #0005; }
.site-header .nav-panel a { display: block; padding: 9px 0; line-height: 1.4; }
.site-header .nav-panel strong { display: block; color: #aeb8c6; font-size: 12px; margin: 12px 0 4px; }
.site-header .nav-cta { color: #fff; background: #c9002b; padding: 11px 14px; border-radius: 3px; text-decoration: none; white-space: nowrap; font-size: 14px; }
.site-header a:focus-visible, .site-header summary:focus-visible, .route-grid a:focus-visible { outline: 3px solid #ff657f; outline-offset: 4px; }
.route-section { padding: 44px max(24px, calc((100vw - 1120px)/2)); background: #f7f8f9; color: #16181d; scroll-margin-top: 100px; font-family: 'Onest', sans-serif; }
.route-section h2 { font-family: 'Unbounded', sans-serif; font-size: clamp(22px, 3vw, 30px); margin: 0 0 24px; }
.route-section h3 { font-size: 18px; margin: 0 0 10px; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.route-grid > a, .route-grid > div { padding: 24px; background: white; border: 1px solid #d8dce2; color: #16181d; text-decoration: none; }
.route-grid > a:hover { border-color: #c9002b; }
.route-grid p { color: #5a6270; line-height: 1.6; margin: 8px 0 16px; }
.route-grid a { color: #a80024; }
.route-grid > a { color: #16181d; }
.route-grid ul { padding-left: 18px; line-height: 1.8; }
.route-grid .route-link { display: block; margin-top: 12px; }
.route-section .route-note { color: #5a6270; line-height: 1.6; }
.site-footer-nav { display: flex; flex-wrap: wrap; gap: 20px; padding: 24px; background: #11151c; }
.site-footer-nav a { color: #edeff2; font: 14px 'Onest', sans-serif; }
@media (max-width: 1100px) {
  .site-header { position: relative; }
  .site-header .site-nav { order: 3; width: 100%; margin: 0; gap: 8px 20px; }
  .site-header .nav-contact { margin-left: auto; }
}
@media (max-width: 640px) {
  .site-header .site-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .site-header details { position: static; }
  .site-header .nav-panel { position: absolute; left: 16px; right: 16px; top: 100%; min-width: 0; }
  .site-header .nav-cta { font-size: 12px; }
  .route-grid { grid-template-columns: 1fr; }
  .route-section { padding: 32px 20px; }
}
