/* Общая шапка всех сайтов isokov.uz (хаб, резюме, страницы приложений,
   arzontop.isokov.uz). Разметку рисует js/eco.js в <div data-eco="…">.
   Все классы начинаются с eco-, чтобы не пересекаться со стилями страниц. */
.eco { position: relative; z-index: 120; height: 42px; box-sizing: border-box; background: #07090b; border-bottom: 1px solid #1d232b;
  font: 500 13.5px/1 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #9aa5b1; }
.eco *, .eco *::before, .eco *::after { box-sizing: border-box; }
.eco a { color: inherit; text-decoration: none; }
.eco-in { height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 2px; }
.eco-logo { font: 600 15px/1 "Oswald", "Segoe UI", Roboto, sans-serif; letter-spacing: .08em; color: #eef1f4 !important; margin-right: 16px; white-space: nowrap; }
.eco-logo i { color: #c7d300; font-style: normal; }
.eco-tab { display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0 11px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.eco-tab:hover { color: #eef1f4; }
.eco-tab.eco-on { color: #eef1f4; border-color: #c7d300; }
.eco-tab.eco-on svg { color: #c7d300; }
.eco-sp { margin-left: auto; }
.eco-chat { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(199,211,0,.45); color: #c7d300 !important; font-weight: 600; white-space: nowrap; }
.eco-chat:hover { background: rgba(199,211,0,.1); }
.eco a:focus-visible { outline: 2px solid #c7d300; outline-offset: 2px; }
.eco svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eco-chat svg { width: 16px; height: 16px; stroke-width: 2; }
/* переключатель языка — один на все сайты */
.eco-lang { position: relative; margin-right: 10px; }
.eco-lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; cursor: pointer;
  font: 700 12px/1 "Segoe UI", Roboto, sans-serif; letter-spacing: .04em; white-space: nowrap; }
.eco-lang summary::-webkit-details-marker { display: none; }
.eco-lang summary:hover, .eco-lang[open] summary { color: #eef1f4; background: #12161b; }
.eco-lang summary svg { width: 16px; height: 16px; }
.eco-lang summary:focus-visible, .eco-lang-menu a:focus-visible, .eco-lang-menu button:focus-visible { outline: 2px solid #c7d300; outline-offset: 2px; }
.eco-lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 130; display: grid; min-width: 170px; padding: 6px;
  background: #12161b; border: 1px solid #2a323c; border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .5); }
.eco-lang-menu a, .eco-lang-menu button { all: unset; box-sizing: border-box; display: block; padding: 8px 12px; border-radius: 8px; cursor: pointer;
  font: 500 14px/1.2 "Segoe UI", Roboto, sans-serif; color: #eef1f4; white-space: nowrap; }
.eco-lang-menu a:hover, .eco-lang-menu button:hover { background: #1b2129; }
.eco-lang-menu [aria-current] { color: #c7d300; font-weight: 700; }

@media (max-width: 560px) {
  .eco-in { padding: 0 12px; }
  .eco-logo { margin-right: 6px; }
  .eco-tab { padding: 0 8px; gap: 6px; }
  .eco-chat { width: 30px; padding: 0; justify-content: center; }
  .eco-chat span { display: none; }
  .eco-lang { margin-right: 6px; }
  .eco-lang summary { padding: 0 6px; }
}

/* Страница с закреплённой шапкой (резюме): общая шапка над ней и при прокрутке
   уезжает, а закреплённая шапка страницы поднимается на её место (--eco-off). */
body.eco-push { padding-top: 42px; }
body.eco-push .eco-slot { position: absolute; top: 0; left: 0; right: 0; }
body.eco-push .site-header { top: var(--eco-off, 42px); }
@media (max-width: 980px) { body.eco-push .nav-links { top: calc(74px + var(--eco-off, 42px)); } }
