:root {
  --ink: #071329;
  --navy: #0b2554;
  --blue: #1457a8;
  --cyan: #22b8d7;
  --line: #d8e0ea;
  --muted: #627083;
  --paper: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 19, 41, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(216, 224, 234, 0.85);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  display: block;
  font-size: 18px;
  line-height: 1.15;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #23324b;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  padding: 28px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--cyan);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle,
.menu-toggle,
.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.lang-toggle {
  min-width: 72px;
  min-height: 38px;
  padding: 0 14px;
  color: var(--navy);
  background: #eef5fb;
  border: 1px solid #d2e2ef;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: #eef5fb;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7, 19, 41, 0.94) 0%, rgba(9, 29, 65, 0.84) 40%, rgba(10, 39, 83, 0.36) 100%),
    radial-gradient(circle at 76% 30%, rgba(34, 184, 215, 0.35), transparent 32%),
    linear-gradient(135deg, #08152d 0%, #0d326f 58%, #f7fbff 58.2%, #f7fbff 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}

.hero-mark {
  position: absolute;
  right: clamp(-110px, -7vw, -40px);
  bottom: clamp(-80px, -6vw, -30px);
  width: min(58vw, 660px);
  opacity: 0.17;
  filter: grayscale(1) brightness(3.5);
  transform: rotate(-4deg);
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  align-items: center;
  gap: 56px;
  padding: 80px 0 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #9ee6f3;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: #dbe8f5;
  font-size: clamp(16px, 1.45vw, 19px);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #06203e;
  background: var(--cyan);
  box-shadow: 0 18px 44px rgba(34, 184, 215, 0.3);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-light {
  color: var(--navy);
  background: var(--white);
}

.hero-panel {
  padding: 0;
}

.metric-stack {
  display: grid;
  gap: 16px;
}

.metric {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.metric strong {
  display: block;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.metric span {
  color: #c5d7e9;
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.section.alt {
  background: var(--paper);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 42px;
}

.section-head h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.section-head p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-item:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.service-item small {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.service-item h3 {
  min-height: 58px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.service-item p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  color: var(--blue);
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}

.statement {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 850;
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.feature b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
}

.feature h3 {
  margin-bottom: 4px;
  color: var(--navy);
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.news-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 120px;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.news-item time,
.news-item span {
  color: var(--muted);
}

.news-item h3 {
  margin-bottom: 6px;
  color: var(--navy);
}

.inquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 54px;
  align-items: start;
}

.contact-lines {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  color: #dce9f4;
}

.contact-lines a {
  font-weight: 850;
}

.inquiry-form {
  display: grid;
  gap: 14px;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #cbd8e6;
  border-radius: 6px;
  padding: 15px 16px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.inquiry-form textarea {
  min-height: 140px;
  resize: vertical;
}

.dark {
  color: var(--white);
  background: var(--navy);
}

.dark .section-head h2,
.dark .statement {
  color: var(--white);
}

.dark .section-head p {
  color: #c7d6e8;
}

.site-footer {
  padding: 44px 0;
  color: #d6e5f3;
  background: #061022;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 86px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 19, 41, 0.95), rgba(11, 37, 84, 0.82)),
    radial-gradient(circle at 82% 20%, rgba(34, 184, 215, 0.34), transparent 36%),
    #0b2554;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 70px);
}

.breadcrumbs {
  margin-bottom: 18px;
  color: #a8dce8;
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
}

.article h2 {
  margin-top: 44px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.2;
}

.article h2:first-child {
  margin-top: 0;
}

.article p,
.article li {
  color: #415066;
}

.steps {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.steps li {
  padding: 16px 18px;
  background: var(--paper);
  border-left: 4px solid var(--cyan);
}

.side-box {
  position: sticky;
  top: 104px;
  padding: 28px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.side-box h3 {
  margin-bottom: 12px;
}

.side-box p {
  color: #d7e6f2;
}

.side-box .btn {
  width: 100%;
}

.service-nav {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.service-nav a {
  padding: 11px 0;
  color: #d7e6f2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .nav-links a {
    padding: 14px 0;
  }

  .nav-links a::after {
    bottom: 8px;
  }

  .hero-inner,
  .split,
  .inquiry,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 520px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 16px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .side-box {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    font-size: 15px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero-inner {
    padding: 58px 0;
  }

  .hero-mark {
    width: 92vw;
    right: -34vw;
  }

  .section {
    padding: 68px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: 0;
  }

  .footer-inner {
    display: grid;
  }
}
