/* Header */

.wcp-header-scope { display: contents; }

    * {
      box-sizing: border-box;
    }
a {
      text-decoration: none;
      color: inherit;
    }

    .wcp-header-container {
      width: min(1440px, calc(100% - 32px));
      margin: 0 auto;
    }

    .top-strip {
      background: var(--gradient-hero);
      color: rgba(255,255,255,0.9);
      font-size: 12px;
      position: relative;
      z-index: 40;
    }

    .top-strip-inner {
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .top-strip a {
      display: flex;
      align-items: center;
      gap: 8px;
      transition: 0.3s;
    }

    .top-strip a:hover {
      color: var(--accent);
    }

    .top-right {
      display: flex;
      align-items: center;
      gap: 22px;
    }

    .line {
      width: 1px;
      height: 14px;
      background: rgba(255,255,255,0.25);
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 9999;
      width: 100%;
      background: var(--bg);
      border-bottom: 1px solid var(--border);
      transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
      will-change: transform;
    }

    .site-header.scrolled {
      background: transparent;
      border-bottom-color: transparent;
      padding: 10px 0;
      box-shadow: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }

    .header-wrap {
      transition: 0.4s ease;
    }

    .site-header.scrolled .header-wrap {
      width: min(1440px, calc(100% - 32px));
      max-width: 1440px;
      background: rgba(255,255,255,0.96);
      border: 1px solid rgba(227,231,238,0.95);
      border-radius: 999px;
      box-shadow: 0 10px 30px rgba(18,37,70,0.12);
      padding: 0 14px;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }

    .header-inner {
      height: 78px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: 0.4s ease;
    }

    .site-header.scrolled .header-inner {
      height: 58px;
    }

    .logo {
      font-size: 22px;
      font-weight: 800;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }

    .logo-mark {
      width: 38px;
      height: 38px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      color: white;
      background: linear-gradient(135deg, var(--primary), var(--primary-glow));
      font-weight: 900;
    }

    .desktop-nav {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .nav-link,
    .category-btn {
      position: relative;
      padding: 10px 16px;
      font-size: 14px;
      font-weight: 600;
      color: rgba(31,41,55,0.82);
      background: transparent;
      border: 0;
      cursor: pointer;
      transition: 0.3s;
    }

    .nav-link:hover,
    .category-btn:hover,
    .nav-link.active {
      color: var(--primary);
    }

    .nav-link.active::after {
      content: "";
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 2px;
      height: 2px;
      border-radius: 99px;
      background: linear-gradient(90deg, var(--accent), #f3c96b);
    }

    .category-btn {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .chevron {
      transition: 0.3s;
      font-size: 12px;
    }

    .category-btn.open .chevron {
      transform: rotate(180deg);
    }

    .quote-btn {
      height: 42px;
      padding: 0 20px;
      border: none;
      border-radius: 999px;
      background: linear-gradient(180deg, var(--accent-glow) 0%, var(--accent) 55%, #dc6308 100%);
      color: #ffffff;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: 0.3s;
    }

    .quote-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 24px rgba(242,115,15,0.32);
    }

    .mobile-menu-btn {
      display: none;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: white;
      color: var(--primary);
      font-size: 24px;
      cursor: pointer;
    }

    .mega-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 9990;
      background: rgba(18,37,70,0.12);
      backdrop-filter: blur(2px);
    }

    .mega-backdrop.show {
      display: block;
    }

    .mega-menu-wrap {
      display: none;
      position: fixed;
      left: 0;
      right: 0;
      z-index: 9998;
      padding: 0 16px;
      animation: fadeIn 0.25s ease;
    }

    .mega-menu-wrap.show {
      display: block;
    }

    .mega-menu {
      width: min(1100px, 100%);
      margin: 0 auto;
      background: var(--bg);
      border: 1px solid rgba(229,231,235,0.9);
      border-radius: 22px;
      box-shadow: var(--shadow-elegant);
      overflow: hidden;
    }

    .mega-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 4px;
      padding: 20px;
    }

    .mega-card {
      padding: 16px;
      border-radius: 16px;
      transition: 0.3s;
    }

    .mega-card:hover {
      background: var(--soft);
    }

    .mega-card-inner {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .mega-icon {
      min-width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: linear-gradient(135deg, #f7fbf9, #eef6f3);
      color: var(--primary);
      transition: 0.3s;
      font-size: 20px;
    }

    .mega-card:hover .mega-icon {
      background: var(--accent);
      color: white;
      border-color: var(--accent);
    }

    .mega-title {
      font-size: 14px;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 4px;
    }

    .mega-text {
      font-size: 12px;
      line-height: 1.4;
      color: var(--muted);
    }

    .mega-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 15px 24px;
      border-top: 1px solid var(--border);
      background: linear-gradient(135deg, #f4f6fa, #fff3e6);
      font-size: 14px;
      font-weight: 800;
      color: var(--primary);
    }

    .mobile-overlay {
      position: fixed;
      inset: 0;
      z-index: 999999;
      opacity: 0;
      pointer-events: none;
      transition: 0.3s;
    }

    .mobile-overlay.show {
      opacity: 1;
      pointer-events: auto;
    }

    .mobile-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(18,37,70,0.52);
      backdrop-filter: blur(4px);
    }

    .mobile-drawer {
      position: fixed;
      top: 0;
      left: 0;
      width: min(86%, 390px);
      height: 100dvh;
      background: white;
      transform: translateX(-100%);
      transition: 0.4s cubic-bezier(0.22,1,0.36,1);
      box-shadow: var(--shadow-elegant);
      display: flex;
      flex-direction: column;
    }

    .mobile-overlay.show .mobile-drawer {
      transform: translateX(0);
    }

    .drawer-header {
      padding: 18px 20px;
      min-height: 76px;
      background: #fff;
      position: sticky;
      top: 0;
      z-index: 2;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .close-btn {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: white;
      color: var(--primary);
      font-size: 24px;
      cursor: pointer;
    }

    .drawer-body {
      padding: 22px 20px;
      overflow-y: auto;
      flex: 1;
    }

    .mobile-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .mobile-list a,
    .mobile-cat-btn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 13px 0;
      font-size: 16px;
      font-weight: 800;
      color: var(--primary);
      background: transparent;
      border: 0;
      cursor: pointer;
      text-align: left;
    }

    .mobile-list a.active,
    .mobile-cat-btn.active {
      color: var(--accent);
    }

    .mobile-cat-list {
      display: none;
      padding: 4px 0 10px 14px;
    }

    .mobile-cat-list.show {
      display: block;
      animation: fadeIn 0.25s ease;
    }

    .mobile-cat-list a {
      font-size: 14px;
      font-weight: 500;
      color: rgba(31,41,55,0.75);
      padding: 9px 0;
    }

    .drawer-contact {
      margin-top: 26px;
      padding-top: 22px;
      border-top: 1px solid var(--border);
      display: grid;
      gap: 14px;
    }

    .drawer-contact .quote-btn {
      width: 100%;
      justify-content: center;
    }

    .contact-row {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      color: rgba(31,41,55,0.82);
    }

    .contact-icon {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: #fff3e6;
      border: 1px solid rgba(242,115,15,0.25);
      color: var(--accent);
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(8px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 1024px) {
      .desktop-nav,
      .desktop-quote {
        display: none;
      }

      .mobile-menu-btn {
        display: grid;
        place-items: center;
      }
    }

    @media (max-width: 767px) {
      .top-strip {
        display: none;
      }

      .header-inner {
        height: 66px;
      }

      .site-header.scrolled .header-wrap {
        border-radius: 20px;
      }

      .logo {
        font-size: 18px;
      }

      .logo-mark {
        width: 34px;
        height: 34px;
      }
    }

@media (max-width: 767px) {
  .mobile-overlay{z-index:999999 !important;}
  .mobile-drawer{width:100%;max-width:none;height:100dvh;}
  .drawer-header .logo span:last-child{font-size:18px;}
  .close-btn{width:44px;height:44px;font-size:28px;background:var(--primary);color:#fff;border-color:var(--primary);}
}


/* Permanent mega-menu alignment fix */
.mega-menu-wrap { margin-top: 0 !important; }
.mega-menu-wrap .mega-menu { margin-top: 0 !important; }
.site-header + .mega-backdrop + .mega-menu-wrap { margin-top: 0 !important; }
@media (min-width: 1025px) {
  .mega-menu-wrap { padding-left: 16px !important; padding-right: 16px !important; }
}

/* Mega menu flush alignment */
.mega-menu-wrap{padding-top:0!important}
.mega-menu{margin-top:0!important}
