:root {
  --nav-height: 76px;
  --blue: #0868d8;
  --blue-2: #19a7ff;
  --cyan: #6edff6;
  --ink: #0e1825;
  --deep: #111827;
  --muted: #5d6878;
  --line: #dfe7f1;
  --soft: #f5f8fc;
  --white: #fff;
  --green: #17a673;
  --shadow: 0 20px 45px rgba(14, 24, 37, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-height);
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 18, 33, .82), rgba(7, 18, 33, .22));
  backdrop-filter: blur(14px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(14, 24, 37, .08);
}
.header-inner {
  width: min(1240px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-weight: 800;
}
.brand-text strong { display: block; line-height: 1.2; font-size: 17px; }
.brand-text small { display: block; color: currentColor; opacity: .72; font-size: 12px; margin-top: 3px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 10px 13px;
  border-radius: 8px;
  color: currentColor;
  font-size: 15px;
  transition: background .2s ease, color .2s ease;
}
.site-nav a:hover, .site-nav a.is-active { background: rgba(25, 167, 255, .14); color: var(--blue-2); }
.header-phone {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  font-weight: 700;
  color: currentColor;
}
.is-scrolled .header-phone { border-color: var(--line); color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 6px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero { position: relative; min-height: 88svh; overflow: hidden; background: var(--deep); }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity .7s ease, transform 5.8s ease;
  transform: scale(1.04);
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 14, 28, .88) 0%, rgba(5, 14, 28, .64) 44%, rgba(5, 14, 28, .18) 100%),
    linear-gradient(180deg, rgba(5, 14, 28, .3), rgba(5, 14, 28, .58));
}
.hero-content { position: relative; z-index: 1; color: #fff; padding-top: var(--nav-height); max-width: 1180px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-2);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 {
  width: min(760px, 100%);
  margin: 18px 0 18px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}
.hero p { width: min(650px, 100%); margin: 0 0 34px; color: rgba(255, 255, 255, .86); font-size: 19px; }
.hero-actions, .split-head, .admin-page-head.row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(8, 104, 216, .2); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); }
.btn.full { width: 100%; }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.hero-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .45);
  padding: 0;
}
.hero-dots button.is-active { background: var(--cyan); }

.section { padding: 88px 0; }
.section-head { margin-bottom: 32px; }
.section-head h2, .intro-layout h2, .advantage-layout h2, .quote-layout h2, .prose h2, .contact-info h2 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}
.section-head p, .intro-layout p, .advantage-layout p, .quote-layout p { color: var(--muted); max-width: 760px; margin: 0; }
.intro-band { background: linear-gradient(180deg, #fff, #f6faff); }
.intro-layout, .quote-layout, .contact-layout, .content-layout, .detail-layout, .advantage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 42px;
  align-items: start;
}
.rich-text p { margin: 0 0 14px; color: var(--muted); }
.rich-text img { border-radius: 8px; margin: 18px 0; }
.metric-row { display: grid; gap: 14px; }
.metric-row div, .side-panel, .service-card, .case-card, .news-card, .quote-form, .business-card, .advantage-list article, .admin-card {
  border: 1px solid rgba(223, 231, 241, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 30px rgba(14, 24, 37, .07);
}
.metric-row div { padding: 22px; }
.metric-row strong { display: block; color: var(--blue); font-size: 34px; line-height: 1.1; }
.metric-row span { color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card, .business-card, .case-card, .news-card {
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover, .business-card:hover, .case-card:hover, .news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(25, 167, 255, .34);
}
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card div, .business-card div { padding: 20px; }
.service-card span, .business-card span, .case-body span, .news-card time {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.service-card h3, .business-card h2, .case-body h3, .news-card h3 {
  margin: 8px 0 8px;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0;
}
.service-card p, .business-card p, .case-body p, .news-card p { margin: 0; color: var(--muted); }
.cases-band, .process-band { background: linear-gradient(180deg, #f7faff, #fff); }
.split-head { justify-content: space-between; }
.text-link { color: var(--blue); font-weight: 800; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-grid-large { grid-template-columns: repeat(2, 1fr); }
.case-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case-body { padding: 20px; }
.advantage-list { display: grid; gap: 14px; }
.advantage-list article { padding: 22px; }
.advantage-list strong { display: block; font-size: 18px; margin-bottom: 6px; }
.advantage-list p { margin: 0; color: var(--muted); }
.process-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.process-step {
  min-height: 108px;
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}
.process-step span { display: block; margin-bottom: 8px; color: var(--blue); font-size: 20px; }
.quote-band {
  background:
    linear-gradient(135deg, rgba(8, 104, 216, .1), rgba(23, 166, 115, .08)),
    #f5f8fc;
}
.quote-form { padding: 24px; display: grid; gap: 16px; }
.quote-form label { display: grid; gap: 7px; color: var(--deep); font-weight: 700; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}
.quote-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.captcha-text { color: var(--blue); margin-left: 6px; }
.form-alert { padding: 10px 12px; border-radius: 8px; font-weight: 700; }
.form-alert.success { color: #08643f; background: #e8f8f1; }
.form-alert.error { color: #9b1c1c; background: #fff0f0; }
.after-sales {
  margin-top: 22px;
  padding: 16px;
  border-left: 4px solid var(--green);
  background: #fff;
  border-radius: 8px;
  color: var(--muted);
}

.inner-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  color: #fff;
  background-size: cover;
  background-position: center;
}
.inner-hero-mask, .detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 14, 28, .86), rgba(5, 14, 28, .45));
}
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero h1, .detail-hero h1, .article-hero h1 {
  margin: 12px 0;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}
.inner-hero p, .detail-hero p { max-width: 720px; margin: 0; color: rgba(255, 255, 255, .86); font-size: 18px; }
.business-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.business-card { display: grid; grid-template-columns: 220px 1fr; }
.business-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.side-panel { padding: 26px; position: sticky; top: 100px; }
.side-panel h3 { margin: 0 0 8px; }
.side-panel p { margin: 0 0 20px; color: var(--muted); }
.prose { max-width: 800px; }
.prose p { color: var(--muted); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-bar button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}
.filter-bar button.is-active { color: #fff; border-color: var(--blue); background: var(--blue); }
.detail-hero { position: relative; min-height: 540px; display: flex; align-items: end; overflow: hidden; color: #fff; }
.detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero-content { position: relative; z-index: 1; padding: 150px 0 70px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-grid-large { grid-template-columns: repeat(3, 1fr); }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-card div { padding: 20px; }
.article-hero { padding: 150px 0 70px; background: linear-gradient(135deg, #0b1d33, #123b63); color: #fff; }
.article-content { max-width: 860px; }
.article-cover { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 8px; margin-bottom: 28px; }
.contact-info { display: grid; gap: 12px; }
.contact-info p { margin: 0; color: var(--muted); }
.contact-info a:not(.btn) { color: var(--blue); font-weight: 800; }
.map-placeholder {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 104, 216, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 104, 216, .08) 1px, transparent 1px),
    #f8fbff;
  background-size: 38px 38px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 28px;
  color: var(--muted);
}
.map-placeholder strong { color: var(--ink); font-size: 24px; }
.map-embed {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fbff;
}
.map-embed > div,
.map-embed iframe {
  width: 100% !important;
  height: 420px !important;
  border: 0 !important;
  display: block;
}
.map-embed p {
  display: none;
}
.qr-box {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.qr-placeholder {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, #0b1d33 0 6px, #fff 6px 12px);
  color: var(--blue);
  font-weight: 900;
}
.qr-image {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  gap: 10px;
}
.floating-contact a {
  display: grid;
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: var(--shadow);
}
.floating-contact span { font-size: 12px; opacity: .82; }
.floating-contact strong { font-size: 16px; }
.site-footer { background: #0b1220; color: rgba(255, 255, 255, .78); padding-top: 54px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .7fr; gap: 34px; }
.footer-brand { color: #fff; font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.site-footer h3 { margin: 0 0 12px; color: #fff; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, .84); }
.footer-bottom {
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 20px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
}
.error-page { min-height: 72svh; padding: 170px 0 80px; background: linear-gradient(180deg, #f8fbff, #fff); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .header-inner { gap: 12px; }
  .brand { min-width: auto; }
  .brand-text small { display: none; }
  .nav-toggle { display: block; margin-left: auto; color: currentColor; }
  .site-nav {
    position: absolute;
    top: var(--nav-height);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .97);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav.is-open { opacity: 1; transform: scaleY(1); pointer-events: auto; }
  .header-phone { display: none; }
  .service-grid, .case-grid, .news-grid, .news-grid-large, .business-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-layout, .quote-layout, .contact-layout, .content-layout, .detail-layout, .advantage-layout { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: repeat(4, 1fr); }
  .business-card { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}

@media (max-width: 640px) {
  :root { --nav-height: 68px; }
  .container { width: min(100% - 28px, 1180px); }
  .brand-text strong { font-size: 15px; max-width: 190px; }
  .hero { min-height: 86svh; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 62px 0; }
  .service-grid, .case-grid, .case-grid-large, .news-grid, .news-grid-large, .business-grid { grid-template-columns: 1fr; }
  .form-row, .footer-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .inner-hero { min-height: 360px; }
  .detail-hero { min-height: 470px; }
  .floating-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: repeat(2, 1fr);
  }
  .floating-contact a { min-width: 0; padding: 10px 12px; }
  .site-footer { padding-bottom: 72px; }
  .qr-box { align-items: flex-start; }
}
