:root {
  --bg: #f2f6fb;
  --bg-soft: #e9f1f9;
  --panel: rgba(255,255,255,.98);
  --panel-2: #ffffff;
  --line: rgba(43, 85, 145, .12);
  --brand: #225fb6;
  --brand-dark: #1a4b92;
  --accent: #67a6df;
  --green: #5aa06b;
  --text: #24344a;
  --muted: #667991;
  --shadow: 0 12px 34px rgba(26, 56, 104, .08);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #f3f7fc 0%, #edf3f9 45%, #f8fbff 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(43, 85, 145, .08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid;
  place-items: center;
  color: white;
  font-size: 22px;
  box-shadow: var(--shadow);
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--brand-dark);
  background: rgba(34,95,182,.08);
  border: 1px solid rgba(34,95,182,.14);
}

.footer-version {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 10px;
  transition: .2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--brand-dark);
  background: rgba(34,95,182,.10);
}

.hero,
.page-hero {
  padding: 42px 0 22px;
}

.hero-banner {
  padding: 28px 0 0;
}

.hero-banner-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
}

.hero-copy,
.hero-panel,
.card,
.service-card,
.material-card,
.step,
.contact-card,
.gallery-card,
.info-card,
.quote-card,
.card-like,
.strip-card,
.business-card,
.cert-card-wide,
.cta-card-ref,
.hero-main,
.hero-side {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(34,95,182,.95), rgba(103,166,223,.88)),
    linear-gradient(180deg, #2b61b9, #1d4f9d);
  color: white;
}

.hero-copy p,
.hero-copy .eyebrow {
  color: rgba(255,255,255,.92);
}

.hero-panel {
  padding: 30px;
}

.hero-panel-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-panel-list,
.mini-list,
.highlight-list,
.bullet-list,
.contact-list,
.icon-grid,
.hero-panel-list {
  display: grid;
  gap: 12px;
}

.hero-panel-item,
.mini-item,
.highlight-item,
.bullet,
.contact-list li,
.info-chip,
.adv-item {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(34,95,182,.04);
  border: 1px solid rgba(34,95,182,.08);
}

.hero-panel-item strong,
.mini-item strong,
.bullet strong,
.adv-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.hero-panel-item span,
.mini-item span,
.highlight-item,
.bullet,
.contact-list li,
.info-chip,
.adv-item span {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.eyebrow,
.strip-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
}

h1, h2, h3, h4 { margin-top: 0; }
h1 {
  margin: 18px 0 16px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.lead,
.hero-main p,
.hero-side p,
.section-desc,
.card p,
.service-card p,
.material-card p,
.step p,
.contact-card p,
.info-card p,
.quote-card p,
.strip-card p,
.business-body p,
.cert-card-wide p,
.cta-card-ref p {
  color: var(--muted);
  line-height: 1.85;
}

.hero-copy p {
  margin: 0;
  font-size: 17px;
  max-width: 760px;
  color: rgba(255,255,255,.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 700;
  transition: .2s ease;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: white; box-shadow: 0 8px 18px rgba(34,95,182,.18); }
.btn-secondary { background: rgba(34,95,182,.08); border-color: rgba(34,95,182,.10); color: var(--brand-dark); }
.hero-copy .btn-secondary { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: white; }

.hero-stats, .stats-row,
.strip-stats,
.about-grid,
.services-grid,
.materials-grid,
.adv-grid,
.steps-grid,
.contact-grid,
.gallery-grid,
.info-grid,
.content-grid,
.business-grid,
.adv-list-grid,
.flow-grid-ref,
.cert-grid,
.split-section {
  display: grid;
  gap: 16px;
}

.company-strip,
.ref-section,
.cert-section,
.cta-section,
section { padding: 22px 0; }

.strip-card {
  padding: 28px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
}

.strip-stats {
  grid-template-columns: 1fr;
}

.stat-box {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(34,95,182,.05);
  border: 1px solid rgba(34,95,182,.08);
}

.stat-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.stat-box strong {
  font-size: 24px;
  color: var(--brand-dark);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.left-head { justify-content: flex-start; }
.section-title { font-size: 28px; margin-bottom: 8px; letter-spacing: -.01em; }

.business-grid { grid-template-columns: 1.15fr .85fr .85fr; }
.business-card-large { grid-row: span 2; }
.business-card { overflow: hidden; }
.business-media {
  min-height: 140px;
  display: flex;
  align-items: end;
  padding: 18px;
  color: white;
  font-size: 22px;
  font-weight: 800;
}
.media-blue { background: linear-gradient(135deg, #2b61b9, #6ca7de); min-height: 280px; }
.media-dark { background: linear-gradient(135deg, #2f4668, #567aa8); }
.media-light { background: linear-gradient(135deg, #7eb7ea, #b4d2ef); color: #214472; }
.media-green { background: linear-gradient(135deg, #5aa06b, #8ab792); }
.business-body { padding: 22px; }
.business-body h3 { margin-bottom: 10px; font-size: 22px; }

.split-section { grid-template-columns: 1.15fr .85fr; }
.card-like { padding: 28px; }
.adv-list-grid { grid-template-columns: 1fr 1fr; }
.side-bullets {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 2;
}

.flow-grid-ref { grid-template-columns: repeat(5, minmax(0,1fr)); }
.flow-card {
  padding: 22px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.flow-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(34,95,182,.10);
  color: var(--brand-dark);
  font-weight: 800;
  margin-bottom: 14px;
}
.flow-card h4 { margin-bottom: 8px; font-size: 18px; }

.cert-card-wide,
.cta-card-ref { padding: 30px; }
.cert-card-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cert-grid { grid-template-columns: repeat(3, 1fr); }
.cert-placeholder {
  min-height: 160px;
  border-radius: 12px;
  border: 1px dashed rgba(34,95,182,.20);
  background: linear-gradient(135deg, rgba(34,95,182,.08), rgba(255,255,255,.8));
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  font-weight: 700;
}

.cta-card-ref {
  background: linear-gradient(135deg, rgba(34,95,182,.08), rgba(255,255,255,.96));
}

.about-grid { grid-template-columns: 1.1fr .9fr; }
.services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.materials-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.adv-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.steps-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.contact-grid { grid-template-columns: 1fr 1fr; }
.gallery-grid { grid-template-columns: 1.2fr .8fr .8fr; }
.info-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.content-grid { grid-template-columns: 1fr 1fr; }

.service-card, .material-card, .step { padding: 24px; }
.service-card h4, .material-card h4, .step h4 { margin-bottom: 10px; font-size: 20px; }

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(34,95,182,.12);
  color: var(--brand);
  font-size: 22px;
  margin-bottom: 14px;
}

.gallery-placeholder {
  min-height: 220px;
  border-radius: 14px;
  border: 1px dashed rgba(34,95,182,.16);
  background:
    linear-gradient(135deg, rgba(34,95,182,.08), rgba(255,255,255,.72)),
    repeating-linear-gradient(
      135deg,
      rgba(34,95,182,.03),
      rgba(34,95,182,.03) 12px,
      transparent 12px,
      transparent 24px
    );
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
}

.gallery-placeholder.tall { min-height: 320px; }
.gallery-placeholder.small { min-height: 150px; }

.placeholder-title {
  font-size: 18px;
  font-weight: 800;
}

.placeholder-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.placeholder-tag {
  align-self: flex-start;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(34,95,182,.08);
  border: 1px solid rgba(34,95,182,.10);
  color: var(--brand-dark);
}

.page-hero .hero-main {
  min-height: auto;
}

.page-hero h1 {
  font-size: clamp(32px, 4.2vw, 48px);
}

.quote-card {
  border-left: 4px solid var(--brand);
}

.quote-card p {
  font-size: 16px;
}

.table-like {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.table-row {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(34,95,182,.04);
  border: 1px solid rgba(34,95,182,.08);
}

.table-row strong {
  display: block;
  margin-bottom: 5px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

footer {
  padding: 32px 0 56px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid rgba(34,95,182,.08);
  margin-top: 18px;
}

@media (max-width: 1080px) {
  .hero-banner-inner,
  .strip-card,
  .split-section,
  .cert-card-wide,
  .hero,
  .about-grid,
  .contact-grid,
  .gallery-grid,
  .content-grid { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: 1fr 1fr; }
  .business-card-large { grid-row: auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .materials-grid, .adv-grid, .info-grid, .cert-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid, .flow-grid-ref { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar-inner, .section-head { flex-direction: column; align-items: flex-start; }
  .hero-copy, .hero-panel, .card, .service-card, .material-card, .step, .contact-card, .gallery-card, .info-card, .quote-card, .card-like, .strip-card, .business-body, .cert-card-wide, .cta-card-ref { padding: 20px; }
  .nav { width: 100%; }
  .services-grid,
  .materials-grid,
  .adv-grid,
  .steps-grid,
  .contact-grid,
  .gallery-grid,
  .info-grid,
  .content-grid,
  .business-grid,
  .adv-list-grid,
  .flow-grid-ref,
  .cert-grid,
  .strip-stats { grid-template-columns: 1fr; }
}
