:root {
  --navy: #0b1c33;
  --navy-2: #122a48;
  --brand: #1a5fa8;
  --brand-2: #2273b4;
  --cyan: #2eb5e0;
  --gold: #e2b93b;
  --ink: #1a2433;
  --muted: #5b6b7c;
  --line: #d5e2ee;
  --paper: #f2f6fa;
  --white: #fff;
  --shadow: 0 18px 50px rgba(11, 28, 51, 0.12);
  --radius: 16px;
  --header-h: 76px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[lang="en"] body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 8px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(var(--max), calc(100% - 32px));
}

.logo img {
  height: 54px;
  width: auto;
}

.logo .logo-dark {
  display: none;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  letter-spacing: 0.04em;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.lang {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang button {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
}

.lang button.is-on {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  content: "";
}

.menu-btn span {
  top: 20px;
}

.menu-btn span::before {
  top: -7px;
}

.menu-btn span::after {
  top: 7px;
}

.site-header.is-light {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(11, 28, 51, 0.08);
}

.site-header.is-light .logo .logo-light {
  display: none;
}

.site-header.is-light .logo .logo-dark {
  display: block;
}

.site-header.is-light .nav a,
.site-header.is-light .lang button {
  color: var(--navy);
}

.site-header.is-light .lang {
  border-color: var(--line);
}

.site-header.is-light .lang button.is-on {
  color: var(--navy);
}

.site-header.is-light .menu-btn {
  border-color: var(--line);
}

.site-header.is-light .menu-btn span,
.site-header.is-light .menu-btn span::before,
.site-header.is-light .menu-btn span::after {
  background: var(--navy);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(8, 18, 36, 0.92) 8%, rgba(12, 36, 68, 0.72) 48%, rgba(18, 70, 120, 0.42) 100%),
    url("../images/hero-globe.jpg") right center / cover no-repeat;
  position: relative;
  padding: 140px 0 72px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.15;
  font-weight: 800;
  max-width: 16ch;
}

.hero .sub {
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.site-header.is-light + main .btn-ghost,
.btn-line {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 18px 8px;
  backdrop-filter: blur(8px);
  max-width: 860px;
}

.stat {
  text-align: center;
  padding: 8px;
}

.stat b {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--gold);
  line-height: 1.1;
}

.stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

/* Sections */
.section {
  padding: 92px 0;
  scroll-margin-top: 84px;
}

#home {
  scroll-margin-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 24px;
  align-items: end;
  margin-bottom: 42px;
}

.num {
  font-size: clamp(56px, 8vw, 92px);
  line-height: 0.8;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px var(--brand-2);
  letter-spacing: -0.04em;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.section-head p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
}

.about-copy {
  font-size: 16px;
  color: #334155;
}

.about-copy p + p {
  margin-top: 16px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pill {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1.5px dashed var(--brand);
  display: grid;
  place-content: center;
  text-align: center;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
}

.pill small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}

.about-aside {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}

.about-aside::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border: 18px solid rgba(46, 181, 224, 0.18);
  border-radius: 50%;
}

.about-aside h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

.about-aside li {
  margin: 0 0 10px;
}

.about-aside ul {
  margin: 0;
  padding-left: 18px;
}

/* Services */
.svc-grid {
  display: grid;
  gap: 22px;
}

.svc {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 28, 51, 0.03);
}

.svc img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
}

.svc-meta {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.svc h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.svc p {
  margin: 0;
  color: var(--muted);
}

.equip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.equip span {
  background: var(--paper);
  color: var(--navy-2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

/* Network */
.network {
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.net-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 36px;
  align-items: start;
}

.net-map {
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8eef5;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}

.net-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  max-height: 560px;
}

.net-block + .net-block {
  margin-top: 28px;
}

.net-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.net-block-head h3 {
  margin: 0;
  font-size: 18px;
}

.net-note {
  color: var(--muted);
  font-size: 13px;
}

.net-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.net-tag {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--navy);
}

.net-tag.is-branch {
  border-color: #e07a3a;
  background: #fff6ef;
  color: #9a4a16;
  font-weight: 700;
}

.region-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.region-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.region-row h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
}

.region-row h4 small {
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.contact-list li:first-child {
  padding-top: 0;
}

.contact-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list b {
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.qr-card img {
  width: 168px;
  height: 168px;
  background: #fff;
  padding: 8px;
  border-radius: 16px;
}

.qr-card p {
  margin: 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 36px 0 24px;
  font-size: 13px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--gold);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .about-grid,
  .net-layout,
  .contact-grid,
  .svc {
    grid-template-columns: 1fr;
  }

  .net-map {
    position: static;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .section-head p {
    grid-column: 1 / -1;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 16px auto;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 8px;
    margin: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    color: var(--navy);
    padding: 12px 14px;
  }

  .menu-btn {
    display: inline-block;
    margin-left: auto;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .section {
    padding: 68px 0;
  }

  .pills {
    justify-content: flex-start;
  }

  .contact-list li {
    grid-template-columns: 1fr;
  }
}
