/* ==========================================================================
   StoStreet — шапка на планшеті та десктопі
   Підключати ПІСЛЯ main.css і mobile.css.
   ========================================================================== */

/* --- Загальне (усі ширини) ------------------------------------------- */
.c-call__hours { display: none; }
.c-call__numbers { display: inline-flex; flex-direction: column; }
.c-call__icon { display: inline-flex; color: #666; vertical-align: middle; }
.c-call__phone { display: flex; align-items: center; }

/* --- Десктоп від 992px: один ряд, шапка завжди зверху ----------------- */
@media (min-width: 992px) {
  :root { --hdr-d: 88px; --hdr-d-scrolled: 64px; }

  body { padding-top: var(--hdr-d); }

  .w-header,
  body.fixed .w-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 20;
    height: var(--hdr-d);
    padding: 0;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    transition: height .25s ease, box-shadow .25s ease; }
  body.is-scrolled .w-header {
    height: var(--hdr-d-scrolled);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .12); }
  .w-header .container,
  .w-header .row { height: 100%; }
  .w-header .row {
    flex-wrap: nowrap;
    align-items: center; }
  .w-header .row > .c-logo,
  .w-header .row > .c-navigation,
  .w-header .row > .c-call {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    margin-left: 0;
    padding: 0; }

  /* Логотип: назва + один рядок замість чотирьох */
  .c-logo__link { color: inherit; }
  .c-logo__image,
  body.fixed .c-logo__image {
    width: 54px;
    height: auto;
    margin-right: 12px;
    transition: width .25s ease; }
  body.is-scrolled .c-logo__image { width: 40px; }
  .c-logo__name,
  body.fixed .c-logo__name { align-items: flex-start; font-size: 16px; }
  .c-logo__first-line { font-size: 34px; line-height: .95; letter-spacing: .02em; }
  .c-logo__tagline { display: none; }
  .c-logo__short {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #666;
    white-space: nowrap; }
    .c-logo__short b { color: #0d46a0; }

  /* Меню по центру, жовта лінія під активним пунктом */
  .c-navigation {
    flex: 1 1 auto !important;
    order: 0;
    display: flex;
    justify-content: center;
    margin: 0; }
  .c-navigation__list { justify-content: center; gap: 4px; }
  .c-navigation__link {
    padding: 8px 14px;
    font-size: 22px;
    line-height: 1;
    color: #1e201d; }
    .c-navigation__link:before { display: none; }
    .c-navigation__link:after {
      content: '';
      position: absolute;
      left: 14px; right: 14px; bottom: 0;
      height: 3px;
      background: #ffea00;
      transform: scaleX(0);
      transition: transform .2s ease; }
    .c-navigation__link:hover,
    .c-navigation__link:focus,
    .c-navigation__link.active { color: #0d46a0; }
    .c-navigation__link:hover:after,
    .c-navigation__link:focus:after,
    .c-navigation__link.active:after { transform: scaleX(1); }

  /* Телефон: синя іконка, «працюємо цілодобово», чіткий номер */
  .c-call { flex-direction: row; align-items: center; }
  .c-call__wrap {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    width: auto; }
  .c-call__phone,
  body.fixed .c-call__phone { display: flex; gap: 10px; }
  .c-call__icon {
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px; height: 40px;
    margin: 0;
    border-radius: 50%;
    background: #0d46a0;
    color: #fff; }
  .c-call__hours {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1.2;
    color: #666;
    white-space: nowrap; }
  .c-call__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #1db954;
    box-shadow: 0 0 0 3px rgba(29, 185, 84, .2); }
  .c-call__phone a {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: .01em;
    color: #1e201d;
    white-space: nowrap; }
    .c-call__phone a:hover,
    .c-call__phone a:focus { color: #0d46a0; }
  .c-call__button,
  body.fixed .c-call__button {
    margin: 0 6px 0 0;
    padding: 11px 18px;
    font-size: 20px;
    line-height: 1;
    white-space: nowrap; }
}

/* 992–1199px: компактніше, щоб усе вмістилося в один ряд */
@media (min-width: 992px) and (max-width: 1199px) {
  .c-navigation__link { padding: 8px 9px; font-size: 20px; }
    .c-navigation__link:after { left: 9px; right: 9px; }
  .c-call__wrap { gap: 14px; }
  .c-call__icon { display: none; }
  .c-call__phone a { font-size: 18px; }
  .c-call__button,
  body.fixed .c-call__button { padding: 10px 14px; font-size: 18px; }
}
