:root {
  --ink: #102326;
  --ink-soft: #40575b;
  --paper: #fbfbf7;
  --surface: #ffffff;
  --mist: #edf4f1;
  --line: #d9e3de;
  --teal: #0a6b6b;
  --teal-deep: #06494b;
  --coral: #c45d45;
  --gold: #c69344;
  --shadow: 0 18px 45px rgba(12, 35, 38, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: #fff;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 251, 247, 0.92);
  box-shadow: 0 8px 28px rgba(16, 35, 38, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}

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

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

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 80svh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 27, 30, 0.82) 0%, rgba(9, 27, 30, 0.52) 35%, rgba(9, 27, 30, 0.12) 68%),
    linear-gradient(180deg, rgba(9, 27, 30, 0.2), rgba(9, 27, 30, 0.28)),
    url("assets/hero.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, rgba(251, 251, 247, 0), var(--paper));
  content: "";
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(86px, 12vh, 110px) 0 clamp(28px, 5vh, 48px);
}

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

.hero .eyebrow {
  color: #f2b18d;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(24px, 4vh, 42px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.button-primary {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero-metrics {
  display: grid;
  width: min(760px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  min-width: 0;
  padding: 16px 18px;
  background: rgba(12, 35, 38, 0.24);
}

.hero-metrics dt {
  margin-bottom: 4px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.section {
  padding: clamp(66px, 9vw, 116px) 0;
}

.section-muted {
  background: var(--mist);
}

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

.intro {
  padding-top: clamp(42px, 6vw, 76px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 7vw, 100px);
  align-items: end;
}

.intro-grid p:last-child,
.sticky-heading p,
.proof-copy p,
.contact-layout p {
  color: var(--ink-soft);
  font-size: 17px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(30px, 5vw, 54px);
}

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

.service-card,
.value-list article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 292px;
  padding: 24px;
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: #e7f3ef;
  color: var(--teal);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.service-card p,
.value-list p,
.process-list p,
.contact-panel p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(34px, 8vw, 110px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
}

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

.process-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}

.process-list li:first-child {
  padding-top: 0;
}

.process-list span {
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.proof {
  background: var(--teal-deep);
  color: #fff;
}

.proof .section-kicker {
  color: #f5bd82;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.proof-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.value-list {
  display: grid;
  gap: 14px;
}

.value-list article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.value-list p {
  color: rgba(255, 255, 255, 0.74);
}

.contact {
  background:
    linear-gradient(90deg, rgba(196, 93, 69, 0.1), rgba(10, 107, 107, 0.11)),
    var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 7vw, 84px);
  align-items: center;
}

.contact-panel {
  padding: 28px;
}

.contact-label {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.contact-panel a,
.contact-panel p {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

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

.site-footer {
  padding: 28px 0;
  background: #102326;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .method-layout,
  .proof-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .brand {
    max-width: calc(100% - 54px);
    font-size: 13px;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(251, 251, 247, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .hero {
    min-height: 82svh;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(9, 27, 30, 0.86), rgba(9, 27, 30, 0.56)),
      linear-gradient(180deg, rgba(9, 27, 30, 0.2), rgba(9, 27, 30, 0.34)),
      url("assets/hero.jpg") 58% center / cover no-repeat;
  }

  .hero-inner {
    width: min(var(--max), calc(100% - 32px));
    padding-top: 92px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

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

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

  .process-list li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
