/* header-footer.css — used by [pm_header] and [pm_footer] only */

/* Top utility bar */
.pm-topbar {
  background: var(--pm-navy, #142057);
  color: #cfd3e8;
  font-size: 0.85rem;
}
.pm-topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pm-topbar__search {
  display: flex;
  flex: 1;
  max-width: 320px;
}
.pm-topbar__search input {
  flex: 1;
  border: none;
  padding: 6px 10px;
  border-radius: 2px 0 0 2px;
  font-size: 0.85rem;
}
.pm-topbar__search button {
  background: #3d4a8a;
  border: none;
  color: #fff;
  padding: 0 12px;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.pm-topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.pm-topbar__phone,
.pm-topbar__contact {
  color: #cfd3e8;
  text-decoration: none;
}
.pm-topbar__contact { text-decoration: underline; }
.pm-topbar__social { display: flex; gap: 10px; }
.pm-topbar__social a {
  color: #cfd3e8;
  text-decoration: none;
  font-size: 0.75rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main nav */
.pm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--pm-border);
  max-width: 1200px;
  margin: 0 auto;
}
.pm-header__logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--pm-navy, #142057);
  text-decoration: none;
}
.pm-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.pm-header__nav a {
  text-decoration: none;
  color: var(--pm-text);
  font-size: 0.95rem;
}
.pm-header__cta {
  background: var(--pm-navy, #142057);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--pm-radius);
}
.pm-header__messages {
  position: relative;
}
.pm-header__unread-badge {
  background: #d63638;
  color: #fff;
  font-size: 0.7rem;
  border-radius: 10px;
  padding: 1px 6px;
  margin-left: 4px;
}

/* Footer */
.pm-footer {
  background: var(--pm-navy, #142057);
  color: #cfd3e8;
  margin-top: 40px;
}
.pm-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.85rem;
}
.pm-footer__links a {
  margin-left: 16px;
  color: #cfd3e8;
  text-decoration: none;
}
@media (max-width: 700px) {
  .pm-topbar__inner, .pm-header__inner, .pm-footer__inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .pm-topbar__search { max-width: 100%; }
}
