﻿:root {
  --bg: oklch(0.08 0.000 0);
  --surface: oklch(0.13 0.018 258);
  --surface-raised: oklch(0.17 0.022 258);
  --ink: oklch(0.96 0.005 258);
  --ink-muted: oklch(0.68 0.025 258);
  --primary: oklch(0.62 0.132 258);
  --primary-bright: oklch(0.72 0.118 258);
  --accent: oklch(0.78 0.145 68);
  --accent-dim: oklch(0.55 0.11 68);
  --border: oklch(0.28 0.02 258);
  --font-display: "Archivo", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

address { font-style: normal; }

.container {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ── Nav ── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: oklch(0.08 0.000 0 / 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
  transition: background 0.3s var(--ease-out);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 2rem;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  background: var(--primary);
  color: var(--ink);
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--primary-bright);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0.5rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: start;
  padding-top: calc(var(--nav-h) + clamp(6rem, 22vh, 14rem));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, oklch(0.08 0 0 / 0.55) 45%, oklch(0.08 0 0 / 0.25) 100%),
    linear-gradient(135deg, oklch(0.08 0.04 258 / 0.6) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-tag::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.125rem, 4.2vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.04);
}

.pill .ico {
  width: 0.8125rem;
  height: 0.8125rem;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--primary-bright);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid oklch(1 0 0 / 0.2);
}

.btn-ghost:hover {
  border-color: oklch(1 0 0 / 0.4);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vh, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid oklch(1 0 0 / 0.1);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
}

/* ── Sections ── */
section {
  padding-block: clamp(4rem, 10vh, 7rem);
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
  max-width: 18ch;
}

.section-head p {
  margin-top: 1rem;
  color: var(--ink-muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  padding: 1rem 1.25rem;
  background: oklch(0.08 0 0 / 0.75);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  border: 1px solid oklch(1 0 0 / 0.08);
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-badge span {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.about-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.highlight-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-bright);
  line-height: 1;
  flex-shrink: 0;
}

.highlight-item strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.highlight-item span {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* ── Compare ── */
.compare-section {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--surface-raised);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
}

.compare-table thead th:last-child {
  color: var(--accent);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}

.compare-table tbody td:last-child {
  background: oklch(0.78 0.145 68 / 0.06);
}

.compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.compare-card {
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.compare-card.muted {
  background: var(--bg);
  opacity: 0.85;
}

.compare-card.featured {
  background: linear-gradient(145deg, oklch(0.17 0.035 258), oklch(0.14 0.025 258));
  border-color: oklch(0.62 0.132 258 / 0.4);
}

.compare-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.compare-card.featured h4 { color: var(--accent); }

.compare-card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}

.service-card:hover {
  border-color: oklch(0.62 0.132 258 / 0.5);
  transform: translateY(-3px);
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: oklch(0.62 0.132 258 / 0.15);
  border-radius: 0.6rem;
  margin-bottom: 1.15rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-bright);
  letter-spacing: 0.02em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.chain-flow {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.chain-flow h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-align: center;
}

.chain-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.25rem;
}

.chain-step {
  text-align: center;
  padding: 0.75rem 1.25rem;
  background: var(--surface-raised);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.chain-arrow {
  color: var(--accent);
  font-size: 1.25rem;
  padding: 0 0.25rem;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  justify-content: center;
}

.badge {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: oklch(0.78 0.145 68 / 0.12);
  color: var(--accent);
  border: 1px solid oklch(0.78 0.145 68 / 0.25);
  border-radius: 999px;
}

/* ── Cases (data cards + SVG, no photos) ── */
.cases-section {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}

.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: oklch(0.62 0.132 258 / 0.45);
}

.case-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-raised);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.case-hero-stat {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem;
}

.case-hero-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}

.case-hero-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.case-body {
  padding: 1.35rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.case-type {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-bright);
}

.case-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.ico {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico-sm {
  width: 0.8125rem;
  height: 0.8125rem;
  opacity: 0.85;
}

.ico-title {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.12rem;
  color: var(--accent);
}

.case-type .ico {
  color: var(--primary-bright);
}

.case-stats dt {
  color: var(--ink-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.case-stats dt .ico {
  color: var(--primary-bright);
}

.case-stats {
  list-style: none;
  margin-top: auto;
  display: grid;
  gap: 0.5rem;
}

.case-stats > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0.75rem;
  background: var(--surface);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
}

.case-stats dd {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

/* ── Trust ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.trust-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.trust-card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.trust-stat-banner {
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  background: linear-gradient(135deg, oklch(0.17 0.04 258), oklch(0.13 0.025 258));
  border: 1px solid oklch(0.62 0.132 258 / 0.3);
  border-radius: 1rem;
}

.trust-stat-banner .big {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}

.trust-stat-banner p {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* ── Contact ── */
.contact-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--ink-muted);
  margin-bottom: 2rem;
  max-width: 40ch;
}

.office-list {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.office-list li {
  padding: 1.15rem 1.25rem;
  background: var(--bg);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.office-list strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
}

.office-list span {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.contact-phone {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.35rem;
  background: oklch(0.78 0.145 68 / 0.1);
  border: 1px solid oklch(0.78 0.145 68 / 0.35);
  border-radius: 0.85rem;
  max-width: 20rem;
  transition: border-color 0.2s, background 0.2s;
}

.contact-phone:hover {
  background: oklch(0.78 0.145 68 / 0.14);
  border-color: oklch(0.78 0.145 68 / 0.5);
}

.contact-phone-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-phone-label .ico {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--accent);
}

.contact-phone-number {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1.2;
}

.contact-phone-hint {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.contact-visual {
  border-radius: 1rem;
  overflow: hidden;
  min-height: 320px;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Footer ── */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.footer-extra {
  width: 100%;
  margin-top: 0.25rem;
  text-align: right;
}

.footer-extra a {
  font-size: 0.6875rem;
  color: oklch(0.68 0.025 258 / 0.45);
  transition: color 0.2s;
}

.footer-extra-sep {
  margin: 0 0.5rem;
  font-size: 0.6875rem;
  color: oklch(0.68 0.025 258 / 0.3);
}

.footer-extra a:hover {
  color: var(--ink-muted);
}

.footer-beian {
  width: 100%;
  margin-top: 0.35rem;
  padding-bottom: 0.25rem;
  text-align: center;
}

.footer-beian a {
  font-size: 0.6875rem;
  color: oklch(0.68 0.025 258 / 0.45);
  transition: color 0.2s;
}

.footer-beian a:hover {
  color: var(--ink-muted);
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: oklch(0.13 0.018 258 / 0.92);
  backdrop-filter: blur(8px);
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s, background 0.2s, border-color 0.2s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--surface-raised);
  border-color: oklch(0.62 0.132 258 / 0.45);
}

.back-to-top svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }

  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle { display: block; }

  .nav.open .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: var(--nav-h) 0 auto;
    background: var(--bg);
    padding: 1.5rem 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
  }

  .nav.open .nav-links {
    flex-direction: column;
    gap: 1.25rem;
  }

  .nav.open .nav-cta {
    align-self: flex-start;
    margin-top: 0.25rem;
  }

  .about-grid,
  .compare-cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(0.9375rem, 3.6vw, 1.875rem);
  }

  .footer-extra {
    display: none;
  }
}
