:root {
  --ink: #17212b;
  --muted: #5b6775;
  --line: #d9e1e8;
  --page: #eef3f6;
  --surface: #f8fbfd;
  --soft: #e3edf3;
  --white: #fff;
  --brand: #0b5b84;
  --brand-strong: #073f5c;
  --accent: #d79a2b;
  --ok: #176b4d;
  --shadow: 0 16px 40px rgba(15, 35, 55, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  background: var(--page);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 32, 47, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand img {
  width: 190px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.nav a {
  padding: 24px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
  border-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 42px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 35, 55, 0.08);
}

.lang-switch a {
  min-width: 46px;
  padding: 6px 10px;
  border-radius: 999px;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch a.active {
  background: var(--white);
  color: var(--brand-strong);
}

.lang-switch a:not(.active):hover {
  background: rgba(255, 255, 255, 0.18);
}

.lang-switch span {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 6px;
  font-size: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.button.secondary {
  background: var(--white);
  color: var(--brand);
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: #123;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 28, 43, 0.86), rgba(7, 28, 43, 0.46), rgba(7, 28, 43, 0.14)),
    var(--hero-image, url("../images/banner/banner_3.webp")) center / cover no-repeat;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
  padding: 86px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: #f4c66a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  transform: translateY(-50%);
  box-shadow: var(--shadow);
}

.stat {
  min-height: 126px;
  padding: 26px 24px;
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: 28px;
  line-height: 1.2;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 84px 0;
}

.section.compact {
  padding: 56px 0;
}

.section.soft {
  background: var(--soft);
}

.section {
  background: var(--surface);
}

.section:nth-of-type(even) {
  background: var(--page);
}

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

.section-title {
  max-width: 760px;
}

.section-title h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.grid {
  display: grid;
  gap: 22px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.case-card,
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-card {
  padding: 24px;
}

.service-card img,
.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.card-body p {
  color: var(--muted);
}

.card-body .button {
  margin-top: 8px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--brand);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf2f7;
  color: var(--brand-strong);
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: 22px;
  border-left: 3px solid var(--accent);
}

.feature-list strong {
  display: block;
  margin-bottom: 4px;
}

.page-hero {
  padding: 86px 0 58px;
  background: linear-gradient(180deg, #dfeaf1 0%, var(--page) 100%);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.case-meta {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.case-meta strong {
  color: var(--ink);
}

.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
}

.quote-panel {
  padding: 34px;
  background: var(--brand-strong);
  color: var(--white);
  border-radius: var(--radius);
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-item {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.contact-item strong,
.contact-item a {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 18px;
}

.site-footer {
  padding: 44px 0 28px;
  background: #111b24;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.copyright {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 18px;
    background: #0d202f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero-stats,
  .grid.three,
  .grid.four,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    transform: none;
    margin-top: 0;
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand img {
    width: 152px;
  }

  .lang-switch {
    min-height: 38px;
    font-size: 13px;
  }

  .lang-switch a {
    min-width: 40px;
    padding: 5px 8px;
  }

  .hero-content {
    padding: 64px 0;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .section {
    padding: 58px 0;
  }

  .card-body,
  .quote-panel {
    padding: 20px;
  }
}
