:root {
  --primary: #173b48;
  --primary-dark: #0f2832;
  --primary-soft: #e9f1f2;
  --accent: #b4863b;
  --accent-dark: #7c5a22;
  --ink: #1d1d1f;
  --muted: #64686c;
  --border: #d9dddf;
  --border-strong: #b9c1c5;
  --background: #f7f8f6;
  --surface: #ffffff;
  --shadow: 0 16px 40px rgba(15, 40, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Arial, "Helvetica Neue", "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

button {
  font: inherit;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 800;
}

h2 {
  margin-bottom: 24px;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  isolation: isolate;
}

.top-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 32px;
  color: #ffffff;
  background: var(--primary-dark);
  font-size: 13px;
}

.header-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand tools"
    "nav nav";
  align-items: stretch;
  width: 100%;
  padding: 0 32px;
  background: #ffffff;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-emblem {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #ffffff;
  background: var(--primary);
  border: 1px solid var(--primary-dark);
  box-shadow: inset 0 -5px 0 var(--accent);
  font-size: 24px;
  font-weight: 800;
}

.brand-text strong {
  display: block;
  min-width: 0;
  font-size: 19px;
  line-height: 1.15;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.header-tools {
  grid-area: tools;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  background: #ffffff;
}

.language-switch button {
  min-width: 48px;
  min-height: 38px;
  padding: 7px 10px;
  border: 0;
  color: var(--primary);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button + button {
  border-left: 1px solid var(--border-strong);
}

.language-switch button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--primary);
}

.site-nav {
  grid-area: nav;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  min-width: 0;
  margin: 0 -32px;
  padding: 0 32px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-left: 1px solid var(--border);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:last-child {
  border-right: 1px solid var(--border);
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--primary-soft);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  align-self: center;
  padding: 0;
  border: 1px solid var(--border-strong);
  color: var(--primary);
  background: #ffffff;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  min-height: 610px;
  align-items: center;
  padding: 88px 32px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(15, 40, 50, 0.94), rgba(23, 59, 72, 0.82) 45%, rgba(23, 59, 72, 0.36) 78%),
    url("./assets/hero-hexi.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--primary) 0 72%, var(--accent) 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.hero .eyebrow {
  color: #ffffff;
  font-weight: 700;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--primary);
}

.button.secondary {
  color: #ffffff;
  border-color: #ffffff;
  background: transparent;
}

.section,
.notice-band {
  padding: 76px 32px;
}

.section {
  scroll-margin-top: 168px;
}

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

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

.notice-band {
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.notice-grid article {
  min-height: 112px;
  padding: 22px;
  background: #ffffff;
}

.notice-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.notice-grid strong {
  color: var(--primary);
  font-size: 18px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading p:not(.eyebrow),
.office-layout p {
  color: var(--muted);
  font-size: 17px;
}

.proof-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 54px;
  align-items: start;
}

.proof-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.proof-grid article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  min-height: 152px;
  padding: 24px;
  background: #ffffff;
}

.proof-grid span {
  color: var(--accent-dark);
  font-weight: 800;
}

.proof-grid h3 {
  margin-bottom: 8px;
}

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

.services-section,
.company-section {
  background: var(--background);
}

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

.service-card,
.credentials-grid article,
.office-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}

.service-card {
  min-height: 286px;
  padding: 28px;
  border-top: 4px solid var(--primary);
}

.service-card:nth-child(2) {
  border-top-color: var(--accent);
}

.service-card:nth-child(3) {
  border-top-color: #667985;
}

.card-number {
  display: block;
  margin-bottom: 48px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.service-card p,
.delivery-strip p,
.track-item p,
.credentials-grid p,
.process-list p {
  color: var(--muted);
}

.delivery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: var(--border);
  border: 1px solid var(--border);
}

.delivery-strip article {
  min-height: 148px;
  padding: 22px;
  background: #ffffff;
}

.delivery-strip span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.delivery-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 18px;
  line-height: 1.25;
}

.delivery-strip p {
  margin-bottom: 0;
  font-size: 15px;
}

.markets-section {
  color: #ffffff;
  background: var(--primary);
}

.markets-section .eyebrow,
.markets-section h2 {
  color: #ffffff;
}

.track-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.track-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.track-item span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-weight: 800;
}

.track-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.market-gallery article {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.market-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
}

.market-gallery div {
  padding: 22px;
}

.market-gallery h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 18px;
}

.market-gallery p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.material-section {
  background: #ffffff;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.material-grid article {
  display: grid;
  grid-column: span 4;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
}

.material-grid article:nth-child(4),
.material-grid article:nth-child(5) {
  grid-column: span 6;
}

.material-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--primary-soft);
}

.material-grid div {
  padding: 24px;
}

.material-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.method-section {
  background: #ffffff;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 54px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 18px;
  min-height: 120px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.process-list span {
  grid-row: span 2;
  color: var(--accent-dark);
  font-weight: 800;
}

.process-list strong {
  font-size: 19px;
}

.process-list p {
  margin-bottom: 0;
}

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

.credentials-grid article {
  min-height: 280px;
  padding: 24px;
}

.credentials-grid h3::before {
  display: block;
  width: 40px;
  height: 4px;
  margin-bottom: 18px;
  content: "";
  background: var(--primary);
}

.credentials-grid article:nth-child(2) h3::before {
  background: var(--accent);
}

.credentials-grid article:nth-child(3) h3::before {
  background: #667985;
}

.credentials-grid article:nth-child(4) h3::before {
  background: #9d9a91;
}

.office-section {
  color: #ffffff;
  background: #1e2325;
}

.office-section .eyebrow,
.office-section h2 {
  color: #ffffff;
}

.office-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.office-layout p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.office-card {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 28px;
  color: var(--ink);
  font-style: normal;
}

.office-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.office-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.5;
}

.office-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 34px;
  padding: 26px 32px;
  color: #ffffff;
  background: var(--primary-dark);
  font-size: 14px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.police-record {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.police-record img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand tools";
  }

  .header-tools {
    grid-area: tools;
  }

  .site-nav {
    position: fixed;
    top: 110px;
    right: 0;
    left: 0;
    display: none;
    justify-content: stretch;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: 50px;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-right: 0;
  }

  .menu-button {
    display: block;
  }
}

@media (max-width: 980px) {
  .top-strip {
    padding: 6px 18px;
  }

  .header-main {
    min-height: 70px;
    padding: 0 18px;
  }

  .brand {
    min-height: 70px;
  }

  .site-nav {
    top: 102px;
  }

  .brand-emblem {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .brand-text small {
    display: none;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 29px;
  }

  .hero {
    min-height: 560px;
    padding: 70px 20px;
    background-position: 62% center;
  }

  .section,
  .notice-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .notice-grid,
  .proof-layout,
  .service-grid,
  .delivery-strip,
  .market-gallery,
  .material-grid,
  .credentials-grid,
  .split-layout,
  .office-layout {
    grid-template-columns: 1fr;
  }

  .material-grid article,
  .material-grid article:nth-child(4),
  .material-grid article:nth-child(5) {
    grid-column: auto;
  }

  .credentials-grid article,
  .service-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .top-strip {
    display: none;
  }

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

  .section {
    scroll-margin-top: 76px;
  }

  .header-main {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand";
    min-height: 74px;
    gap: 8px;
    padding: 0 154px 0 14px;
  }

  .site-nav {
    top: 74px;
  }

  .brand {
    gap: 9px;
    min-height: 74px;
  }

  .brand-text strong {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-tools {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    gap: 8px;
  }

  .language-switch button {
    min-width: 36px;
    min-height: 36px;
    padding: 6px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 29px;
    line-height: 1.16;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 25px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: 590px;
    padding: 70px 20px;
    background:
      linear-gradient(90deg, rgba(15, 40, 50, 0.94), rgba(23, 59, 72, 0.82)),
      url("./assets/hero-hexi.png") center / cover no-repeat;
  }

  .hero-content,
  .hero-lede,
  .hero-actions,
  .section-heading {
    width: min(330px, calc(100vw - 40px));
    max-width: min(330px, calc(100vw - 40px));
  }

  .hero-lede {
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .track-item,
  .proof-grid article,
  .process-list li {
    grid-template-columns: 1fr;
  }

  .track-item span,
  .process-list span {
    grid-row: auto;
  }

  .office-card {
    padding: 22px;
  }

  .site-footer {
    justify-content: flex-start;
    gap: 12px;
    padding: 22px 20px;
  }
}
