/* =========================
   HEADER - INKA'S BERRIES
   ========================= */

.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  padding: 16px 24px;
  position: relative;
  z-index: 20;
}

.site-header__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header__brand {
  flex: 1 1 auto;
  min-width: 240px;
}

.site-header__logo {
  display: block;
  height: 110px;
  width: auto;
  max-width: 100%;
}

.site-header__actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* =========================
   DROPDOWN DE DOCUMENTOS
   ========================= */

.docs-menu {
  position: relative;
}

.docs-menu summary {
  list-style: none;
}

.docs-menu summary::-webkit-details-marker {
  display: none;
}

.docs-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--brand-purple-primary);
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(78, 73, 118, 0.18);
}

.docs-menu__trigger:hover {
  background: rgb(68, 64, 103);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(78, 73, 118, 0.22);
}

.docs-menu__icon {
  display: block;
  width: 22px !important;
  height: 22px !important;
  object-fit: contain;
  flex-shrink: 0;
}

.docs-menu__label {
  font-family: "Axiforma Regular", sans-serif;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.docs-menu__caret {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.docs-menu[open] .docs-menu__caret {
  transform: rotate(180deg);
}

.docs-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid rgba(78, 73, 118, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.docs-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--brand-purple);
  background: transparent;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.docs-menu__item:hover {
  background: rgba(78, 73, 118, 0.08);
  transform: translateX(2px);
}

.docs-menu__item-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.docs-menu__item span {
  font-family: "Axiforma Regular", sans-serif;
  font-size: 14px;
  line-height: 1.25;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .site-header {
    padding: 14px 16px;
  }

  .site-header__inner {
    justify-content: center;
    text-align: center;
  }

  .site-header__brand {
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
  }

  .site-header__logo {
    height: 88px;
  }

  .site-header__actions {
    flex: 1 1 100%;
    justify-content: center;
  }

  .docs-menu__trigger {
    min-height: 42px;
    padding: 0 14px;
  }

  .docs-menu__label {
    font-size: 14px;
  }

  .docs-menu__panel {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    min-width: 240px;
  }
}

@media (min-width: 769px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 100px;
  }

  .site-header__brand {
    grid-column: 2;
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .site-header__actions {
    grid-column: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
}
