.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 42, 92, 0.06);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(15, 42, 92, 0.08);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  min-width: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 6px 16px rgba(47, 127, 255, 0.35);
  position: relative;
  flex: 0 0 auto;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 9px 11px 9px 10px;
  background: #fff;
  clip-path: polygon(15% 0, 100% 50%, 15% 100%, 0 85%, 55% 50%, 0 15%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0;
  color: var(--ink);
  line-height: 1.2;
}

.brand__en {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.nav a {
  color: #1f2937;
  padding: 0.4rem 0.95rem;
  font-size: var(--fs-nav);
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav a:hover,
.nav a.is-active {
  color: var(--brand-600);
  background: transparent;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.header-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}

.header-cta__phone-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-500);
  position: relative;
}

.header-cta__phone-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand-500);
  opacity: 0.35;
}

.btn--header {
  min-height: 44px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.site-footer {
  background: #0b1220;
  color: rgba(232, 238, 248, 0.78);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.footer-grid h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-grid a {
  color: rgba(232, 238, 248, 0.72);
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: var(--brand-300);
}

.footer-meta {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(232, 238, 248, 0.5);
}

.footer-icp {
  color: inherit;
  text-decoration: none;
}

.footer-icp:hover {
  color: var(--brand-300);
  text-decoration: underline;
}

.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(47, 127, 255, 0.35), transparent 60%),
    linear-gradient(160deg, var(--royal-950) 0%, var(--royal-800) 45%, var(--royal-900) 100%);
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.page-hero p {
  color: rgba(232, 238, 248, 0.78);
  max-width: 40em;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.cta-band {
  padding: 3.5rem 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(47, 127, 255, 0.28), transparent 45%),
    linear-gradient(120deg, var(--royal-900), var(--royal-700));
  color: #fff;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-bottom: 0.4rem;
}

.cta-band p {
  margin: 0;
  color: rgba(232, 238, 248, 0.7);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15, 42, 92, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .header-cta__phone {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
