/* ===== Saarthi site header (all pages) ===== */
html {
  scroll-padding-top: 72px;
}

.sc-site-header {
  --sc-h-blue: #0066FF;
  --sc-h-ink: #1A1A1A;
  --sc-h-muted: #4B5563;
  position: sticky;
  top: 0;
  z-index: 1200;
  background: #fff;
  border-bottom: 1px solid #D6E6FF;
  box-shadow: none;
}

.sc-site-header__inner {
  /*max-width: 1280px;
  margin: 0 auto;*/
  margin: 0 200px;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px 28px;
}

.sc-site-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.sc-site-header__logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.sc-site-header__nav {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.sc-site-header__menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 2px 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-site-header__menu > li {
  display: inline-flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-site-header__link {
  position: relative;
  display: inline-block;
  padding: 8px 9px;
  color: var(--sc-h-ink);
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sc-site-header__link:hover {
  color: var(--sc-h-blue);
}

.sc-site-header__link.is-active {
  color: var(--sc-h-blue);
  font-weight: 600;
}

.sc-site-header__link.is-active::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--sc-h-blue);
}

.sc-site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.sc-site-header__help.help-btn,
.sc-site-header__help,
.sc-site-header__account {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--sc-h-ink) !important;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
}

.sc-site-header__help:hover,
.sc-site-header__account:hover {
  color: var(--sc-h-blue);
}

.sc-site-header__help-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.sc-site-header__account-ico {
  display: inline-flex;
  color: inherit;
}

.sc-site-header__call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sc-h-blue);
  color: #fff !important;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.sc-site-header__call:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.sc-site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sc-site-header__burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #212121;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sc-site-header__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.sc-site-header__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.sc-site-header__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sc-site-header__drawer {
  display: none;
  border-top: 1px solid #E8EEF8;
  background: #fff;
  padding: 8px 16px 16px;
}

.sc-site-header__drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sc-site-header__drawer-menu a {
  display: block;
  padding: 12px 8px;
  border-bottom: 1px solid #F1F5F9;
  color: var(--sc-h-ink);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.sc-site-header__drawer-menu a.is-active,
.sc-site-header__drawer-menu a:hover {
  color: var(--sc-h-blue);
}

/* Hide legacy top blue bar when new header is present */
body:has(.sc-site-header) .top-help-btn-back {
  display: none !important;
}

/* Mobile / tablet header — icon row like mock (desktop above 1100px unchanged) */
@media (max-width: 1100px) {
  .sc-site-header {
    border-bottom: 1px solid #E8EEF8;
    box-shadow: 0 1px 0 rgba(15, 27, 51, 0.04);
  }

  .sc-site-header__nav {
    display: none;
  }

  .sc-site-header__inner {
    margin: 0;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 12px;
    gap: 8px;
    min-height: 56px;
  }

  .sc-site-header__brand {
    min-width: 0;
  }

  .sc-site-header__logo {
    height: 44px;
    max-width: min(168px, 48vw);
  }

  .sc-site-header__actions {
    gap: 6px;
  }

  /* Icon-only: Help / Account labels hidden */
  .sc-site-header__help span:last-child,
  .sc-site-header__account span:last-child {
    display: none !important;
  }

  .sc-site-header__help.help-btn,
  .sc-site-header__help,
  .sc-site-header__account {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    justify-content: center;
    gap: 0;
    color: #1A1A1A !important;
  }

  .sc-site-header__help-ico {
    width: 22px;
    height: 22px;
    border-width: 1.6px;
    font-size: 13px;
    font-weight: 600;
  }

  .sc-site-header__account-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sc-site-header__account-ico svg {
    width: 22px;
    height: 22px;
  }

  /* Blue circular call — phone icon only */
  .sc-site-header__call span {
    display: none;
  }

  .sc-site-header__call {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.28);
  }

  .sc-site-header__call svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .sc-site-header__call:hover {
    transform: none;
    filter: brightness(1.05);
  }

  .sc-site-header__burger {
    display: inline-flex;
    width: 36px;
    height: 36px;
    padding: 7px 6px;
    gap: 5px;
  }

  .sc-site-header__burger span {
    height: 2px;
    background: #111827;
  }

  .sc-site-header__drawer:not([hidden]) {
    display: block;
    position: relative;
    z-index: 2;
  }

  .sc-site-header__drawer {
    padding: 4px 12px 12px;
  }
}

@media (max-width: 520px) {
  .sc-site-header__inner {
    padding: 6px 10px;
    min-height: 52px;
  }

  .sc-site-header__logo {
    height: 40px;
    max-width: min(150px, 46vw);
  }

  .sc-site-header__actions {
    gap: 4px;
  }

  .sc-site-header__help.help-btn,
  .sc-site-header__help,
  .sc-site-header__account {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }

  .sc-site-header__call {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .sc-site-header__burger {
    width: 34px;
    height: 34px;
  }
}
