:root {
  --navy: #0f2747;
  --navy-2: #12385f;
  --teal: #1f8a84;
  --teal-2: #0f9a9b;
  --gold: #d6a85c;
  --gold-2: #c79035;
  --ink: #10233f;
  --muted: #5c6b7c;
  --paper: #f5f7fa;
  --surface: #ffffff;
  --line: #dce4ee;
  --line-strong: #c8d4e2;
  --shadow: 0 18px 48px rgba(15, 39, 71, 0.1);
  --shadow-soft: 0 10px 26px rgba(15, 39, 71, 0.07);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 4%, rgba(31, 138, 132, 0.08), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 46%, #ffffff 100%);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

section[id] {
  scroll-margin-top: 94px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 14px max(22px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(15, 39, 71, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 26px rgba(15, 39, 71, 0.05);
}

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

.brand-symbol {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-symbol span {
  position: absolute;
  top: 8px;
  width: 28px;
  height: 22px;
  border: 6px solid var(--teal);
  border-radius: 999px;
  transform: rotate(42deg);
}

.brand-symbol span:first-child {
  left: 1px;
}

.brand-symbol span:last-child {
  right: 1px;
  border-color: var(--gold);
  transform: rotate(-42deg);
}

.brand-copy strong,
.footer-brand strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.brand-copy small,
.footer-brand small {
  display: block;
  max-width: 270px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.main-nav a {
  position: relative;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  padding: 8px 12px;
}

.main-nav a::after {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 2px;
  background: var(--teal);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 3px;
}

.language-switch button {
  min-width: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 8px;
}

.language-switch button.is-active {
  background: var(--navy);
  color: #fff;
}

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

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

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f9fbfe;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.78) 42%, rgba(255, 255, 255, 0.2) 100%),
    radial-gradient(circle at 78% 18%, rgba(31, 138, 132, 0.12), transparent 22rem);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 420px;
  height: 220px;
  border: 1px solid rgba(214, 168, 92, 0.35);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(var(--max), calc(100% - 44px));
  min-height: 560px;
  margin: 0 auto;
  padding: 58px 0 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.hero h1,
.section-head h2,
.contact-copy h2 {
  margin: 0;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1.16;
  text-wrap: balance;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(34px, 4vw, 46px);
  text-wrap: auto;
  white-space: pre-line;
}

.hero-lead {
  max-width: 650px;
  margin: 20px 0 0;
  color: #3f4f64;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  font-weight: 800;
  padding: 11px 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 39, 71, 0.18);
}

.button.gold {
  background: linear-gradient(180deg, #e3bb72, var(--gold-2));
  color: #fff;
  box-shadow: 0 12px 26px rgba(214, 168, 92, 0.22);
}

.hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1.32 / 1;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-radius: 8px;
  background: rgba(15, 39, 71, 0.9);
  color: #fff;
  padding: 14px 16px;
}

.hero-visual figcaption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 750;
}

.hero-visual figcaption strong {
  color: #fff;
  font-size: 14px;
}

.identity-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.identity-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.08fr 1fr;
  gap: 1px;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  background: var(--line);
}

.identity-item {
  min-width: 0;
  background: #fff;
  padding: 22px 28px;
}

.identity-item small,
.stat-item small,
.service-card small,
.contact-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.identity-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 16px;
  margin-top: 6px;
}

.section {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 70px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head.split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.62fr);
  gap: 48px;
  align-items: end;
}

.section-head h2,
.contact-copy h2 {
  font-size: clamp(28px, 3.5vw, 42px);
}

.section-head p:not(.eyebrow),
.contact-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  align-items: stretch;
}

.about-copy,
.about-side,
.service-card,
.advantage-card,
.process-step,
.vision-panel,
.contact-panel,
.visual-strip > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.about-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px;
}

.about-copy p {
  margin: 0;
  color: #243954;
  font-size: 17px;
}

.about-side {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.about-side img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.stat-grid {
  display: grid;
  gap: 0;
}

.stat-item {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.stat-item:last-child {
  border-bottom: 0;
}

.stat-item strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.16;
  margin-top: 7px;
}

.stat-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.services-section {
  width: 100%;
  max-width: none;
  padding: 74px max(22px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(var(--max), 100%);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 32px;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--teal);
  content: "";
}

.service-card:nth-child(2)::before {
  background: var(--gold);
}

.service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, #e2b970, var(--gold-2));
}

.service-card small {
  color: var(--gold-2);
  margin-top: 18px;
}

.service-card h3 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.2;
}

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

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.service-card li strong {
  color: var(--navy);
}

.service-card li p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.service-fit {
  margin-top: auto;
  padding-top: 22px;
}

.service-fit b {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 10px;
}

.service-fit div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-fit span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: #334a66;
  font-size: 13px;
  font-weight: 750;
  padding: 6px 10px;
}

.visual-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 8px 0 34px;
}

.visual-strip > div {
  overflow: hidden;
}

.visual-strip img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.visual-strip span {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  padding: 12px 14px 14px;
}

.advantages-section {
  padding-top: 44px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.advantage-card {
  min-height: 100%;
  padding: 22px;
}

.advantage-card span,
.process-step span {
  display: inline-grid;
  min-width: 36px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(214, 168, 92, 0.14);
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 900;
}

.advantage-card h3,
.process-step h3,
.vision-item h3 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.28;
}

.advantage-card p,
.process-step p,
.vision-item p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.process-section {
  width: 100%;
  max-width: none;
  padding: 70px max(22px, calc((100vw - var(--max)) / 2));
  background: #fff;
}

.texture-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.texture-row img {
  width: 100%;
  height: 34px;
  border-radius: 5px;
  object-fit: cover;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--max), 100%);
}

.process-step {
  padding: 24px;
}

.vision-section {
  padding-top: 56px;
}

.vision-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 42px;
  overflow: hidden;
  padding: 34px;
  background:
    linear-gradient(110deg, rgba(15, 39, 71, 0.94), rgba(18, 56, 95, 0.9)),
    url("./images/data-wave.png") right bottom / 360px auto no-repeat;
  color: #fff;
}

.vision-panel .eyebrow {
  color: var(--gold);
}

.vision-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
}

.vision-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.vision-list {
  display: grid;
  gap: 12px;
}

.vision-item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.vision-item h3 {
  color: #fff;
  margin-top: 0;
}

.contact-section {
  padding: 70px max(22px, calc((100vw - var(--max)) / 2));
  background: #f7f9fc;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.66fr);
  gap: 38px;
  align-items: stretch;
  width: min(var(--max), 100%);
}

.contact-copy {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 39, 71, 0.92), rgba(15, 39, 71, 0.78)),
    url("./images/hero-harbour.png") center / cover no-repeat;
  color: #fff;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-copy .eyebrow {
  color: var(--gold);
}

.contact-copy h2 {
  color: #fff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
  display: grid;
  align-content: center;
  padding: 12px;
}

.contact-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row strong {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.contact-row a {
  color: var(--teal);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 34px max(22px, calc((100vw - var(--max)) / 2));
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .brand-symbol span:first-child {
  border-color: #5fc6c1;
}

.site-footer .brand-symbol span:last-child {
  border-color: var(--gold);
}

.site-footer strong {
  color: #fff;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.58);
}

.site-footer div:last-child {
  display: grid;
  gap: 4px;
  justify-items: end;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 22px;
    left: 22px;
    display: none;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 8px;
  }

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

  .main-nav a {
    padding: 12px;
  }

  .hero-inner,
  .about-grid,
  .section-head.split,
  .vision-panel,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
  }

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

@media (max-width: 760px) {
  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }

  .brand-copy small {
    display: none;
  }

  .language-switch {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .language-switch button {
    flex: 1;
  }

  .main-nav {
    top: 112px;
    right: 16px;
    left: 16px;
  }

  .hero-inner {
    width: min(100% - 32px, var(--max));
    padding: 42px 0 36px;
  }

  .hero h1 {
    font-size: clamp(29px, 7.8vw, 31px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .identity-inner,
  .service-grid,
  .visual-strip,
  .advantage-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .services-section,
  .process-section,
  .contact-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .section {
    width: min(100% - 32px, var(--max));
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-head h2,
  .contact-copy h2,
  .vision-panel h2 {
    font-size: 28px;
  }

  .about-copy,
  .service-card,
  .vision-panel,
  .contact-copy {
    padding: 24px;
  }

  .contact-inner {
    display: block;
  }

  .contact-panel {
    margin-top: 18px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer div:last-child {
    justify-items: start;
  }
}
