:root {
  --ink: #17202a;
  --muted: #61707d;
  --line: #dbe3e8;
  --paper: #f7f9f8;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4b;
  --amber: #c17a25;
  --charcoal: #25313a;
  --shadow: 0 18px 45px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(23, 32, 42, 0.09);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.15);
  color: currentColor;
  font-weight: 700;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.08);
  color: var(--teal);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 700;
}

.brand-text small {
  margin-top: 4px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 34px);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
  cursor: pointer;
}

.site-header.is-scrolled .nav-toggle,
.site-header.is-open .nav-toggle {
  border-color: var(--line);
  background: var(--white);
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  height: clamp(560px, 82svh, 760px);
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(10, 35, 42, 0.98) 0%, rgba(14, 73, 73, 0.92) 48%, rgba(42, 56, 64, 0.96) 100%),
    #112a31;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.95));
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, rgba(247, 249, 248, 0), var(--paper));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 48px;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 17%;
  right: max(22px, 7vw);
  width: min(520px, 43vw);
  height: min(440px, 48vw);
  opacity: 0.96;
}

.visual-panel {
  position: absolute;
  border: 1px solid rgba(204, 234, 229, 0.38);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.visual-panel-main {
  right: 58px;
  bottom: 68px;
  width: 300px;
  height: 206px;
  padding: 28px;
}

.visual-panel-main span {
  display: block;
  height: 12px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.visual-panel-main span:nth-child(1) {
  width: 64%;
  background: #8bd6cd;
}

.visual-panel-main span:nth-child(2) {
  width: 86%;
}

.visual-panel-main span:nth-child(3) {
  width: 48%;
}

.visual-panel-side {
  top: 20px;
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 178px;
  height: 178px;
  padding: 18px;
}

.visual-panel-side i {
  display: block;
  background:
    linear-gradient(135deg, rgba(139, 214, 205, 0.78), rgba(255, 255, 255, 0.18));
}

.visual-grid {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, 58px);
  gap: 14px;
}

.visual-grid b {
  display: block;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.visual-grid b:nth-child(2n) {
  border-color: rgba(193, 122, 37, 0.72);
  background: rgba(193, 122, 37, 0.18);
}

.visual-routes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.visual-routes span {
  position: absolute;
  height: 2px;
  background: rgba(139, 214, 205, 0.72);
  transform-origin: left;
}

.visual-routes span:nth-child(1) {
  top: 164px;
  left: 80px;
  width: 310px;
  transform: rotate(-18deg);
}

.visual-routes span:nth-child(2) {
  right: 114px;
  bottom: 140px;
  width: 220px;
  background: rgba(255, 255, 255, 0.46);
  transform: rotate(28deg);
}

.visual-routes span:nth-child(3) {
  top: 276px;
  left: 104px;
  width: 260px;
  background: rgba(193, 122, 37, 0.78);
  transform: rotate(0deg);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  width: min(780px, 100%);
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.3);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

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

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 112px) 0;
}

.section-heading {
  width: min(760px, 100%);
}

.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(34px, 6vw, 80px);
  margin-top: 36px;
}

.lead-copy {
  color: var(--charcoal);
  font-size: clamp(17px, 2vw, 20px);
}

.lead-copy p {
  margin: 0 0 22px;
}

.principles {
  display: grid;
  gap: 14px;
}

.principles div,
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.05);
}

.principles div {
  padding: 22px;
}

.principles span {
  color: var(--amber);
  font-weight: 800;
}

.principles strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.principles p {
  margin: 8px 0 0;
  color: var(--muted);
}

.services-section {
  padding-top: 24px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.service-card {
  min-height: 240px;
  padding: 26px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--teal-dark);
  background: #e4f1ef;
  font-size: 18px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.28;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  padding-bottom: clamp(70px, 9vw, 100px);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--white);
  border-left: 6px solid var(--amber);
  box-shadow: var(--shadow);
}

.contact-panel p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #17202a;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

@media (max-width: 860px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px 10px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-visual {
    right: -80px;
    width: 360px;
    height: 320px;
    opacity: 0.32;
  }

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

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .hero {
    height: 560px;
    min-height: 560px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-right: 14px;
    padding-left: 14px;
  }

  .service-card {
    min-height: auto;
  }
}
