@import "tailwindcss";

:root {
  --background: #f6f7f4;
  --foreground: #18201f;
  --muted: #67716f;
  --line: rgba(24, 32, 31, 0.11);
  --panel: #ffffff;
  --ink: #111817;
  --accent: #2f7468;
  --accent-strong: #bd684f;
  --night: #121817;
  --soft: #eef1ec;
  --font-display:
    "MiSans", "HarmonyOS Sans SC", "Alibaba PuHuiTi", "OPPO Sans",
    "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC",
    "Source Han Sans SC", sans-serif;
  --font-cn:
    "Inter", "SF Pro Text", "PingFang SC", "Hiragino Sans GB",
    "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei UI",
    "Microsoft YaHei", sans-serif;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

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

main {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  min-height: 88vh;
  padding: 30px clamp(20px, 4vw, 64px) 70px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #121817 0%, #1e2c2a 54%, #2f7468 100%);
  background-size: 40px 40px, 40px 40px, auto;
  color: #fbfcf8;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 560;
}

.brand span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.13);
  font-weight: 650;
  letter-spacing: 0;
}

.navRight {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}

.navLinks {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 253, 250, 0.76);
  font-size: 13px;
  font-weight: 460;
}

.navLinks a:hover {
  color: #fffdfa;
}

.languageToggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 34px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(251, 252, 248, 0.72);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.languageToggle span {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 26px;
  border-radius: 6px;
  padding: 0 8px;
}

.languageToggle .active {
  background: #fbfcf8;
  color: var(--ink);
}

.heroGrid {
  max-width: 1180px;
  margin: 96px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.62fr);
  gap: clamp(38px, 8vw, 108px);
  align-items: center;
}

.locale-en h1 {
  max-width: 800px;
  font-size: clamp(36px, 4.8vw, 64px);
}

.locale-en .lead,
.locale-en .intro > p,
.locale-en .contact p,
.locale-en .service p,
.locale-en .timeline p,
.locale-en .faq p {
  line-height: 1.72;
}

.locale-en .service h3,
.locale-en .timeline h3 {
  font-weight: 520;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d9aa98;
}

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

h1,
h2,
h3,
.heroPanel strong,
.strength p,
summary,
address a,
address span {
  font-family: var(--font-display);
}

h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.16;
  font-weight: 520;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: rgba(251, 252, 248, 0.74);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.95;
  font-weight: 380;
}

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

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 520;
}

.primary {
  background: #fffdfa;
  color: var(--ink);
}

.secondary {
  color: #fffdfa;
}

.heroPanel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(251, 252, 248, 0.075);
  padding: 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px);
}

.heroPanel strong {
  display: block;
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.28;
  font-weight: 500;
}

.panelLabel {
  color: rgba(255, 253, 250, 0.64);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.signalGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.signalGrid span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 11px 12px;
  color: rgba(251, 252, 248, 0.72);
  font-size: 13px;
  font-weight: 430;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px clamp(20px, 4vw, 32px);
}

.intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 92px);
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.26;
  letter-spacing: 0;
  font-weight: 500;
}

.intro > p,
.contact p {
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.95;
  font-weight: 380;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 82px);
}

.stickyTitle {
  align-self: start;
  position: sticky;
  top: 32px;
}

.strengthList {
  display: grid;
  gap: 14px;
}

.strength {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.strength span {
  width: 16px;
  height: 16px;
  margin-top: 8px;
  background: var(--accent);
}

.strength p {
  margin: 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.48;
  font-weight: 470;
}

.sectionHead {
  max-width: 690px;
  margin-bottom: 36px;
}

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

.service {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 50px rgba(24, 32, 31, 0.035);
}

.service h3,
.timeline h3 {
  margin-bottom: 18px;
  font-size: 19px;
  line-height: 1.38;
  font-weight: 500;
}

.service p,
.timeline p,
.faq p {
  color: var(--muted);
  line-height: 1.88;
  font-size: 15px;
  font-weight: 380;
}

.process {
  max-width: none;
  background: var(--night);
  color: #fbfcf8;
}

.process .sectionHead,
.timeline {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
}

.timeline article {
  min-height: 235px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.timeline span {
  display: block;
  margin-bottom: 44px;
  color: #d9aa98;
  font-family: var(--font-geist-mono), monospace;
  font-size: 13px;
}

.timeline p {
  color: rgba(255, 253, 250, 0.68);
}

.faqList {
  display: grid;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

summary {
  cursor: pointer;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 480;
}

.faq p {
  max-width: 780px;
  margin: 18px 0 0;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(32px, 7vw, 90px);
  padding: 80px clamp(20px, 6vw, 80px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

address {
  display: grid;
  gap: 16px;
  align-content: center;
  font-style: normal;
}

address a,
address span {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 460;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .heroGrid,
  .intro,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .heroGrid {
    margin-top: 72px;
  }

  .serviceGrid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stickyTitle {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
  }

  .navRight {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .navLinks {
    gap: 14px;
    font-size: 13px;
  }

  h1 {
    font-size: 34px;
  }

  .heroPanel {
    padding: 20px;
  }

  .serviceGrid,
  .timeline,
  .signalGrid {
    grid-template-columns: 1fr;
  }

  .service,
  .timeline article {
    min-height: auto;
  }

  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }
}
