:root {
  --bg: #f3efe8;
  --panel: rgba(255, 251, 246, 0.82);
  --ink: #1d1a17;
  --ink-soft: #5f574e;
  --line: rgba(43, 36, 30, 0.12);
  --line-strong: rgba(43, 36, 30, 0.2);
  --accent: #9f7b4b;
  --accent-strong: #7e5d34;
  --accent-soft: rgba(159, 123, 75, 0.1);
  --shadow: 0 24px 80px rgba(39, 31, 24, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100vw - 40px));
  --transition: 260ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(183, 149, 98, 0.12), transparent 35%),
    radial-gradient(circle at 90% 15%, rgba(98, 84, 64, 0.08), transparent 22%),
    linear-gradient(180deg, #f7f3ed 0%, #f1ece4 100%);
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 78%);
  opacity: 0.3;
}

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

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(243, 239, 232, 0.72);
  border-bottom: 1px solid rgba(43, 36, 30, 0.06);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mark__cn,
.hero-brand__cn {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: 0.18em;
}

.brand-mark__en,
.hero-brand__en,
.eyebrow,
.micro-label,
.stat-card span,
.step-index {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

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

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.nav-cta,
.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.nav-cta,
.button {
  background: var(--ink);
  color: #fdf7ef;
  box-shadow: 0 14px 30px rgba(29, 26, 23, 0.15);
}

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

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 251, 246, 0.55);
}

.button-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 251, 246, 0.8);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: rgba(255, 251, 246, 0.8);
  border-radius: 999px;
  padding: 10px 16px;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  padding: 72px 0 34px;
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-side,
.section-panel,
.contact-card,
.detail-card,
.brand-card,
.scenario-card,
.glass-card,
.stat-card,
.cta-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: var(--panel);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  padding: 44px;
  background:
    linear-gradient(135deg, rgba(255, 251, 246, 0.95), rgba(244, 237, 228, 0.88)),
    radial-gradient(circle at top right, rgba(159, 123, 75, 0.12), transparent 28%);
}

.hero-side {
  padding: 26px;
  display: grid;
  gap: 16px;
  align-content: space-between;
  background:
    linear-gradient(180deg, rgba(29, 26, 23, 0.95), rgba(56, 48, 40, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  color: #f8efe3;
}

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

.hero-badge {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(159, 123, 75, 0.3);
  background: rgba(159, 123, 75, 0.08);
  color: var(--accent-strong);
  font-size: 0.9rem;
}

.hero h1,
.section-title h1,
.section-title h2,
.brand-card h2,
.detail-card h2,
.scenario-card h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  line-height: 1.18;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  max-width: 11ch;
}

.hero p {
  margin: 20px 0 0;
  max-width: 58ch;
  color: var(--ink-soft);
}

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

.hero-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-side p,
.hero-side li {
  color: rgba(248, 239, 227, 0.8);
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 251, 246, 0.8);
  box-shadow: var(--shadow);
  min-height: 220px;
}

.showcase-card img,
.brand-card__media img,
.brand-tile__media img,
.brand-mark-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(17, 15, 13, 0.78));
  color: #fff7ed;
}

.showcase-card__overlay .micro-label {
  color: rgba(255, 232, 194, 0.92);
}

.showcase-card__overlay h3 {
  margin: 6px 0 0;
  font-size: 1.12rem;
}

.hero-side ul,
.feature-list,
.promise-list,
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-side li,
.feature-list li,
.promise-list li {
  position: relative;
  padding-left: 18px;
}

.hero-side li::before,
.feature-list li::before,
.promise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

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

.stat-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.12rem;
  color: #fffaf2;
}

.section {
  padding: 38px 0;
}

.section--tight {
  padding-top: 8px;
  padding-bottom: 14px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.section-title p,
.lead-text,
.detail-card p,
.brand-card p,
.scenario-card p,
.footer-panel p,
.contact-card p {
  color: var(--ink-soft);
}

.section-title h1,
.section-title h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.grid-3,
.grid-2,
.brand-grid,
.solutions-grid,
.scenario-grid,
.brand-strip {
  display: grid;
  gap: 18px;
}

.grid-3,
.brand-grid,
.solutions-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.brand-strip {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.glass-card,
.solution-card,
.brand-tile,
.detail-card,
.brand-card,
.scenario-card,
.section-panel,
.contact-card,
.cta-panel {
  padding: 28px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.glass-card h3,
.solution-card h3,
.brand-tile h3,
.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.glass-card p,
.solution-card p,
.brand-tile p,
.faq-item p {
  margin: 0;
}

.solution-card,
.brand-tile {
  background: rgba(255, 251, 246, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.brand-mark-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 246, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.brand-mark-card img {
  width: auto;
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}

.brand-mark-card span,
.brand-card__logo--text span {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.brand-mark-card--water span {
  color: #2f6283;
}

.brand-mark-card--dark span {
  color: #2d2823;
}

.brand-mark-card--heat span {
  color: #9c5e2c;
}

.brand-mark-card--pipe span {
  color: #75542c;
}

.brand-mark-card--soft span {
  color: #87673f;
}

.brand-tile__logo,
.brand-card__logo {
  height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.brand-card__logo {
  margin-bottom: 18px;
}

.brand-tile__logo img,
.brand-card__logo img {
  max-width: 160px;
  max-height: 42px;
  object-fit: contain;
}

.brand-tile__media,
.brand-card__media {
  overflow: hidden;
  border-radius: 18px;
  margin-top: 18px;
  background: #ece3d5;
}

.brand-tile__media {
  height: 150px;
}

.brand-card__media {
  height: 200px;
  margin-bottom: 18px;
}

.glass-card:hover,
.solution-card:hover,
.brand-tile:hover,
.detail-card:hover,
.brand-card:hover,
.scenario-card:hover,
.section-panel:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 123, 75, 0.22);
  box-shadow: 0 26px 84px rgba(39, 31, 24, 0.16);
}

.chip-row,
.tag-list,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.tag-list span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.92rem;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
}

.brand-card--supporting {
  background: rgba(247, 242, 236, 0.74);
}

.detail-card__head {
  margin-bottom: 14px;
}

.feature-list,
.promise-list,
.contact-stack,
.footer-links {
  gap: 12px;
}

.scenario-focus {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 246, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.step-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(159, 123, 75, 0.12);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 246, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(29, 26, 23, 0.96), rgba(77, 64, 50, 0.96)),
    radial-gradient(circle at top left, rgba(159, 123, 75, 0.18), transparent 30%);
  color: #fdf7ef;
}

.cta-panel p {
  color: rgba(253, 247, 239, 0.75);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.cta-panel .button-secondary {
  color: #fdf7ef;
  border-color: rgba(253, 247, 239, 0.18);
  background: rgba(253, 247, 239, 0.08);
}

.contact-card h3,
.footer-panel h2 {
  margin: 0 0 10px;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-stack a,
.contact-stack p {
  margin: 0;
}

.footer-title {
  margin: 0 0 14px;
  color: var(--ink);
}

.site-footer {
  margin-top: 34px;
  padding: 34px 0 24px;
  border-top: 1px solid rgba(43, 36, 30, 0.08);
  background: rgba(248, 243, 236, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 22px;
}

.footer-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 246, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.footer-panel a {
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-top: 1px solid rgba(43, 36, 30, 0.08);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

.page-hero {
  padding: 62px 0 24px;
}

.page-hero__panel {
  padding: 36px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 251, 246, 0.92), rgba(244, 237, 228, 0.82)),
    radial-gradient(circle at top right, rgba(159, 123, 75, 0.15), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.page-hero__panel h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.page-hero__panel p {
  max-width: 56ch;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .split-panel,
  .cta-panel,
  .footer-grid,
  .grid-3,
  .grid-2,
  .brand-grid,
  .solutions-grid,
  .scenario-grid,
  .brand-strip {
    grid-template-columns: 1fr;
  }

  .section-title,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 251, 246, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a.is-active::after,
  .site-nav a:hover::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero,
  .page-hero {
    padding-top: 40px;
  }

  .hero-copy,
  .hero-side,
  .glass-card,
  .solution-card,
  .brand-tile,
  .detail-card,
  .brand-card,
  .scenario-card,
  .contact-card,
  .cta-panel,
  .page-hero__panel {
    padding: 22px;
    border-radius: 24px;
  }

  .header-shell {
    min-height: 74px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

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

  .button,
  .button-secondary,
  .nav-cta {
    width: 100%;
  }
}
