:root {
  --ink: #132033;
  --muted: #64748b;
  --line: #dbe7f5;
  --paper: #f6f9fd;
  --soft: #eaf3ff;
  --brand: #1268d6;
  --brand-dark: #073b82;
  --brand-deep: #061a38;
  --accent: #33b5ff;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 104, 214, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.top-notice {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  gap: 18px;
  width: 100%;
  padding: 8px 18px;
  color: #dcecff;
  background: #041225;
  font-size: 14px;
}

.top-notice a {
  color: var(--accent);
  font-weight: 700;
}

.site-header {
  position: fixed;
  top: 37px;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(15, 35, 60, 0.08);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 34px rgba(15, 35, 60, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo {
  width: clamp(210px, 18vw, 315px);
  max-height: 54px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  color: var(--brand);
  opacity: 1;
}

.language-switch {
  order: 4;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(16, 99, 176, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(15, 35, 60, 0.08);
}

.lang-button {
  min-width: 44px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--brand);
  color: #fff;
}

.lang-button:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=85");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 18, 42, 0.92), rgba(5, 45, 96, 0.72) 50%, rgba(8, 91, 165, 0.28)),
    radial-gradient(circle at 70% 35%, rgba(51, 181, 255, 0.18), transparent 36%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(790px, calc(100% - 40px));
  min-height: 92vh;
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 126px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.16;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, #1268d6, #18a8ff);
  box-shadow: 0 14px 32px rgba(18, 104, 214, 0.32);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 86px clamp(20px, 6vw, 86px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.stat {
  padding: 34px 24px;
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: 34px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 34px;
}

.section h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.section-heading p:not(.eyebrow),
.feature-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.about-section {
  background: var(--white);
}

.about-section .section-heading {
  width: min(980px, 100%);
}

.about-section .section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.about-section .section-heading p + p {
  margin-top: 16px;
}

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

.service-card,
.case-card,
.contact-form,
.solution-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 235px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  border-color: rgba(18, 104, 214, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--brand-dark);
  background: var(--soft);
  font-weight: 900;
}

.service-card h3,
.case-body h3,
.solution-list h3 {
  margin: 22px 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.service-card p,
.case-body p,
.solution-list p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
}

.text-link:hover {
  color: var(--brand-dark);
}

.solutions-section {
  background: linear-gradient(180deg, #ffffff, #edf6ff);
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.solution-list article {
  padding: 28px;
}

.solution-list span,
.case-body span {
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 52px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(4, 18, 37, 0.96), rgba(7, 59, 130, 0.94)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.feature-copy {
  max-width: 760px;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.76);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "✓";
}

.feature-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.feature-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.feature-panel span {
  color: rgba(255, 255, 255, 0.78);
}

.feature-panel strong {
  color: var(--accent);
  font-size: 36px;
}

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

.case-card {
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(19, 32, 51, 0.08);
}

.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-body {
  padding: 24px;
}

.brand-section {
  background: var(--white);
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.partner-strip span {
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand-dark);
  background: #f8fbff;
  font-size: 20px;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 540px);
  gap: 54px;
  align-items: start;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #f8fbff;
}

.contact-form textarea {
  resize: vertical;
}

.service-hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.wiring-hero {
  background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=85");
}

.machine-room-hero {
  background-image: url("https://images.unsplash.com/photo-1518709268805-4e9042af2176?auto=format&fit=crop&w=1800&q=85");
}

.wireless-hero {
  background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=85");
}

.surveillance-hero {
  background-image: url("https://images.unsplash.com/photo-1563986768609-322da13575f3?auto=format&fit=crop&w=1800&q=85");
}

.access-hero {
  background-image: url("https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1800&q=85");
}

.integration-hero {
  background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=85");
}

.office-solution-hero {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85");
}

.park-solution-hero {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=85");
}

.commercial-solution-hero {
  background-image: url("https://images.unsplash.com/photo-1519567241046-7f570eee3ce6?auto=format&fit=crop&w=1800&q=85");
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 42, 0.92), rgba(5, 45, 96, 0.74) 54%, rgba(18, 104, 214, 0.34)),
    radial-gradient(circle at 72% 34%, rgba(51, 181, 255, 0.2), transparent 38%);
}

.service-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(820px, calc(100% - 40px));
  min-height: 70vh;
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 130px;
  padding-bottom: 76px;
}

.service-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.12;
}

.service-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.detail-intro {
  background: var(--white);
}

.detail-intro .section-heading {
  width: min(980px, 100%);
}

.detail-intro .section-heading p + p {
  margin-top: 16px;
}

.process-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

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

.process-grid article,
.faq-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(19, 32, 51, 0.06);
}

.process-grid article {
  padding: 26px;
}

.process-grid span {
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.process-grid h3,
.faq-list h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.process-grid p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.faq-section {
  background: var(--white);
}

.faq-list {
  grid-template-columns: 1fr;
}

.faq-list article {
  padding: 24px 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--brand-deep);
}

@media (max-width: 980px) {
  .service-grid,
  .case-grid,
  .solution-list,
  .partner-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-section,
  .contact-section,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-notice {
    justify-content: space-between;
    font-size: 12px;
  }

  .site-header {
    top: 34px;
    padding: 12px 18px;
    gap: 10px;
  }

  .brand-logo {
    width: min(220px, calc(100vw - 110px));
  }

  .language-switch {
    order: 2;
    margin-left: auto;
    padding: 2px;
  }

  .lang-button {
    min-width: 38px;
    height: 28px;
    font-size: 12px;
  }

  .nav-toggle {
    order: 3;
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 18px;
    display: none;
    width: min(260px, calc(100vw - 36px));
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 10px;
  }

  .site-nav a {
    padding: 10px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: rgba(3, 18, 42, 0.82);
  }

  .hero-content {
    min-height: 88vh;
    margin: 0 auto;
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .service-hero {
    min-height: 76vh;
  }

  .service-hero-content {
    min-height: 76vh;
    margin: 0 auto;
    padding-top: 124px;
  }

  .service-hero h1 {
    font-size: 42px;
  }

  .intro-band,
  .service-grid,
  .case-grid,
  .solution-list,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer {
    flex-direction: column;
  }
}
