:root {
  --brand-blue: #0066ff;
  --brand-blue-dark: #0047b3;
  --brand-yellow: #ffd400;
  --ink: #111820;
  --muted: #596572;
  --line: #dbe2e8;
  --soft: #f4f7f9;
  --white: #ffffff;
  --success: #0c8a58;
  --danger: #c93b32;
  --header-height: 76px;
  --content: 1180px;
  --radius: 6px;
  --shadow: 0 14px 40px rgba(17, 24, 32, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(255, 212, 0, 0.95);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--brand-yellow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: var(--brand-blue);
  font-weight: 900;
  line-height: 1;
}

.brand-logo {
  width: 245px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  font-size: 30px;
  font-style: italic;
}

.brand-bolt {
  display: inline-block;
  margin-inline: -7px -5px;
  color: var(--brand-yellow);
  font-size: 30px;
  filter: drop-shadow(0 1px 0 #8c7600);
  transform: translateY(-1px);
}

.brand-name {
  padding-left: 10px;
  border-left: 1px solid #b8c6d5;
  font-size: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #263442;
  font-size: 15px;
  font-weight: 700;
}

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

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--brand-blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: 160ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  color: var(--white);
  background: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  border-radius: 4px;
  font-weight: 800;
}

.header-cta svg {
  width: 17px;
  height: 17px;
  margin-right: 7px;
}

.header-cta:hover {
  background: var(--brand-blue-dark);
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(700px, calc(88svh - var(--header-height)));
  overflow: hidden;
  color: var(--white);
  background-color: #1b2730;
  background-image: url("/assets/industrial-switchgear.jpg");
  background-position: center 46%;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 13, 20, 0.88) 0%, rgba(5, 13, 20, 0.73) 52%, rgba(5, 13, 20, 0.36) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 9px;
  background: var(--brand-yellow);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
  padding-block: 78px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--brand-yellow);
  font-size: 15px;
  font-weight: 800;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: #edf3f7;
  font-size: 19px;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  color: #17202a;
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
}

.button-primary:hover {
  background: #ffe451;
  border-color: #ffe451;
}

.button-secondary {
  color: var(--white);
  background: rgba(0, 102, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.65);
}

.button-secondary:hover {
  background: var(--brand-blue);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  background: #2c3945;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 32px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  list-style: none;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f7f9fb;
  font-weight: 700;
}

.hero-trust i {
  color: var(--brand-yellow);
}

.section {
  padding-block: 88px;
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}

.section-kicker {
  margin: 0 0 9px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 900;
}

.section-dark .section-kicker {
  color: var(--brand-yellow);
}

.section-heading h2,
.split-content h2,
.cta-band h2,
.page-hero h1,
.article h1 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading h2,
.split-content h2,
.cta-band h2 {
  font-size: clamp(30px, 4.5vw, 46px);
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.section-dark .section-heading > p {
  color: #c5d0d8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

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

.service-grid-primary .service-item {
  min-height: 390px;
  padding: 36px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--brand-blue);
  border-radius: var(--radius);
}

.service-grid-primary .service-item:nth-child(2) {
  border-top-color: var(--brand-yellow);
}

.service-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 22px 0 26px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 18px;
  color: #354452;
  font-size: 15px;
}

.service-points li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--success);
  content: "✓";
}

.service-item {
  position: relative;
  min-height: 260px;
  padding: 30px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item:hover {
  z-index: 1;
  box-shadow: var(--shadow);
}

.service-number {
  display: block;
  margin-bottom: 34px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 900;
}

.service-item h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.35;
}

.service-item p {
  margin: 0 0 22px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue-dark);
  font-weight: 800;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 540px;
}

.split-media {
  min-height: 460px;
  background-color: #dce3e8;
  background-image: url("/assets/cable-tray.jpg");
  background-position: center;
  background-size: cover;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px max(32px, calc((100vw - var(--content)) / 2)) 64px 48px;
  color: var(--white);
  background: var(--brand-blue-dark);
}

.split-content .section-kicker {
  color: var(--brand-yellow);
}

.split-content > p {
  color: #e5eef7;
}

.check-list,
.detail-list,
.footer-list,
.article-toc ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.detail-list li {
  position: relative;
  margin-top: 12px;
  padding-left: 28px;
}

.check-list li::before,
.detail-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--brand-yellow);
  font-weight: 900;
  content: "✓";
}

.detail-list li::before {
  color: var(--success);
}

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

.process-step {
  position: relative;
  padding-top: 22px;
  border-top: 4px solid var(--brand-blue);
}

.process-step::after {
  position: absolute;
  top: -4px;
  right: -22px;
  width: 22px;
  height: 4px;
  background: var(--brand-yellow);
  content: "";
}

.process-step:last-child::after {
  display: none;
}

.process-step strong {
  color: var(--brand-blue);
  font-size: 14px;
}

.process-step h3 {
  margin: 8px 0;
  font-size: 21px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

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

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

.scene-item,
.article-card,
.faq-item,
.contact-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scene-item img,
.article-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.scene-body,
.article-card-body {
  padding: 24px;
}

.scene-body span,
.article-card-body span {
  color: var(--brand-blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.scene-body h3,
.article-card h3 {
  margin: 8px 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.scene-body p,
.article-card p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}

.faq-item summary {
  position: relative;
  padding: 20px 52px 20px 22px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 18px;
  right: 22px;
  color: var(--brand-blue);
  font-size: 24px;
  content: "+";
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: 66px;
  color: var(--white);
  background: var(--brand-blue);
}

.cta-band::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 10px;
  background: var(--brand-yellow);
  content: "";
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
}

.cta-band p {
  max-width: 680px;
  margin: 13px 0 0;
  color: #eef5ff;
}

.cta-actions {
  margin-top: 0;
}

.site-footer {
  color: #ccd6de;
  background: #0b1117;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(150px, 0.65fr));
  gap: 54px;
  padding-block: 60px 44px;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand p {
  max-width: 360px;
  margin: 20px 0 0;
}

.footer-column h2 {
  margin: 0;
  color: var(--white);
  font-size: 16px;
}

.footer-list li {
  margin-top: 9px;
}

.footer-list a:hover {
  color: var(--brand-yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-top: 1px solid #29343e;
  font-size: 13px;
}

.footer-compliance {
  padding-bottom: 18px;
  color: #96a5b1;
  font-size: 13px;
  text-align: center;
}

.data-pending {
  color: #ffdfa3;
}

.mobile-actions {
  display: none;
}

.page-hero {
  position: relative;
  padding-block: 72px;
  color: var(--white);
  background: #182530;
  border-bottom: 7px solid var(--brand-yellow);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 22px;
  padding: 0;
  color: #bfccd6;
  font-size: 14px;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 7px;
  color: var(--brand-yellow);
  content: "/";
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(36px, 5.5vw, 58px);
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: #d9e3ea;
  font-size: 18px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 60px;
}

.content-main h2,
.article h2 {
  margin: 46px 0 14px;
  font-size: 30px;
  line-height: 1.3;
}

.content-main {
  min-width: 0;
}

.content-main h2:first-child,
.article h2:first-child {
  margin-top: 0;
}

.content-main h3,
.article h3 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.content-main p,
.article p {
  color: #354452;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 24px;
  background: var(--soft);
  border-top: 4px solid var(--brand-blue);
}

.sidebar h2 {
  margin: 0;
  font-size: 19px;
}

.sidebar p {
  color: var(--muted);
}

.sidebar .button {
  width: 100%;
  margin-top: 10px;
}

.service-table {
  width: 100%;
  max-width: 100%;
  margin-block: 24px;
  border-collapse: collapse;
  font-size: 15px;
}

.service-table th,
.service-table td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.service-table th {
  background: #eef3f7;
}

.notice {
  margin-block: 28px;
  padding: 20px 22px;
  background: #fffbe8;
  border-left: 5px solid var(--brand-yellow);
}

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

.contact-panel {
  padding: 26px;
}

.contact-panel i {
  color: var(--brand-blue);
}

.contact-panel h2 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.contact-panel a {
  color: var(--brand-blue-dark);
  font-weight: 800;
}

.contact-phone {
  display: inline-block;
  margin-top: 4px;
  font-size: 20px;
}

.article {
  max-width: 820px;
  margin-inline: auto;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 0;
  color: #ced9e1;
  font-size: 14px;
}

.article-toc {
  margin-block: 32px;
  padding: 24px;
  background: var(--soft);
  border-left: 4px solid var(--brand-blue);
}

.article-toc strong {
  font-size: 18px;
}

.article-toc li {
  margin-top: 8px;
}

.article-toc a {
  color: var(--brand-blue-dark);
}

@media (max-width: 1020px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav.is-open {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px;
    color: var(--ink);
    background: var(--white);
  }

  .site-nav.is-open a {
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .service-grid,
  .scene-grid,
  .article-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .process-step:nth-child(2)::after {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1.2fr repeat(2, 1fr);
  }

  .footer-column:last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand-mark {
    font-size: 25px;
  }

  .brand-logo {
    width: 205px;
    max-height: 44px;
  }

  .brand-bolt {
    font-size: 25px;
  }

  .brand-name {
    font-size: 17px;
  }

  .hero {
    min-height: calc(84svh - var(--header-height));
    background-position: 60% center;
  }

  .hero-content {
    padding-block: 56px;
  }

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

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 14px;
  }

  .section {
    padding-block: 64px;
  }

  .section-heading,
  .cta-layout,
  .content-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-grid,
  .scene-grid,
  .article-grid,
  .contact-grid,
  .process-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
  }

  .service-grid-primary .service-item {
    min-height: auto;
    padding: 26px;
  }

  .service-points {
    grid-template-columns: 1fr;
  }

  .split-media {
    min-height: 360px;
  }

  .split-content {
    padding: 50px 24px;
  }

  .process-step::after {
    display: none;
  }

  .cta-actions {
    width: 100%;
    margin-top: 10px;
  }

  .cta-actions .button {
    flex: 1 1 180px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

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

  .sidebar {
    position: static;
  }

  .service-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    background: var(--white);
    border-top: 1px solid var(--line);
  }

  .mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    color: var(--white);
    background: var(--brand-blue);
    font-weight: 800;
  }

  .mobile-actions a:last-child {
    color: var(--ink);
    background: var(--brand-yellow);
  }

  body {
    padding-bottom: 61px;
  }
}

@media (max-width: 410px) {
  .brand-logo {
    width: 188px;
  }

  .brand-name {
    max-width: 112px;
    font-size: 15px;
    line-height: 1.15;
  }

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

  .hero-trust,
  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    content-visibility: visible !important;
  }
}
