:root {
  --ink: #172033;
  --muted: #5d6b7a;
  --line: rgba(23, 32, 51, 0.12);
  --wash: #eef3f8;
  --blue: #1f6bb5;
  --teal: #0a997c;
  --amber: #f2af29;
  --red: #cf4f49;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--wash);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--wash);
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .quote-actions,
html[dir="rtl"] .tag-row {
  flex-direction: row-reverse;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.topline {
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  color: #d7e2ec;
  background: #172033;
}

.topline-inner,
.nav-inner,
.section-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.topline-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.market-note {
  color: #afbdcb;
}

.quick-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #d7e2ec;
  font-size: 12px;
}

.quick-contact a {
  color: #d7e2ec;
  font-weight: 700;
}

.quick-contact a:hover,
.quick-contact a:focus {
  color: #fff;
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.language-select {
  min-width: 176px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  background: #233244;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.language-select:hover,
.language-select:focus {
  border-color: rgba(255, 255, 255, 0.42);
  outline: none;
}

.language-select option {
  color: #172033;
  background: #fff;
  font-weight: 600;
}

select:not(.language-select) {
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #fff;
  background: #233244;
}

.nav-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.brand {
  min-width: 186px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 20px;
}

.brand span span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 6px;
  color: #253246;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
  color: #fff;
  background: var(--blue);
  outline: none;
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 6px;
  color: #fff;
  background: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #172033;
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: end;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 23, 36, 0.9), rgba(14, 23, 36, 0.56) 48%, rgba(14, 23, 36, 0.18)),
    url("/static/site/products/gcs-gck-mns-withdrawable-switchgear.webp") center / cover no-repeat;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(14, 23, 36, 0.9), rgba(14, 23, 36, 0.64)),
    url("/static/site/products/ggd-low-voltage-cabinet.jpg") center / cover no-repeat;
}

.hero-inner,
.page-hero-inner {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  padding: 120px 0 68px;
}

.page-hero-inner {
  padding: 86px 0 72px;
}

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

.breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a {
  color: #d8f4ee;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
  color: #fff;
  outline: none;
}

.eyebrow {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #d8f4ee;
  background: rgba(10, 153, 124, 0.24);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  max-width: 800px;
  margin: 24px 0 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.hero-lead,
.page-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d7e2ec;
  font-size: 19px;
  line-height: 1.8;
}

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

.primary-btn,
.ghost-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
}

button.primary-btn,
button.ghost-btn,
button.ghost-light-btn {
  border: 0;
  cursor: pointer;
}

.primary-btn {
  color: #fff;
  background: var(--teal);
}

.ghost-light-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue);
  background: #fff;
  font-size: 15px;
  font-weight: 800;
}

.ghost-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 62px;
}

.stat {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.10);
}

.stat strong {
  display: block;
  color: #fff;
  font-size: 30px;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: #c6d2df;
  font-size: 14px;
  line-height: 1.5;
}

.section-band {
  padding: 86px 0;
  background: #fff;
}

.section-band.alt {
  background: #eef3f8;
}

.compact-band {
  padding: 34px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-desc {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.two-col,
.product-layout,
.markets-layout,
.news-grid,
.contact-layout {
  display: grid;
  gap: 26px;
}

.two-col,
.markets-layout,
.contact-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.product-layout,
.news-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

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

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

.category-card {
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.category-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.category-card strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 18px;
}

.category-card p,
.mini-list {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.category-card p {
  margin: 10px 0 0;
}

.product-tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-photo {
  display: block;
  height: 210px;
  overflow: hidden;
  background: #dce8ef;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-tile:hover .product-photo img {
  transform: scale(1.04);
}

.product-tile-body {
  padding: 18px;
}

.product-category {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.product-tile strong {
  display: block;
  margin-top: 12px;
  color: #111827;
  font-size: 18px;
}

.product-tile p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.mini-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.mini-list li + li {
  margin-top: 4px;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: center;
}

.detail-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-photo img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #f8fafc;
}

.detail-photo figcaption {
  padding: 10px 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.detail-copy {
  display: grid;
  gap: 16px;
}

.detail-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.detail-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-panel p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.quote-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(31, 107, 181, 0.18);
  border-radius: 8px;
  background: #eef7f5;
}

.quote-callout p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.copy-stack {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.copy-stack p {
  margin: 0;
}

.image-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dce8ef;
}

.image-frame img,
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-visual img {
  min-height: 420px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 14px;
}

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

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

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

.card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card strong {
  display: block;
  color: #111827;
  font-size: 18px;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #245065;
  background: #e8f1f5;
  font-size: 12px;
  font-weight: 700;
}

.honor-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.card:nth-child(2) .honor-icon {
  background: var(--teal);
}

.card:nth-child(3) .honor-icon {
  background: var(--amber);
}

.card:nth-child(4) .honor-icon {
  background: var(--red);
}

.news-card.featured {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(23, 32, 51, 0.08), rgba(23, 32, 51, 0.86)),
    url("/static/site/products/kyn28-medium-voltage-switchgear.webp") center / cover no-repeat;
}

.news-card.featured strong,
.news-card.featured p {
  color: #fff;
}

.news-list,
.news-list-layout,
.contact-list,
.inquiry-form {
  display: grid;
  gap: 12px;
}

.news-list-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-list {
  gap: 14px;
  margin-top: 20px;
}

.date {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.contact-item {
  display: grid;
  gap: 5px;
  color: var(--muted);
}

.contact-item strong {
  color: #111827;
}

.form-intro {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.message-list,
.form-errors {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
}

.message,
.form-errors {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.message {
  margin: 0;
  color: #0f5132;
  border: 1px solid rgba(10, 153, 124, 0.24);
  background: #e8f7f2;
}

.form-errors {
  color: #7a271a;
  border: 1px solid rgba(207, 79, 73, 0.24);
  background: #fff1ef;
}

.form-errors ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8fafc;
  font: inherit;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.file-upload {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px dashed rgba(31, 107, 181, 0.42);
  border-radius: 8px;
  background: #f3f8fc;
}

.file-upload span {
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.file-upload input {
  padding: 10px;
  background: #fff;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.submit-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer {
  padding: 34px 0;
  color: #b9c6d8;
  background: #172033;
}

.footer-inner {
  width: min(1200px, calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  font-size: 14px;
}

.article-layout {
  max-width: 920px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.article-body {
  color: var(--ink);
  font-size: 17px;
  line-height: 2;
}

.article-body p {
  margin: 0 0 18px;
}

.source-note {
  margin: 26px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
}

@media (max-width: 980px) {
  .nav-inner {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    width: max-content;
  }

  .hero-stats,
  .category-strip,
  .product-list,
  .news-list-layout,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col,
  .product-layout,
  .product-detail-layout,
  .markets-layout,
  .news-grid,
  .contact-layout,
  .quote-callout {
    grid-template-columns: 1fr;
  }

  .quote-callout .primary-btn {
    width: max-content;
  }
}

@media (max-width: 680px) {
  .topline-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 9px 0;
  }

  .quick-contact {
    justify-content: flex-start;
  }

  .language-switcher,
  .language-select {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 82px 0 42px;
  }

  .hero-stats,
  .category-strip,
  .product-list,
  .news-list-layout,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-band {
    padding: 58px 0;
  }

  .section-head {
    display: grid;
  }
}

.certificate-group + .certificate-group {
  margin-top: 42px;
}

.certificate-group-head {
  margin-bottom: 18px;
}

.certificate-group-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.certificate-group-head h3 {
  margin: 6px 0 0;
  color: #111827;
  font-size: 24px;
  line-height: 1.25;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.certificate-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.certificate-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.certificate-preview {
  height: 240px;
  display: block;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.certificate-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.certificate-body {
  padding: 14px;
}

.certificate-body span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #245065;
  background: #e8f1f5;
  font-size: 12px;
  font-weight: 800;
}

.certificate-body strong {
  display: block;
  margin-top: 10px;
  color: #111827;
  font-size: 17px;
}

.certificate-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 680px) {
  .certificate-grid,
  .certificate-grid-compact {
    grid-template-columns: 1fr;
  }

  .certificate-preview {
    height: 320px;
  }
}
.internal-structure-layout {
  align-items: stretch;
}

.structure-photo img {
  height: 460px;
  object-fit: cover;
}

.structure-points {
  gap: 12px;
}

.grid-1 {
  display: grid;
  gap: 14px;
}

@media (max-width: 680px) {
  .detail-photo img,
  .structure-photo img {
    height: auto;
    max-height: none;
  }
}