/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */

.site-header {
  width: 100%;
  background-color: var(--color-white);
  flex-shrink: 0;
}

/* ── Header top: callback left | brand centered ───────── */
.header-top {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 16px 16px 0;
}

/* Phone + label — pinned top-left */
.header-callback {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
}

.header-callback__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.header-callback__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-callback__label {
  font-size: 10px;
  color: var(--color-mid-gray);
  white-space: nowrap;
}

/* Brand: logo + tagline */
.header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.header-logo {
  width: 138px;
  height: 51px;
  flex-shrink: 0;
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-tagline {
  font-size: 12px;
  line-height: 1.21;
  text-align: center;
  color: var(--color-dark);
}

/* ── Navigation bar ───────────────────────────────────── */
.header-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
}

.header-nav .btn {
  box-shadow: var(--shadow-card);
}

/* ── Burger button (hidden on desktop) ───────────────────── */
.header-burger {
  display: none;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.header-burger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Mobile nav overlay ─────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.mobile-nav--open {
  display: block;
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 80%;
  height: 100%;
  background-color: var(--color-white);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
  padding: 16px;
}

.mobile-nav-overlay.mobile-nav--open .mobile-nav {
  transform: translateX(0);
}

.mobile-nav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 48px;
}

.mobile-nav__links .btn {
  width: 100%;
  text-align: left;
}
