:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #f0ece4;
  --ink: #122032;
  --muted: #5f6b78;
  --line: rgba(18, 32, 50, 0.14);
  --navy: #0c1f35;
  --navy-2: #122c49;
  --gold: #c9933c;
  --gold-soft: #f2dfbd;
  --green: #638774;
  --shadow: 0 22px 70px rgba(12, 31, 53, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(201, 147, 60, 0.15), transparent 28rem),
    radial-gradient(circle at 95% 0%, rgba(99, 135, 116, 0.18), transparent 30rem),
    var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

p {
  color: var(--muted);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-130%);
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(247, 244, 238, 0.78);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 32px rgba(12, 31, 53, 0.08);
  background: rgba(247, 244, 238, 0.93);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 0.95rem;
  color: rgba(18, 32, 50, 0.78);
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(12, 31, 53, 0.08);
  color: var(--navy);
  outline: none;
}

.site-nav .nav-cta {
  background: var(--navy);
  color: #fff;
  margin-left: 4px;
  box-shadow: 0 10px 24px rgba(12, 31, 53, 0.18);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--gold);
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
}

.language-switcher button {
  appearance: none;
  border: 0;
  min-height: 34px;
  min-width: 48px;
  padding: 6px 11px;
  border-radius: 999px;
  background: transparent;
  color: rgba(18, 32, 50, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: var(--navy);
  outline: none;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(12, 31, 53, 0.15);
}


.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  position: relative;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  width: 18px;
  height: 2px;
  background: var(--navy);
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-line {
  top: 50%;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
}

.nav-toggle-line::before {
  top: -6px;
}

.nav-toggle-line::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line {
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::before {
  transform: translateX(-50%) translateY(6px) rotate(90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::after {
  opacity: 0;
}

.hero {
  padding: 80px 0 52px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -18% -38% 52%;
  height: 560px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(12, 31, 53, 0.12), rgba(201, 147, 60, 0.12));
  filter: blur(8px);
  transform: rotate(-14deg);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 46px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero-lead {
  max-width: 680px;
  font-size: clamp(1.04rem, 1.7vw, 1.2rem);
  color: rgba(18, 32, 50, 0.72);
  margin-bottom: 32px;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 760;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 16px 32px rgba(12, 31, 53, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(201, 147, 60, 0.24);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(12, 31, 53, 0.32);
  background: #fff;
}

.hero-contact {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-contact span {
  color: var(--navy);
  font-weight: 760;
}

.hero-contact a {
  color: var(--navy);
  border-bottom: 1px solid rgba(12, 31, 53, 0.32);
}

.hero-panel {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 10% 0%, rgba(201, 147, 60, 0.24), transparent 18rem);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 31, 53, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 31, 53, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 70%);
  pointer-events: none;
}

.panel-top,
.metric-card,
.mini-grid {
  position: relative;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.panel-badge,
.panel-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 760;
}

.panel-badge {
  background: var(--navy);
  color: #fff;
}

.panel-status {
  background: var(--gold-soft);
  color: #6f4a14;
}

.metric-card {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 16px;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -74px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 34px solid rgba(201, 147, 60, 0.28);
}

.metric-label {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.metric-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.metric-card p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(18, 32, 50, 0.09);
  border-radius: 20px;
  padding: 16px;
}

.mini-card span {
  display: inline-flex;
  color: var(--gold);
  font-weight: 820;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.mini-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.strip {
  padding: 0 0 42px;
}

.strip-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.strip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(18, 32, 50, 0.7);
  font-size: 0.92rem;
}

.section {
  padding: 88px 0;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.section-heading-left {
  text-align: left;
  margin: 0;
}

.section h2,
.contact-card h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}

.cards {
  display: grid;
  gap: 20px;
}

.service-cards {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 32, 50, 0.1);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 16px 44px rgba(12, 31, 53, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 820;
  margin-bottom: 22px;
}

.card h3,
.advantage-item h3,
.timeline-step h3,
.fit-item strong {
  color: var(--navy);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(18, 32, 50, 0.75);
}

.card li + li {
  margin-top: 8px;
}

.section-dark {
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 147, 60, 0.2), transparent 24rem),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.advantage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.text-link {
  display: inline-flex;
  color: var(--gold-soft);
  font-weight: 780;
  border-bottom: 1px solid rgba(242, 223, 189, 0.48);
  padding-bottom: 4px;
}

.advantage-list {
  display: grid;
  gap: 18px;
}

.advantage-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.advantage-item > span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--gold);
  margin-top: 8px;
  box-shadow: 0 0 0 6px rgba(201, 147, 60, 0.16);
}

.advantage-item p {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.timeline-step {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 32, 50, 0.1);
  border-radius: 24px;
  padding: 24px;
  min-height: 220px;
}

.timeline-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: #7c5218;
  font-weight: 860;
  margin-bottom: 22px;
}

.timeline-step p {
  margin-bottom: 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(18, 32, 50, 0.08);
  border-bottom: 1px solid rgba(18, 32, 50, 0.08);
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: start;
}

.fit-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fit-item {
  background: #fff;
  border: 1px solid rgba(18, 32, 50, 0.1);
  border-radius: 22px;
  padding: 22px;
}

.fit-item strong {
  display: block;
}

.fit-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-section {
  padding: 88px 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 32px;
  align-items: center;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 92% 20%, rgba(201, 147, 60, 0.22), transparent 22rem),
    #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 32, 50, 0.08);
}

.contact-card p {
  max-width: 640px;
  margin-bottom: 0;
}

.contact-actions {
  justify-content: flex-end;
}

.email-card {
  width: 100%;
  display: block;
  padding: 18px 20px;
  border: 1px solid rgba(18, 32, 50, 0.12);
  border-radius: 20px;
  background: rgba(247, 244, 238, 0.7);
}

.email-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 3px;
}

.email-card strong {
  color: var(--navy);
  font-size: 1.12rem;
  word-break: break-word;
}

.site-footer {
  border-top: 1px solid rgba(18, 32, 50, 0.1);
  padding: 28px 0;
  color: rgba(18, 32, 50, 0.62);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-inner a {
  color: var(--navy);
  font-weight: 700;
}

body.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

body.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .advantage-grid,
  .fit-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .service-cards,
  .timeline,
  .fit-items {
    grid-template-columns: 1fr 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 14px auto;
    display: grid;
    gap: 8px;
    margin-left: 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 14px;
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

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

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

  .site-nav .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    letter-spacing: -0.045em;
  }

  .mini-grid,
  .service-cards,
  .timeline,
  .fit-items {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-section {
    padding: 66px 0;
  }

  .section-heading,
  .section-heading-left {
    text-align: left;
  }

  .timeline-step {
    min-height: auto;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 142px;
    height: auto;
  }

  .language-switcher button {
    min-width: 40px;
    padding-inline: 8px;
    font-size: 0.8rem;
  }

  .header-actions {
    gap: 8px;
  }

  .hero-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .card,
  .timeline-step,
  .fit-item,
  .hero-panel {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
