:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-muted: #eef3ef;
  --ink: #14201b;
  --muted: #60716a;
  --line: #d9e2dc;
  --green: #0b5a43;
  --green-dark: #064232;
  --green-soft: #d9eadf;
  --blue-gray: #748791;
  --shadow: 0 24px 70px rgba(27, 45, 39, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(11, 90, 67, 0.08), transparent 34rem),
    linear-gradient(180deg, #fbfcfa 0%, var(--bg) 48%, #ffffff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 54px);
  border-bottom: 1px solid rgba(217, 226, 220, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green);
  border: 1px solid rgba(11, 90, 67, 0.22);
  background: linear-gradient(135deg, #ffffff, #e7f0eb);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand > span:last-child {
  min-width: 0;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #31413b;
  font-size: 14px;
}

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

.nav a:hover,
.nav a:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.language-switch a {
  display: inline-flex;
  min-width: 46px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
}

.language-switch a.is-active {
  color: #ffffff;
  background: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 82px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(50px, 7vw, 92px) clamp(22px, 5vw, 72px) 52px;
}

.section-index {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.06;
}

.hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #1b2a25;
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 560;
  line-height: 1.4;
}

.hero-body {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 650;
}

.button-primary {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(11, 90, 67, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-dark);
}

.button-secondary {
  color: var(--green);
  border-color: rgba(11, 90, 67, 0.22);
  background: rgba(255, 255, 255, 0.7);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 226, 220, 0.9);
  background: #f9fbf9;
  box-shadow: var(--shadow);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 42%);
}

.hero-media img {
  width: 100%;
  height: min(58vw, 620px);
  object-fit: cover;
  object-position: center;
}

.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: -22px auto 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 48px rgba(35, 50, 44, 0.08);
}

.triad div {
  min-height: 112px;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.triad div:last-child {
  border-right: 0;
}

.triad span {
  display: block;
  margin-bottom: 9px;
  color: var(--blue-gray);
  font-size: 12px;
  font-weight: 760;
}

.triad strong {
  display: block;
  color: var(--green-dark);
  font-size: 22px;
}

.triad p {
  margin: 3px 0 0;
  color: var(--muted);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 22px 0;
}

#position,
#business,
#services,
#compliance,
#contact {
  scroll-margin-top: 112px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(30px, 3.2vw, 48px);
  letter-spacing: 0;
  line-height: 1.16;
}

.copy-stack {
  display: grid;
  gap: 20px;
  color: #32443d;
  font-size: 19px;
}

.copy-stack p {
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p:not(.section-index) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.framework {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.framework > .section-heading {
  padding: 0 22px;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  gap: 18px;
}

.framework-grid article,
.business-card,
.service-row article {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 247, 0.98)),
    #ffffff;
}

.framework-grid article {
  min-height: 260px;
  padding: 32px;
}

.line-icon {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border: 1px solid rgba(11, 90, 67, 0.3);
  background:
    linear-gradient(90deg, transparent 47%, rgba(11, 90, 67, 0.32) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(11, 90, 67, 0.32) 47% 53%, transparent 53%),
    #f7fbf8;
}

h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.28;
}

.framework-grid p,
.business-card p,
.service-row p,
.process-list p,
.compliance p {
  color: var(--muted);
}

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

.business-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 30px;
}

.business-card.featured {
  border-color: rgba(11, 90, 67, 0.38);
  box-shadow: 0 20px 60px rgba(11, 90, 67, 0.12);
}

.card-number {
  display: inline-flex;
  width: 46px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--green);
  border: 1px solid rgba(11, 90, 67, 0.2);
  background: var(--green-soft);
  font-weight: 760;
}

.business-card p {
  margin: 18px 0 0;
  font-size: 16px;
}

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

.business-card li {
  position: relative;
  padding-left: 18px;
  color: #35453f;
  font-size: 15px;
}

.business-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--green);
  content: "";
}

.scope-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  color: #485b53;
  border: 1px solid rgba(11, 90, 67, 0.16);
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.centered-note {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.services {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.services > .section-heading {
  padding: 0 22px;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  gap: 0;
}

.service-row article {
  min-height: 230px;
  padding: 34px;
  border-right: 0;
}

.service-row article:last-child {
  border-right: 1px solid var(--line);
}

.process {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 88px);
}

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

.process-list li {
  display: grid;
  grid-template-columns: 58px minmax(130px, 0.44fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.process-list strong {
  color: var(--green-dark);
  font-size: 18px;
}

.process-list p {
  margin: 0;
}

.compliance {
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  gap: 34px;
  margin-top: 94px;
  padding: 34px;
  border: 1px solid rgba(11, 90, 67, 0.2);
  background: linear-gradient(135deg, #ffffff, #edf5ef);
}

.compliance p {
  margin: 0;
  font-size: 17px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
  margin-top: 88px;
  padding: 36px clamp(22px, 5vw, 72px);
  color: #eaf3ee;
  background: linear-gradient(135deg, var(--green-dark), #0d6048);
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer span,
.site-footer small {
  color: rgba(234, 243, 238, 0.76);
}

.site-footer a {
  color: #ffffff;
  font-weight: 720;
}

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

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid var(--line);
    color: var(--green-dark);
    background: rgba(255, 255, 255, 0.74);
    font-size: 12px;
  }

  html {
    scroll-padding-top: 164px;
  }

  #position,
  #business,
  #services,
  #compliance,
  #contact {
    scroll-margin-top: 164px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media img {
    height: 52vw;
    min-height: 360px;
  }

  .business-grid,
  .framework-grid,
  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row article,
  .service-row article:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .service-row article:last-child {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
    gap: 12px 14px;
    grid-template-columns: 1fr auto;
  }

  .brand strong {
    max-width: 240px;
    font-size: 14px;
  }

  .brand small {
    max-width: 240px;
  }

  html {
    scroll-padding-top: 134px;
  }

  #position,
  #business,
  #services,
  #compliance,
  #contact {
    scroll-margin-top: 134px;
  }

  .nav {
    display: flex;
    grid-column: 1 / -1;
  }

  .hero {
    padding: 42px 18px 34px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-media img {
    height: 72vw;
    min-height: 270px;
  }

  .triad {
    grid-template-columns: 1fr;
    margin: 0 18px;
  }

  .triad div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .triad div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 70px;
  }

  .split,
  .process,
  .compliance {
    grid-template-columns: 1fr;
  }

  .copy-stack {
    font-size: 17px;
  }

  .framework-grid article,
  .business-card,
  .service-row article {
    min-height: 0;
    padding: 24px;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
  }

  .process-list p {
    grid-column: 2;
  }

  .compliance {
    margin-right: 18px;
    margin-left: 18px;
    padding: 24px;
  }

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