/* ==========================================================================
   header — section 00
   Values transcribed verbatim from docs/research/sections/00-header.html.
   No hover states (the original has none); the nav dropdown hover rule lives
   in globals.css as .dc-dropdown:hover .dc-dd-panel.
   The header does NOT change on scroll.
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

/* --- inner bar ------------------------------------------------------------ */
.header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.header__logo {
  height: 42px;
  width: auto;
  display: block;
}

/* --- desktop nav ---------------------------------------------------------- */
.header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__nav-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease;
}

.header__dd {
  position: relative;
}

.header__dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header__caret {
  font-size: 11px;
  color: var(--muted-3);
}

.header__markplus {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--pink);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s ease;
}

.header__markplus-sign {
  font-weight: 800;
}

/* --- dropdown panels ------------------------------------------------------ */
.header__dd-pos {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 16px;
  z-index: 60;
}

.header__dd-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  box-shadow: 0 26px 58px rgba(24, 29, 78, .16);
  padding: 10px;
}

.header__dd-card--products  { width: 320px; }
.header__dd-card--solutions { width: 360px; }

.header__dd-item {
  display: block;
  text-decoration: none;
  padding: 13px 16px;
  border-radius: 13px;
  transition: background .18s ease;
}

.header__dd-item--tight {
  padding: 12px 16px;
}

.header__dd-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.header__dd-desc {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 2px;
}

/* --- desktop actions ------------------------------------------------------ */
.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__login {
  text-decoration: none;
  color: var(--indigo);
  font-size: 15px;
  font-weight: 700;
  transition: color .2s ease;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo);
  color: var(--white);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
}

/* --- mobile toggle -------------------------------------------------------- */
.header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  flex: none;
}

/* --- mobile panel --------------------------------------------------------- */
.header__mpanel {
  display: none !important;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  padding: 16px 24px 28px;
  max-height: calc(100vh - 78px);
  overflow-y: auto;
}

.header__mlabel {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-3);
  padding: 12px 4px 6px;
}

.header__mlabel--gap {
  padding: 18px 4px 6px;
}

.header__mlink {
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 11px 4px;
}

.header__mlink--pink {
  color: var(--pink);
  font-weight: 700;
}

.header__mdivider {
  height: 1px;
  background: var(--line-soft);
  margin: 16px 0;
}

.header__mcta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.header__mcta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.header__mcta--ghost {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--indigo);
}

.header__mcta--pink {
  background: var(--pink);
  color: var(--white);
}

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
  .header__mpanel[data-open="true"] {
    display: flex !important;
    animation: mobMenu .22s ease;
  }
}
