  .hcyp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .hcyp-header .hcyp-nav {
    background: var(--primary);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 68px;
    border-bottom: 3px solid var(--primary-dark);
    font-family: sans-serif;
    flex-wrap: nowrap;
    position: relative;
  }

  .hcyp-header .hcyp-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
  }

  .navbar-brand h5 {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: "DejaVu Serif", serif;
  }

  .navbar-brand {
    margin: 0;
  }

  .hcyp-header .hcyp-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
  }


  .hcyp-header .hcyp-nav-logo-box {
    background: var(--white);
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    padding: 7px 12px;
    letter-spacing: 0.06em;
    line-height: 1;
  }

  .hcyp-header .hcyp-nav-brand-text {
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
  }

  .hcyp-header .hcyp-nav-links {
    display: flex;
    gap: 0;
    list-style: none;
    height: 68px;
    align-items: center;
    margin: 0;
    padding: 0;
    justify-content: center;
  }

  .hcyp-header .hcyp-nav-links li {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
  }

  .hcyp-header .hcyp-nav-links a {
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    font-weight: 400;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1.1rem;
    position: relative;
    transition: color 0.2s;
  }

  /* underline slide effect */
  .hcyp-header .hcyp-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.1rem;
    right: 1.1rem;
    transform: scaleX(0);
    height: 3px;
    background: var(--white);
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
    transform-origin: center;
  }

  .hcyp-header .hcyp-nav-links a:hover {
    color: var(--white);
  }

  .hcyp-header .hcyp-nav-links a:hover::after {
    transform: scaleX(1);
  }

  .hcyp-header .hcyp-nav-links a.active {
    color: var(--white);
    font-weight: 700;
  }

  .hcyp-header .hcyp-nav-links a.active::after {
    transform: scaleX(1);
  }

  .hcyp-header .hcyp-nav-menu {
    flex: 1 1 auto;
  }

  .hcyp-header .hcyp-nav-menu-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
  }

  .hcyp-header .hcyp-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    background: transparent;
    padding: 0;
  }

  .hcyp-header .hcyp-menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--white);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .hcyp-header .hcyp-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hcyp-header .hcyp-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .hcyp-header .hcyp-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hcyp-header .hcyp-menu-toggle:focus-visible {
    outline: 2px solid rgba(255,255,255,0.45);
    outline-offset: 3px;
  }

  .hcyp-header .hcyp-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
  }

  .hcyp-header .hcyp-contact-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .hcyp-header .hcyp-contact-link,
  .hcyp-header .hcyp-user-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .hcyp-header .hcyp-contact-link {
    width: 18px;
    height: 18px;
    transition: color 0.2s;
  }

  .hcyp-header .hcyp-contact-link i {
    font-size: 0.95rem;
    line-height: 1;
  }

  .hcyp-header .hcyp-contact-link:hover,
  .hcyp-header .hcyp-user-link:hover {
    color: var(--white);
  }


  .hcyp-header .hcyp-user-label {
    color: rgba(255,255,255,0.78);
  }

  .hcyp-header .hcyp-user-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .hcyp-header .hcyp-user-menu-toggle:hover {
    color: var(--white);
  }

  .hcyp-header .hcyp-user-dropdown {
    min-width: 240px;
    margin-top: 1rem;
    border: 1px solid rgba(15,42,55,0.08);
    border-radius: 0;
    box-shadow: 0 18px 40px rgba(15,42,55,0.12);
    padding: 0.45rem;
  }

  .hcyp-header .hcyp-user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--tPrimary);
    border-radius: 0;
    padding: 0.72rem 0.8rem;
  }

  .hcyp-header .hcyp-user-dropdown .dropdown-item i {
    color: var(--primary);
  }

  .hcyp-header .hcyp-user-dropdown .dropdown-item:hover,
  .hcyp-header .hcyp-user-dropdown .dropdown-item:focus {
    background: rgba(30,109,126,0.08);
    color: var(--primary-3);
  }

  .hcyp-header .hcyp-logout-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
  }

  .hcyp-header .hcyp-nav-separator {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.18);
    margin: 0 0.2rem;
  }

  .hcyp-modal-shell {
    border: 1px solid rgba(15,42,55,0.08);
    border-radius: 0;
    box-shadow: 0 22px 54px rgba(15,42,55,0.12);
  }

  .hcyp-modal-header {
    background-color: var(--primary);
    align-items: flex-start;
    border-bottom: 1px solid rgba(15,42,55,0.08);
    padding: 1.4rem 1.5rem 1rem;
  }

  .hcyp-modal-eyebrow {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .hcyp-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    color: var(--white);
    margin: 0;
  }

  .hcyp-modal-body {
    padding: 1.4rem 1.5rem 1.5rem;
    background: var(--f-claro);
  }

  .hcyp-admin-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 1.25rem;
  }

  .hcyp-admin-pane {
    background: var(--white);
    border: 1px solid rgba(15,42,55,0.08);
    padding: 1.15rem;
  }

  .hcyp-admin-pane-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .hcyp-admin-pane-head h6 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--primary-3);
  }

  .hcyp-admin-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
  }

  .hcyp-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }

  .hcyp-form-field label {
    color: var(--primary-3);
    font-size: 0.86rem;
    font-weight: 700;
  }

  .hcyp-form-field .form-control,
  .hcyp-form-field .form-select,
  .hcyp-form-field textarea {
    border-radius: 0;
    border-color: rgba(15,42,55,0.14);
    padding: 0.85rem 0.95rem;
  }

  .hcyp-form-field .form-control:focus,
  .hcyp-form-field .form-select:focus,
  .hcyp-form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(30,109,126,0.12);
  }

  .hcyp-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0.25rem;
  }

  .hcyp-profile-card {
    display: grid;
    gap: 1rem;
    background: var(--white);
    border: 1px solid rgba(15,42,55,0.08);
    padding: 1.25rem;
  }

  .hcyp-profile-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(30,109,126,0.1);
    color: var(--primary);
    font-size: 1.45rem;
  }

  .hcyp-profile-data {
    display: grid;
    gap: 0.2rem;
  }

  .hcyp-profile-label {
    color: var(--tSecondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .hcyp-admin-list {
    display: grid;
    gap: 0.85rem;
    max-height: 430px;
    overflow: auto;
    padding-right: 0.15rem;
  }

  .hcyp-admin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    background: var(--f-claro);
    border: 1px solid rgba(15,42,55,0.08);
  }

  .hcyp-admin-item-main {
    display: grid;
    gap: 0.2rem;
  }

  .hcyp-admin-item-main strong {
    color: var(--primary-3);
  }

  .hcyp-admin-item-main span {
    color: var(--tSecondary);
    font-size: 0.88rem;
  }

  .hcyp-admin-badge {
    width: fit-content;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .hcyp-admin-item-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  @media (min-width: 992px) {
    .hcyp-header .hcyp-nav-menu.collapse:not(.show) {
      display: block;
    }

    .hcyp-header .hcyp-nav-menu-shell {
      justify-content: flex-end;
      min-height: 68px;
    }

    .hcyp-header .hcyp-nav-links {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
  }

  @media (max-width: 991px) {
    .hcyp-header .hcyp-nav {
      padding: 0.9rem 1.25rem 1rem;
      flex-wrap: wrap;
      gap: 0.85rem;
      align-items: stretch;
    }

    .hcyp-header .hcyp-nav-top {
      width: 100%;
    }

    .hcyp-header .hcyp-menu-toggle {
      display: inline-flex;
    }

    .hcyp-header .hcyp-nav-menu {
      order: 2;
      width: 100%;
      max-width: 320px;
      margin: 0 auto;
      overflow: hidden;
    }

    .hcyp-header .hcyp-nav-menu-shell {
      flex-direction: column;
      justify-content: center;
      gap: 0.9rem;
      padding-bottom: 0.35rem;
    }

    .hcyp-header .hcyp-nav-menu.collapsing {
      opacity: 0.35;
      transition: height 0.3s ease, opacity 0.2s ease;
    }

    .hcyp-header .hcyp-nav-menu.collapse.show {
      opacity: 1;
    }

    .hcyp-header .hcyp-nav-links {
      height: auto;
      width: 100%;
      flex-direction: column;
      align-items: center;
      gap: 0.35rem;
      text-align: center;
    }

    .hcyp-header .hcyp-nav-links li {
      width: 100%;
      height: auto;
      justify-content: center;
    }

    .hcyp-header .hcyp-nav-links a {
      height: auto;
      width: 100%;
      justify-content: center;
      padding: 0.8rem 0.25rem;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .hcyp-header .hcyp-nav-links a::after {
      left: 0;
      right: 0;
      bottom: -1px;
    }

    .hcyp-header .hcyp-nav-actions {
      width: 100%;
      justify-content: center;
      padding-top: 0.6rem;
      border-top: 1px solid rgba(255,255,255,0.12);
    }

    .hcyp-header .hcyp-user-dropdown {
      width: 100%;
    }
  }

  @media (max-width: 640px) {
    .hcyp-header .hcyp-nav {
      padding: 0.85rem 1rem 1rem;
    }

    .navbar-brand h5 {
      font-size: 1.05rem;
      margin-right: 0;
    }

    .hcyp-header .hcyp-nav-links a {
      font-size: 10px;
      letter-spacing: 0.1em;
    }

    .hcyp-header .hcyp-contact-icons,
    .hcyp-header .hcyp-nav-actions {
      gap: 1rem;
    }

    .hcyp-admin-layout {
      grid-template-columns: 1fr;
    }

    .hcyp-admin-item {
      flex-direction: column;
      align-items: flex-start;
    }

    .hcyp-admin-item-actions {
      width: 100%;
      justify-content: flex-start;
    }

    .hcyp-modal-body,
    .hcyp-modal-header {
      padding-left: 1rem;
      padding-right: 1rem;
    }
  }
