:root {
  color-scheme: light;
  --ink: #2f332e;
  --ink-soft: #55594f;
  --muted: #74786f;
  --paper: #f7f3ea;
  --paper-deep: #ebe2d2;
  --white: #fffdf8;
  --sage: #6f7d66;
  --olive: #596345;
  --line: #d5ccbd;
  --wood: #b79a75;
  --shadow: 0 20px 60px rgba(47, 51, 46, 0.12);
  font-family:
    "Helvetica Neue", Arial, "Hiragino Sans GB", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.86);
  border-bottom: 1px solid rgba(213, 204, 189, 0.72);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-company {
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.site-nav a:hover {
  border-color: var(--olive);
}

.language-switch {
  justify-self: end;
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  background: rgba(235, 226, 210, 0.76);
  border: 1px solid var(--line);
}

.lang-button {
  width: 36px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.lang-button.is-active {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(22px, 7vw, 112px) 84px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 243, 234, 0.92) 0%, rgba(247, 243, 234, 0.76) 37%, rgba(247, 243, 234, 0.22) 70%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.26), rgba(255, 253, 248, 0.4));
}

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

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.primary:hover {
  background: var(--olive);
  border-color: var(--olive);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.34);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--white);
}

.intro-section,
.content-section,
.global-section,
.method-section,
.contact-section {
  padding: clamp(76px, 10vw, 132px) clamp(22px, 7vw, 112px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.intro-copy {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.metric {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 26px clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric-value {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
}

.metric-label {
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 48px;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1.3fr);
  gap: 24px;
}

.feature-panel {
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-panel span,
.service-grid span {
  color: var(--olive);
  font-size: 12px;
  font-weight: 700;
}

.feature-panel p {
  color: var(--ink-soft);
  line-height: 1.8;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-row {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.product-row span {
  font-size: 19px;
}

.product-row small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.global-section {
  background: var(--ink);
  color: var(--white);
}

.global-section .section-label,
.global-section .section-heading p {
  color: #d8dccd;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 253, 248, 0.2);
  border: 1px solid rgba(255, 253, 248, 0.2);
}

.service-grid article {
  min-height: 270px;
  padding: 30px;
  background: var(--ink);
}

.service-grid p {
  color: #d6d7cf;
  line-height: 1.8;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(34px, 7vw, 86px);
  background: var(--paper);
}

.method-content p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

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

.process-list li {
  counter-increment: process;
  display: flex;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 24px;
}

.process-list li::before {
  content: "0" counter(process);
  width: 76px;
  color: var(--olive);
  font-size: 14px;
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 420px);
  gap: clamp(34px, 8vw, 100px);
  align-items: start;
}

.contact-copy p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.contact-panel {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-item {
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

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

.contact-item a,
.contact-item p {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 18px;
}

.button.full {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 7vw, 112px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

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

  .site-nav {
    display: none;
  }

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

  .metrics-band,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(1),
  .metric:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    flex-direction: column;
    gap: 2px;
  }

  .brand-mark {
    font-size: 17px;
  }

  .brand-company {
    font-size: 12px;
  }

  .lang-button {
    width: 31px;
    height: 28px;
  }

  .hero {
    min-height: 90vh;
    padding: 104px 18px 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(247, 243, 234, 0.94) 0%, rgba(247, 243, 234, 0.82) 54%, rgba(247, 243, 234, 0.36) 100%),
      rgba(247, 243, 234, 0.35);
  }

  .hero-copy,
  .intro-copy,
  .section-heading p,
  .method-content p,
  .contact-copy p {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.12;
  }

  .metrics-band,
  .product-list,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .intro-section,
  .content-section,
  .global-section,
  .method-section,
  .contact-section {
    padding: 64px 18px;
  }

  .feature-panel,
  .contact-panel,
  .service-grid article {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}
