/* ═══════════════════════════════════════════════
   Propertytasker B2C Sticky Header
   Version: 0.5.0
   ═══════════════════════════════════════════════ */

/* ── Variables (on :root so body-level mobile menu inherits them) ── */
:root {
  --pt-h-ink: #20222d;
  --pt-h-soft: #6b7280;
  --pt-h-accent: #f16b7f;
  --pt-h-accent-hover: #ea5468;
  --pt-h-glass-bg: rgba(255, 255, 255, 0.75);
  --pt-h-glass-border: rgba(15, 23, 42, 0.06);
  --pt-h-glass-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  --pt-h-glass-shadow-scrolled: 0 4px 24px rgba(15, 23, 42, 0.08);
  --pt-h-font: "Manrope", "Segoe UI", sans-serif;
  --pt-h-radius: 10px;
  --pt-h-height: 72px;
  --pt-h-z: 1000;
}

/* ── Base Header ── */
.pt-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--pt-h-z);
  height: var(--pt-h-height);
  background: var(--pt-h-glass-bg);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--pt-h-glass-border);
  box-shadow: var(--pt-h-glass-shadow);
  font-family: var(--pt-h-font);
  transition: box-shadow 0.3s ease, background 0.3s ease;
  overflow: visible;
}

.pt-header.is-scrolled {
  box-shadow: var(--pt-h-glass-shadow-scrolled);
  background: rgba(255, 255, 255, 0.85);
}

/* ── Inner Container ── */
.pt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  gap: 12px;
}

/* ── Left: Logo + Nav ── */
.pt-header__left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.pt-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.pt-header__logo img,
.pt-header__logo svg {
  height: 38px;
  width: auto;
  display: block;
}

/* ── Nav Links ── */
.pt-header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pt-header__nav-link {
  font-family: var(--pt-h-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  color: var(--pt-h-ink);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.pt-header__nav-link:hover,
.pt-header__nav-link:focus {
  color: var(--pt-h-accent);
  background: rgba(241, 107, 127, 0.06);
  text-decoration: none;
  outline: 0;
}

.pt-header__nav-link.is-active {
  color: var(--pt-h-accent);
}

/* ── Categories dropdown wrapper inside header ── */
.pt-header__nav .propertytasker-categories-menu-wrap {
  gap: 0;
}

.pt-header__nav .propertytasker-how-it-works-link {
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.pt-header__nav .propertytasker-how-it-works-link:hover {
  background: rgba(241, 107, 127, 0.06);
}

.pt-header__nav .propertytasker-categories-menu__toggle {
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.pt-header__nav .propertytasker-categories-menu__toggle:hover,
.pt-header__nav .propertytasker-categories-menu.is-open .propertytasker-categories-menu__toggle {
  background: rgba(241, 107, 127, 0.06) !important;
}

/* ── Right: Action Buttons ── */
.pt-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pt-header__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pt-h-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 20px;
  border-radius: var(--pt-h-radius);
  border: 1.5px solid var(--pt-h-glass-border);
  background: #fff;
  color: var(--pt-h-ink);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pt-header__btn:hover {
  border-color: rgba(241, 107, 127, 0.3);
  color: var(--pt-h-accent);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(241, 107, 127, 0.1);
}

.pt-header__btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pt-header__btn-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── CTA (Post a task) ── */
.pt-header__btn--cta {
  background: linear-gradient(180deg, var(--pt-h-accent) 0%, var(--pt-h-accent-hover) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(241, 107, 127, 0.2);
}

.pt-header__btn--cta:hover {
  background: var(--pt-h-accent-hover);
  color: #fff;
  box-shadow: 0 4px 16px rgba(241, 107, 127, 0.3);
  transform: translateY(-1px);
}

/* ── Hamburger Button ── */
.pt-header__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.pt-header__hamburger:hover {
  background: rgba(241, 107, 127, 0.06);
}

.pt-header__hamburger-line {
  display: block;
  position: absolute;
  left: 9px;
  width: 22px;
  height: 2px;
  background: var(--pt-h-ink);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.pt-header__hamburger-line:nth-child(1) { top: 12px; }
.pt-header__hamburger-line:nth-child(2) { top: 19px; }
.pt-header__hamburger-line:nth-child(3) { top: 26px; }

/* Hamburger → X animation */
.pt-header.is-menu-open .pt-header__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pt-header.is-menu-open .pt-header__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.pt-header.is-menu-open .pt-header__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
.pt-header__mobile-menu {
  display: none;
  position: fixed;
  top: var(--pt-h-height);
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.1);
  padding: 24px 20px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-direction: column;
  gap: 8px;
}

.pt-header__mobile-backdrop {
  display: none;
  position: fixed;
  top: var(--pt-h-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background: rgba(15, 23, 42, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pt-header.is-menu-open .pt-header__mobile-menu,
.pt-header__mobile-menu.is-open {
  transform: translateX(0);
}

.pt-header.is-menu-open .pt-header__mobile-backdrop,
.pt-header__mobile-backdrop.is-open {
  opacity: 1;
}

/* Mobile menu nav links */
.pt-header__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}

.pt-header__mobile-link {
  font-family: var(--pt-h-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--pt-h-ink);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.18s ease, color 0.18s ease;
}

.pt-header__mobile-link:hover,
.pt-header__mobile-link:active {
  background: rgba(241, 107, 127, 0.06);
  color: var(--pt-h-accent);
  text-decoration: none;
}

/* Mobile divider */
.pt-header__mobile-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.06);
  margin: 8px 0 16px;
}

/* Mobile action buttons stacked */
.pt-header__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pt-header__mobile-actions .pt-header__btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 15px;
}

/* ── Body scroll lock ── */
body.pt-header-menu-open {
  overflow: hidden;
}

/* ═══════════════════════════════════
   Responsive: Tablet (<=1024px)
   ═══════════════════════════════════ */
@media (max-width: 1024px) {
  .pt-header__inner {
    padding: 0 16px;
  }

  .pt-header__left {
    gap: 16px;
  }

  .pt-header__nav-link,
  .pt-header__nav .propertytasker-how-it-works-link,
  .pt-header__nav .propertytasker-categories-menu__toggle {
    font-size: 14px;
    padding: 6px 8px;
  }

  .pt-header__btn {
    font-size: 13px;
    padding: 8px 14px;
  }

  .pt-header__btn-icon {
    width: 16px;
    height: 16px;
  }
}

/* ═══════════════════════════════════
   Responsive: Mobile (<=768px)
   ═══════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --pt-h-height: 60px;
  }

  .pt-header {
    --pt-h-height: 60px;
  }

  .pt-header__inner {
    padding: 0 14px;
  }

  .pt-header__logo img,
  .pt-header__logo svg {
    height: 32px;
  }

  /* Hide desktop nav + actions */
  .pt-header__nav,
  .pt-header__actions {
    display: none;
  }

  /* Show hamburger */
  .pt-header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Show mobile menu + backdrop */
  .pt-header__mobile-menu,
  .pt-header__mobile-backdrop {
    display: flex;
  }

  /* Categories menu inside mobile */
  .pt-header__mobile-nav .propertytasker-categories-menu-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .pt-header__mobile-nav .propertytasker-how-it-works-link {
    display: block;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu {
    display: block;
    width: 100%;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__toggle {
    font-size: 16px;
    padding: 12px 14px;
    width: 100%;
    justify-content: space-between;
    border-radius: 10px;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__toggle:hover {
    background: rgba(241, 107, 127, 0.06) !important;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__dropdown {
    position: static;
    transform: none;
    width: 100%;
    border-radius: 12px;
    margin-top: 6px;
    box-shadow: none;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fafbfc;
    max-height: 50vh;
    overflow-y: auto;
    padding: 4px;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu.is-open .propertytasker-categories-menu__dropdown {
    transform: none;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__dropdown[hidden] {
    transform: none;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__list {
    display: flex;
    flex-direction: column;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__mothers {
    max-height: none;
    overflow: visible;
    border-radius: 10px;
    background: transparent;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__group {
    margin-bottom: 1px;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__mother {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 8px;
    border-bottom: 0;
    background: #fff;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__mother:hover,
  .pt-header__mobile-nav .propertytasker-categories-menu__mother.is-active {
    background: #fef1f4;
    color: #f16b7f;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__group-caret {
    font-size: 16px;
    transition: transform 0.25s ease, color 0.15s ease;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__mother.is-active .propertytasker-categories-menu__group-caret {
    transform: rotate(90deg);
    color: #f16b7f;
  }

  /* Flyout: inline accordion style on mobile */
  .pt-header__mobile-nav .propertytasker-categories-menu__flyout {
    position: static;
    width: 100%;
    border-radius: 0 0 8px 8px;
    box-shadow: none;
    border: 0;
    opacity: 1;
    transform: none;
    margin-top: -1px;
    margin-bottom: 2px;
    background: #fff;
    border-left: 3px solid #f16b7f;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__flyout[hidden] {
    display: none;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__sublist {
    max-height: none;
    padding: 4px 0;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__subitem {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    color: #4b5563;
    border-bottom: 0;
    border-radius: 0;
    transition: background 0.12s ease, color 0.12s ease;
  }

  .pt-header__mobile-nav .propertytasker-categories-menu__subitem:hover {
    background: #fef5f7;
    color: #f16b7f;
  }
}

/* ═══════════════════════════════════
   Responsive: Small Mobile (<=400px)
   ═══════════════════════════════════ */
@media (max-width: 400px) {
  .pt-header__inner {
    padding: 0 10px;
  }

  .pt-header__logo img,
  .pt-header__logo svg {
    height: 28px;
  }

  .pt-header__mobile-menu {
    width: 100vw;
    padding: 20px 16px 40px;
  }
}

/* ═══════════════════════════════════
   Post a Task Modal
   ═══════════════════════════════════ */
.pt-post-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pt-post-modal[hidden] {
  display: none;
}

.pt-post-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pt-post-modal.is-open .pt-post-modal__backdrop {
  opacity: 1;
}

.pt-post-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(92vw, 420px);
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pt-post-modal.is-open .pt-post-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pt-post-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9ca3af;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.pt-post-modal__close:hover {
  background: #f3f4f6;
  color: #374151;
}

.pt-post-modal__illustration {
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
}

.pt-post-modal__illustration img,
.pt-post-modal__illustration svg {
  width: 140px;
  height: auto;
  object-fit: contain;
}

.pt-post-modal__title {
  font-family: var(--pt-h-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--pt-h-ink);
  margin: 0 0 10px;
}

.pt-post-modal__copy {
  font-family: var(--pt-h-font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--pt-h-soft);
  margin: 0 0 24px;
}

.pt-post-modal__btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  border-radius: 10px;
  font-family: var(--pt-h-font);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
}

.pt-post-modal__btn--primary {
  background: linear-gradient(180deg, var(--pt-h-accent) 0%, var(--pt-h-accent-hover) 100%);
  color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(241, 107, 127, 0.2);
}

.pt-post-modal__btn--primary:hover {
  background: var(--pt-h-accent-hover);
  color: #fff;
  box-shadow: 0 4px 16px rgba(241, 107, 127, 0.3);
  transform: translateY(-1px);
  text-decoration: none;
}

.pt-post-modal__btn--secondary {
  background: #fff;
  color: var(--pt-h-ink);
  border-color: #e5e7eb;
}

.pt-post-modal__btn--secondary:hover {
  border-color: rgba(241, 107, 127, 0.3);
  color: var(--pt-h-accent);
  background: #fff;
  text-decoration: none;
}

@media (max-width: 480px) {
  .pt-post-modal__dialog {
    padding: 28px 20px 24px;
    border-radius: 14px;
  }

  .pt-post-modal__title {
    font-size: 18px;
  }
}

/* ═══════════════════════════════════════════════
   B2B Header Overrides
   Uses .pt-header as base, .pt-header--b2b for specifics
   ═══════════════════════════════════════════════ */

/* ── B2B Nav Dropdowns (Desktop) ── */
.pt-header__dropdown {
  position: relative;
  display: inline-flex;
}

.pt-header__dropdown-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pt-header__dropdown-caret {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
  opacity: 0.6;
}

.pt-header__dropdown.is-open .pt-header__dropdown-caret {
  transform: rotate(180deg);
}

.pt-header__dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  z-index: 100;
  min-width: 220px;
  white-space: nowrap;
  padding: 10px 0 6px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Invisible bridge between toggle and menu so mouse can travel safely */
.pt-header__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.pt-header__dropdown.is-open .pt-header__dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pt-header__dropdown-menu {
  display: flex;
  flex-direction: column;
}

.pt-header__dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-family: var(--pt-h-font);
  font-size: 14px;
  font-weight: 500;
  color: #20222d;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.pt-header__dropdown-item:hover {
  background: #fef5f7;
  color: #f16b7f;
  text-decoration: none;
}

/* ── B2B Mobile Accordion ── */
.pt-header__mobile-accordion {
  display: flex;
  flex-direction: column;
}

.pt-header__mobile-accordion-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}

.pt-header__mobile-accordion-caret {
  font-size: 12px;
  line-height: 1;
  transition: transform 0.25s ease;
  opacity: 0.5;
}

.pt-header__mobile-accordion-toggle.is-open .pt-header__mobile-accordion-caret {
  transform: rotate(180deg);
  opacity: 1;
  color: #f16b7f;
}

.pt-header__mobile-accordion-toggle.is-open {
  color: #f16b7f;
}

.pt-header__mobile-accordion-panel {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  border-left: 3px solid #f16b7f;
  margin: 4px 0 8px 14px;
}

.pt-header__mobile-accordion-panel[hidden] {
  display: none;
}

.pt-header__mobile-sublink {
  font-family: var(--pt-h-font);
  font-size: 15px;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.pt-header__mobile-sublink:hover {
  background: rgba(241, 107, 127, 0.06);
  color: #f16b7f;
  text-decoration: none;
}

/* B2B has more nav items, needs wider spacing */
.pt-header--b2b .pt-header__nav {
  gap: 2px;
}

.pt-header--b2b .pt-header__nav-link {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 10px;
}

/* B2B action buttons: Find Contractors (accent), Login (outline), Sign up (accent) */
.pt-header--b2b .pt-header__actions {
  gap: 8px;
}

.pt-header--b2b .pt-header__btn--find {
  background: #bf133c;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(191, 19, 60, 0.2);
  padding: 9px 18px;
  font-size: 13px;
}

.pt-header--b2b .pt-header__btn--find:hover {
  background: #a8102f;
  color: #fff;
  box-shadow: 0 4px 16px rgba(191, 19, 60, 0.3);
  transform: translateY(-1px);
}

.pt-header--b2b .pt-header__btn--login {
  padding: 9px 18px;
  font-size: 13px;
  background: #fff;
  border-color: #e0e3ea;
  color: var(--pt-h-ink);
}

.pt-header--b2b .pt-header__btn--login:hover {
  border-color: rgba(241, 107, 127, 0.3);
  color: var(--pt-h-accent);
}

.pt-header--b2b .pt-header__btn--signup {
  background: linear-gradient(180deg, var(--pt-h-accent) 0%, var(--pt-h-accent-hover) 100%);
  color: #fff;
  border-color: transparent;
  padding: 9px 18px;
  font-size: 13px;
}

.pt-header--b2b .pt-header__btn--signup:hover {
  background: var(--pt-h-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* B2B tablet */
@media (max-width: 1100px) {
  .pt-header--b2b .pt-header__nav-link {
    font-size: 13px;
    padding: 6px 6px;
  }

  .pt-header--b2b .pt-header__btn--find,
  .pt-header--b2b .pt-header__btn--login,
  .pt-header--b2b .pt-header__btn--signup {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* B2B mobile: same hamburger as B2C, all nav stacked */
@media (max-width: 900px) {
  .pt-header--b2b .pt-header__nav,
  .pt-header--b2b .pt-header__actions {
    display: none;
  }

  .pt-header--b2b .pt-header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Elements moved to body via JS, so target by own class */
  .pt-header__mobile-menu--b2b,
  .pt-header__mobile-backdrop--b2b {
    display: flex;
  }
}

/* B2B mobile nav links - stacked vertically */
.pt-header__mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

/* B2B mobile actions: style Find Contractors as full-width CTA */
.pt-header__mobile-menu--b2b .pt-header__mobile-actions .pt-header__btn--find {
  background: #bf133c;
  color: #fff;
  border-color: transparent;
}

.pt-header__mobile-menu--b2b .pt-header__mobile-actions .pt-header__btn--signup {
  background: linear-gradient(180deg, var(--pt-h-accent) 0%, var(--pt-h-accent-hover) 100%);
  color: #fff;
  border-color: transparent;
}
