:root {
  --bg: #f5f0e8;
  --bg-soft: #fbf8f3;
  --paper: rgba(255, 255, 255, 0.72);
  --paper-strong: #fffdfa;
  --text: #182126;
  --muted: #59656d;
  --line: rgba(24, 33, 38, 0.1);
  --brand: #1e8472;
  --brand-deep: #105d50;
  --sand: #ead8c0;
  --shadow: 0 24px 80px rgba(43, 54, 61, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(30, 132, 114, 0.18), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(234, 216, 192, 0.9), transparent 24%),
    linear-gradient(180deg, #f7f3ed 0%, #efe7dc 100%);
}

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

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

.site-shell {
  min-height: 100vh;
  padding: 24px;
}

.topbar,
.hero,
.section,
.footer,
.logo-strip {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  margin-bottom: 28px;
  background: rgba(255, 253, 250, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(43, 54, 61, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav-cta:hover {
  opacity: 0.78;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nav-cta {
  padding: 12px 18px;
  background: var(--text);
  color: #fff;
  font-size: 0.94rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 48px 0 20px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero h1,
.section h2,
.contact-card h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero-text,
.section-head p,
.solution-card p,
.capability-card p,
.case-card p,
.contact-card p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

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

.hover-qr-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.hover-qr-trigger {
  min-width: 220px;
  color: #fff;
  background: linear-gradient(135deg, #6c79ff 0%, #5c67f2 100%);
  box-shadow: 0 16px 32px rgba(92, 103, 242, 0.22);
}

.hover-qr-card {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 276px;
  padding: 14px 14px 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(24, 33, 38, 0.08);
  box-shadow: 0 24px 60px rgba(43, 54, 61, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hover-qr-wrap:hover .hover-qr-card,
.hover-qr-wrap:focus-within .hover-qr-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hover-qr-arrow {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-top: 1px solid rgba(24, 33, 38, 0.08);
  border-left: 1px solid rgba(24, 33, 38, 0.08);
  transform: translateX(-50%) rotate(45deg);
}

.hover-qr-card img {
  width: 248px;
  height: 248px;
  object-fit: cover;
  border-radius: 12px;
}

.hover-qr-card span {
  color: #666f77;
  font-size: 0.96rem;
  text-align: center;
}

.btn {
  padding: 14px 22px;
  font-weight: 600;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 16px 32px rgba(16, 93, 80, 0.18);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 33, 38, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.hero-metrics article,
.solution-card,
.capability-card,
.case-card,
.contact-card,
.quote-wrap {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-metrics article {
  padding: 18px 20px;
  background: var(--paper);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.hero-metrics strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  gap: 18px;
  align-items: end;
}

.visual-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.visual-main {
  transform: rotate(-3deg);
}

.visual-small {
  border-radius: 22px;
}

.visual-small + .visual-small {
  margin-top: 18px;
}

.visual-small.accent {
  transform: translateY(18px);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(24, 33, 38, 0.08);
  border-radius: 999px;
  text-align: center;
  color: #67747d;
  font-size: 0.92rem;
}

.section {
  padding: 96px 0 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head.narrow {
  max-width: 760px;
}

.section h2,
.contact-card h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.solution-grid,
.capability-grid,
.case-grid {
  display: grid;
  gap: 18px;
}

.solution-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.solution-card,
.capability-card,
.case-card,
.contact-card,
.quote-wrap {
  padding: 28px;
  background: rgba(255, 252, 248, 0.74);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
}

.solution-card.highlight {
  background:
    linear-gradient(135deg, rgba(30, 132, 114, 0.9), rgba(16, 93, 80, 0.94)),
    var(--paper-strong);
  color: #fff;
}

.solution-card.highlight p,
.solution-card.highlight li,
.solution-card.highlight .card-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.card-kicker,
.case-card span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 33, 38, 0.06);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-card h3,
.capability-card h3,
.case-card h3 {
  margin: 0 0 12px;
  font-size: 1.34rem;
}

.capability-card img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 18px;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
}

.solution-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.contrast .capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonial {
  padding-top: 84px;
}

.quote-wrap {
  position: relative;
  overflow: hidden;
  padding: 38px;
  background:
    radial-gradient(circle at top left, rgba(30, 132, 114, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(250, 246, 240, 0.86));
}

.quote-wrap blockquote {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.contact-section {
  padding-bottom: 72px;
}

.contact-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.qr-actions {
  display: flex;
  gap: 18px;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 33, 38, 0.08);
}

.qr-card img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 16px;
}

.qr-card span {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .hero,
  .solution-grid,
  .contrast .capability-grid,
  .case-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .visual-small + .visual-small,
  .visual-small.accent {
    margin-top: 0;
    transform: none;
  }

  .logo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 28px;
  }

  .contact-card {
    display: grid;
    align-items: start;
  }

  .qr-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 16px;
  }

  .topbar {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
    padding: 18px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 22px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 14vw, 4.3rem);
  }

  .hero-metrics,
  .logo-strip,
  .visual-stack {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 72px;
  }

  .solution-card,
  .capability-card,
  .case-card,
  .contact-card,
  .quote-wrap {
    padding: 22px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 40px;
  }

  .qr-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hover-qr-trigger {
    min-width: 200px;
  }

  .hover-qr-card {
    width: 240px;
  }

  .hover-qr-card img {
    width: 208px;
    height: 208px;
  }
}
