:root {
  --bg: #f6f3ee;
  --bg-deep: #ece6dd;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-soft: #fbf8f3;
  --card: rgba(255, 255, 255, 0.78);
  --card-border: rgba(17, 59, 88, 0.09);
  --text: #102235;
  --text-muted: rgba(16, 34, 53, 0.7);
  --heading-dark: #102235;
  --body-dark: #4d6173;
  --line: rgba(17, 59, 88, 0.08);
  --line-dark: rgba(17, 59, 88, 0.1);
  --accent: #1fa29a;
  --accent-strong: #157d77;
  --accent-warm: #d7a05a;
  --shadow: 0 28px 72px rgba(26, 44, 60, 0.1);
  --shadow-soft: 0 16px 36px rgba(26, 44, 60, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-display: "Avenir Next", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 162, 154, 0.12), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(215, 160, 90, 0.16), transparent 22%),
    linear-gradient(180deg, #f7f4ef 0%, #f2ede6 100%);
  font-family: var(--font-body);
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 59, 88, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 59, 88, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto -12% -18% auto;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 160, 90, 0.12), transparent 66%);
  filter: blur(8px);
  pointer-events: none;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  padding-top: 104px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 18px 0;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(247, 244, 239, 0.9), rgba(247, 244, 239, 0.74));
  border-bottom: 1px solid rgba(17, 59, 88, 0.08);
  box-shadow: 0 8px 24px rgba(26, 44, 60, 0.04);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(31, 162, 154, 0.2), rgba(215, 160, 90, 0.22)),
    rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(17, 59, 88, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand__sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(17, 59, 88, 0.1);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(17, 59, 88, 0.07);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 32px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 3%;
  right: -8%;
  width: 32vw;
  height: 32vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 162, 154, 0.1), transparent 64%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -6%;
  bottom: 8%;
  width: 28vw;
  height: 28vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 160, 90, 0.09), transparent 66%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.hero__panel,
.surface-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 241, 0.98)),
    linear-gradient(135deg, rgba(31, 162, 154, 0.03), rgba(215, 160, 90, 0.05)),
    rgba(255, 255, 255, 0.82);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero__panel {
  padding: 58px;
}

.hero__panel::before,
.surface-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -20% -10%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(31, 162, 154, 0.12), transparent 65%);
  pointer-events: none;
}

.hero__panel::after,
.surface-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 160, 90, 0.48), rgba(31, 162, 154, 0.16), transparent 70%);
  pointer-events: none;
}

.hero__eyebrow,
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--accent-strong);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__eyebrow::before,
.section__eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero h1 {
  margin: 0;
  max-width: 10.5em;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 24px 0 0;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #f7fbfb;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 12px 28px rgba(31, 162, 154, 0.22);
}

.button--primary:hover {
  box-shadow: 0 16px 32px rgba(31, 162, 154, 0.26);
}

.button--secondary {
  color: var(--text);
  border-color: rgba(17, 59, 88, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.hero__aside {
  display: grid;
  gap: 18px;
}

.stack-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(17, 59, 88, 0.08);
  box-shadow: var(--shadow-soft);
}

.stack-card h2,
.stack-card h3,
.section h2,
.section h3,
.cta h2,
.footer-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.stack-card p,
.section p,
.footer,
.section li,
.meta-list {
  color: var(--text-muted);
  line-height: 1.85;
}

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

.mini-grid__item {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 59, 88, 0.08);
}

.mini-grid__label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mini-grid__value {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.section {
  padding: 56px 0 34px;
}

.section--light {
  color: var(--heading-dark);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at top right, rgba(215, 160, 90, 0.08), transparent 32%),
    transparent;
}

.section--light .surface-panel,
.section--light .card,
.section--light .list-card,
.section--light .feature-card,
.section--light .timeline__item,
.section--light .contact-card {
  background: #ffffff;
  border-color: var(--line-dark);
  box-shadow: 0 20px 48px rgba(11, 19, 32, 0.08);
}

.section--light p,
.section--light li,
.section--light .meta-list,
.section--light .card__meta,
.section--light .contact-card__note {
  color: var(--body-dark);
}

.section--light .section__eyebrow {
  color: #167c74;
}

.section--light .section__eyebrow::before {
  background: linear-gradient(90deg, #167c74, transparent);
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section__head h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.1;
}

.section__lead {
  max-width: 38rem;
}

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

.card,
.feature-card,
.list-card,
.timeline__item,
.contact-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease;
}

.card::before,
.feature-card::before,
.list-card::before,
.timeline__item::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 160, 90, 0.55), rgba(31, 162, 154, 0.2), transparent 72%);
}

.card:hover,
.feature-card:hover,
.list-card:hover,
.timeline__item:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 162, 154, 0.28);
}

.card__index,
.timeline__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(31, 162, 154, 0.12);
  color: var(--accent-strong);
  font-weight: 700;
}

.card h3,
.feature-card h3,
.list-card h3,
.timeline__item h3,
.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.grid-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  gap: 18px;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-card p:last-child,
.card p:last-child,
.list-card p:last-child {
  margin-bottom: 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17, 59, 88, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.section--light .badge {
  border-color: rgba(11, 19, 32, 0.08);
  background: #f7f9fc;
  color: var(--body-dark);
}

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

.timeline__item p {
  margin-bottom: 0;
}

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

.meta-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.meta-list strong {
  color: var(--heading-dark);
  font-weight: 600;
}

.section--light .meta-list strong {
  color: var(--heading-dark);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  transform: translateY(-50%);
}

.cta,
.footer-cta {
  padding: 28px 0 64px;
}

.cta__panel,
.footer-cta__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(17, 59, 88, 0.08);
  background:
    radial-gradient(circle at 90% 20%, rgba(215, 160, 90, 0.18), transparent 26%),
    radial-gradient(circle at 12% 90%, rgba(31, 162, 154, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(31, 162, 154, 0.12), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.cta__panel p,
.footer-cta__panel p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.footer {
  padding: 0 0 36px;
  color: var(--body-dark);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.36));
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 59, 88, 0.08);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-intro {
  max-width: 60rem;
}

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

.service-grid .list-card {
  height: 100%;
}

.list-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.list-card li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(249, 246, 240, 0.92);
  border: 1px solid rgba(17, 59, 88, 0.08);
}

.section--light .list-card li {
  background: #f8fafc;
  border-color: rgba(11, 19, 32, 0.08);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

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

.contact-card__label {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.section--light .contact-card__label {
  color: #167c74;
}

.contact-card__value {
  margin-top: 10px;
  font-size: 1.08rem;
  font-weight: 700;
}

.contact-card__note {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-panel {
  padding: 32px;
}

.contact-panel h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.contact-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(249, 246, 240, 0.9);
  border: 1px solid rgba(17, 59, 88, 0.08);
  color: var(--text-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.section--light .contact-note {
  background: #f7f9fc;
  border-color: rgba(11, 19, 32, 0.08);
  color: var(--body-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 720ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.reveal--2 {
  animation-delay: 100ms;
}

.reveal--3 {
  animation-delay: 180ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .cards,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__grid,
  .grid-split,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .page-shell {
    padding-top: 92px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 59, 88, 0.08);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav a {
    border-radius: 14px;
  }

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

  .hero__panel {
    padding: 36px 28px;
  }

  .mini-grid,
  .columns-2,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta__panel,
  .footer-cta__panel,
  .footer__inner,
  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .section {
    padding-top: 40px;
  }

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

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.3rem);
  }

  .hero p,
  .stack-card p,
  .section p,
  .section li,
  .meta-list {
    line-height: 1.72;
  }
}
