/* Header ≥768 / ≥992. Source desktop: grid 220px | 1fr | auto, 69px tall. */
@media (min-width: 768px) {
  .app-card { display: none; }
}
@media (min-width: 992px) {
  :root { --header-h: 69px; }
  /* Source @1440: menu centred in the 675px left of a fixed 375px actions block
     (nav+actions = 1050px, right-aligned); it shrinks first on narrower screens. */
  .hdr { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 675px) auto; }
  .nav { grid-column: 3; }
  .hdr__actions { grid-column: 4; justify-content: flex-end; }
  .hdr__logo img { width: 197px; height: 35px; }

  .nav { display: flex; justify-content: center; align-self: stretch; align-items: center; }
  .nav__login, .nav__help { display: none; }
  .nav__menu { display: flex; align-items: center; }
  .nav__item { position: relative; display: flex; align-items: center; }
  .nav__link {
    position: relative; display: inline-flex; align-items: center;
    margin: 0 8px; padding: 0 8px; border-radius: 8px;
    font-size: 16px; line-height: 24px; color: var(--c-muted); white-space: nowrap;
    transition: color .2s;
  }
  .nav__link svg { width: 18px; height: 18px; margin-left: 2px; transition: transform .2s; }
  .nav__link::after {   /* active underline seen with the menu open */
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    background: var(--c-primary); transform: scaleX(0); transition: transform .2s;
  }
  .nav__link:hover, .nav__item--open > .nav__link { color: var(--c-primary); }
  .nav__item--open > .nav__link::after { transform: scaleX(1); }

  .hdr__actions .help-cta--hdr { display: flex; margin: 0 10px; text-align: right; }
  .help-cta--hdr .help-cta__phone { justify-content: flex-end; }

  .hdr__login { margin: 0 0 0 24px; padding: 15px 23px; font-size: 16px; }   /* 182×49 */
  .hdr__login-short, .hdr__burger { display: none; }
  .hdr__logo { grid-column: 1; }
  .hdr__login-long { display: inline; }

  /* Scrolled: phone CTA out, login turns outline, "Teklif Al" appears. */
  .hdr--stuck .hdr__actions .help-cta--hdr { display: none; }
  .hdr--stuck .hdr__login { background: transparent; border-color: var(--c-primary); color: var(--c-primary); padding-block: 16px; }
  .hdr__login:hover { color: var(--c-white); }
  .hdr--stuck .hdr__login:hover { color: var(--c-primary); }
  .hdr--stuck .hdr__offer { display: inline-flex; margin-left: 22px; min-width: 140px; padding: 16px 24px; font-size: 16px; }
}
/* 992–1199: the source overflows here (login button pushed off-screen). We keep
   everything on one line instead: tighter links, phone CTA moves to drawer/footer only. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav__link { margin: 0 2px; font-size: 15px; }
  .hdr__actions .help-cta--hdr { display: none; }
}
@media (min-width: 1200px) {
  .hdr__actions { min-width: 375px; }
}
