/* HumanOps layout.css */
.site-header {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand--header {
  padding-right: 8px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 50px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-copy span:first-child {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.brand-copy span:last-child {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
}

.brand--footer .brand-logo {
  width: 6.5rem;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 18px;
  row-gap: 8px;
  flex: 1 1 auto;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 2px;
  line-height: 1.2;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav > a::before,
.nav-item > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item--has-submenu > a::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-size: 0.8rem;
  font-weight: 900;
  margin-left: 6px;
  transform: translateY(1px);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 80;
  display: grid;
  min-width: 220px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(214, 164, 58, 0.18);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-submenu a {
  justify-content: flex-start;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  color: var(--muted);
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus {
  background: rgba(214, 164, 58, 0.10);
  color: var(--gold-dark);
}

.nav-item--has-submenu:hover .nav-submenu,
.nav-item--has-submenu:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav a[aria-current="page"] {
  color: var(--gold);
}

.nav a:hover,
.nav a:focus {
  color: var(--gold);
}

.nav > a:hover::before,
.nav > a:focus::before,
.nav > a[aria-current="page"]::before,
.nav-item > a:hover::before,
.nav-item > a:focus::before,
.nav-item > a[aria-current="page"]::before {
  transform: scaleX(1);
}

.hotline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid rgba(214, 164, 58, 0.22);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.hotline-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  animation: hotline-icon-pulse 1.5s ease-in-out infinite;
  transform-origin: center;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(214, 164, 58, .28);
  border-radius: 999px;
  background: var(--paper);
  color: var(--gold-dark);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.nav-toggle .fa-xmark,
.site-header.is-nav-open .nav-toggle .fa-bars {
  display: none;
}

.site-header.is-nav-open .nav-toggle .fa-xmark {
  display: inline-block;
}

.hotline small,
.hotline strong {
  display: block;
  line-height: 1.05;
}

.hotline small {
  font-size: 0.8rem;
  color: #6c645e;
}

.hotline strong {
  font-size: 0.875rem;
  color: var(--gold-dark);
}

@keyframes hotline-icon-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(214, 164, 58, 0.28);
  }

  50% {
    transform: scale(1.16);
    box-shadow: 0 0 0 7px rgba(214, 164, 58, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hotline-icon {
    animation: none;
  }
}

.site-main section {
  position: relative;
}

.site-footer {
  color: #fff;
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-grid {
  padding: 2.15rem 0 1.75rem;
  display: grid;
  grid-template-columns: minmax(210px, 1.25fr) repeat(3, minmax(130px, .82fr)) minmax(280px, 1.55fr);
  gap: clamp(1rem, 2vw, 1.85rem);
  align-items: start;
}

.footer-brand p,
.footer-col a,
.footer-col p {
  color: rgba(255,255,255,.74);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.footer-brand p {
  margin: 16px 0 18px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a,
.socials span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 0.8rem;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 0.875rem;
  letter-spacing: .04em;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 8px;
}

.footer-col > a {
  position: relative;
  padding-left: 16px;
  transition: color .2s ease, transform .2s ease;
}

.footer-col > a::before {
  content: "\f105";
  position: absolute;
  top: .1em;
  left: 0;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #d6a43a;
  font-size: .76em;
}

.footer-col > a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-contact {
  padding: 0;
}

.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-contact-list p {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
}

.footer-contact-list span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(214,164,58,.16);
  color: #d6a43a;
  font-size: .78rem;
}

.footer-contact-list a {
  display: inline;
  margin: 0;
  padding: 0;
}

.footer-contact-list a::before {
  display: none;
}

.footer-bottom {
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.68);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-links a {
  color: rgba(255,255,255,.78);
}
