:root {
  --hc-bg: #ffffff;
  --hc-surface: #ffffff;
  --hc-surface-soft: #f5f6f8;
  --hc-text: #111111;
  --hc-muted: #5f6672;
  --hc-line: #dde1e7;
  --hc-navy: #0b2f5b;
  --hc-navy-2: #123d73;
  --hc-navy-dark: #061f3d;
  --hc-gold: #f4c542;
  --hc-red: #d1122b;
  --hc-black: #0a0a0b;
  --hc-max: 1280px;
}

.hc-container {
  width: min(calc(100% - 40px), var(--hc-max));
  margin: 0 auto;
}

.hc-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--hc-line);
  backdrop-filter: blur(12px);
  font-family: Inter, system-ui, sans-serif;
}

.hc-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hc-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--hc-text);
  text-decoration: none;
}

.hc-brand-mark {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.hc-brand-name {
  display: block;
  color: var(--hc-text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.hc-nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hc-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #23262d;
  font-size: 14px;
  font-weight: 700;
}

.hc-nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease;
}

.hc-nav-links a:hover {
  color: var(--hc-red);
}

.hc-menu-toggle {
  display: none;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--hc-text);
  cursor: pointer;
}

.hc-footer {
  margin-top: 60px;
  padding: 34px 0 18px;
  background: var(--hc-black);
  color: rgba(255, 255, 255, .72);
  font-family: Inter, system-ui, sans-serif;
}

.hc-footer-top {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.hc-footer-title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hc-footer-copy {
  max-width: 42ch;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.7;
}

.hc-footer-links {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.hc-footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.hc-footer-links a:hover {
  color: #fff;
}

.hc-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  color: rgba(255, 255, 255, .56);
  font-size: 13px;
  flex-wrap: wrap;
}

@media (max-width: 1160px) {
  .hc-footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hc-container {
    width: min(calc(100% - 28px), var(--hc-max));
  }

  .hc-nav {
    min-height: 64px;
  }

  .hc-brand-mark {
    width: 50px;
    height: 50px;
  }

  .hc-brand-name {
    font-size: 15px;
  }

  .hc-menu-toggle {
    display: block;
  }

  .hc-nav-menu {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 20px;
    border-bottom: 1px solid var(--hc-line);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 24px rgba(0, 0, 0, .08);
    backdrop-filter: blur(12px);
  }

  .hc-nav-menu.active {
    display: flex;
  }

  .hc-nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
  }

  .hc-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
