/* 主题与基础设置。所有图片均来自企业提供的资料。 */
:root {
  --ink: #142b38;
  --muted: #637783;
  --accent: #17b8c4;
  --line: #dbe4e8;
  --surface: #f3f7f8;
  --dark: #102a3a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.skip {
  position: fixed;
  top: -100px;
  background: #fff;
  color: #111;
  z-index: 100;
  padding: 12px;
}
.skip:focus {
  top: 0;
}

/* 顶部导航与企业标志 */
header {
  height: 94px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 4.5%;
  color: #fff;
  border-bottom: 1px solid #ffffff30;
  background: #0c243b4d;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img {
  display: block;
  /* 透明底标志完整显示，不再依赖裁切与白色底板。 */
  width: 160px;
  height: 48px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.logo small {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 500;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}
nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
  font-size: 14px;
}
.header-actions button {
  color: inherit;
  background: none;
  padding: 10px 0;
}
.header-actions span {
  margin-left: 8px;
}
.contact-link {
  border-left: 1px solid #ffffff55;
  padding-left: 22px;
}
#menu {
  display: none;
  font-size: 24px;
}

/* 首页轮播 */
.hero {
  min-height: 700px;
  height: 100svh;
  max-height: 1150px;
  background: var(--dark) url('assets/kcontrol/building.webp') center / cover no-repeat;
  position: relative;
  color: #fff;
  transition: background-image 0.6s;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #051c33e0, #0c2e3f30 95%),
    linear-gradient(0deg, #071f36aa, transparent 65%);
}
.hero-content {
  position: relative;
  padding: clamp(180px, 25vh, 300px) 8% 140px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2.4px;
  font-weight: 500;
  margin: 0 0 30px;
}
.hero h1 {
  font-weight: 400;
  font-size: clamp(46px, 5.6vw, 82px);
  line-height: 1.3;
  letter-spacing: 3px;
  margin: 0 0 28px;
}
.hero-description {
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1.9;
  color: #e1edf3;
  max-width: 560px;
}
.outline-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 220px;
  border-bottom: 1px solid #ffffff90;
  padding: 20px 0 16px;
  font-size: 13px;
  margin-top: 35px;
}
.outline-link span:last-child {
  font-size: 23px;
  transition: transform 0.25s;
}
.outline-link:hover span:last-child {
  transform: translateX(4px);
}
.hero .outline-link {
  border: 0;
  width: max-content;
  gap: 20px;
}
.hero-bottom {
  position: absolute;
  bottom: 35px;
  left: 8%;
  right: 8%;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
}
.hero-caption {
  font-size: 10px;
  letter-spacing: 1px;
  color: #d5e6ee;
}
.slide-controls {
  display: flex;
  gap: 14px;
  align-items: center;
}
.slide-controls button {
  color: #c2ceda;
  background: none;
  padding: 12px 9px;
  font-size: 12px;
}
.slide-controls .slide {
  border: 0;
  width: 58px;
  text-align: left;
}
.slide-controls .active {
  color: #fff;
  font-weight: 700;
}
.scroll-cue {
  font-size: 9px;
  letter-spacing: 2px;
}

/* 通用内容与公司介绍 */
.section {
  padding: 104px 8%;
}
.section-heading {
  margin-bottom: 45px;
}
.section .eyebrow {
  color: #4e8b9c;
}
.section h2 {
  font-size: clamp(30px, 3.1vw, 46px);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 0.5px;
}
.intro {
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
  max-width: 760px;
  margin-top: 26px;
}
.about .intro {
  max-width: none;
  width: 100%;
  font-size: 16px;
  line-height: 2;
  text-wrap: pretty;
}
.campus {
  height: 420px;
  position: relative;
  overflow: hidden;
}
.campus img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.campus span {
  position: absolute;
  bottom: 25px;
  left: 28px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 2px;
  text-shadow: 0 2px 7px #000;
  background: #142a3aa0;
  padding: 10px 14px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 40px;
  gap: 18px;
}
.stats > div {
  border-right: 1px solid var(--line);
  padding-right: 15px;
}
.stats > div:last-child {
  border: 0;
}
.stats strong {
  font-weight: 400;
  color: #00afcc;
  font-size: clamp(20px, 2.1vw, 32px);
  letter-spacing: -0.5px;
}
.stats p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 12px 0 0;
}

/* 产品分类：图片与文字分栏，避免产品实物被背景遮罩掩盖 */
.products {
  background: var(--surface);
}
.product-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid #cddbe2;
  margin-bottom: 30px;
  gap: 8px;
}
.product-tabs button {
  padding: 20px 0;
  background: none;
  color: #667c87;
  font-size: 12px;
  line-height: 1.8;
  border-bottom: 2px solid transparent;
  text-align: left;
}
.product-tabs button[aria-selected='true'] {
  color: #087b8c;
  border-color: #087b8c;
}
.product-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  background: #fff;
}
.product-panel > img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  min-height: 350px;
  object-fit: contain;
  padding: 40px;
  align-self: center;
}
.product-copy {
  background: var(--dark);
  color: #fff;
  padding: 55px 9%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-copy .eyebrow {
  color: #85d3e0;
  font-size: 10px;
  line-height: 1.8;
}
.product-copy h3 {
  font-size: 29px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 20px;
}
.product-copy p {
  font-size: 13px;
  line-height: 2;
  color: #d4e2e9;
  margin: 0;
}
#product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
#product-tags span {
  font-size: 10px;
  border: 1px solid #ffffff40;
  padding: 7px 10px;
  overflow-wrap: anywhere;
}
.text-link {
  font-size: 12px;
  border: 0;
  padding-bottom: 0;
  align-self: flex-start;
}
.product-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

/* 应用场景使用文字卡片，避免将非本企业图片当成应用案例 */
.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.application-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #f3fafc, #eaf3f5);
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.application-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.application-code {
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -2px;
  color: #90bdc9;
  margin-bottom: 32px;
}
.application-card h3 {
  font-size: 23px;
  font-weight: 400;
  margin: 0 0 14px;
}
.application-card p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 35px;
}
.application-arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #16899e;
  font-size: 23px;
}
.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 11px;
  color: #476574;
}
.platforms > span {
  padding: 9px 13px;
  background: var(--surface);
}
.platforms > span:first-child {
  background: none;
  padding-left: 0;
  color: var(--muted);
}

/* 生产与质量 */
.manufacturing {
  min-height: 620px;
  position: relative;
  color: #fff;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 85px 8%;
}
.manufacturing > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.manufacturing:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #061d33f0, #0b283dc9 50%, #0b283d40);
}
.manufacturing > div {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.manufacturing h2 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}
.manufacturing p:not(.eyebrow) {
  font-size: 14px;
  color: #d8e5ec;
  line-height: 2;
}

/* 发展历程 */
.history {
  background: var(--surface);
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.timeline li {
  border-top: 1px solid #9fbac8;
  position: relative;
  padding: 30px 24px 0 0;
}
.timeline li:before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #159bb2;
  border-radius: 50%;
  left: 0;
  top: -4px;
}
.timeline time {
  color: #16859e;
  font-size: 30px;
}
.timeline p {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}

/* 联系方式与页脚 */
footer {
  padding: 80px 8% 24px;
  background: var(--dark);
  color: #fff;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 35px;
}
.footer-top .eyebrow {
  color: #83c5d6;
}
.footer-top h2 {
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.5;
  font-weight: 400;
  margin: 0 0 20px;
}
.footer-top p:last-child {
  font-size: 13px;
  color: #adc3ce;
  line-height: 1.9;
}
.back-top {
  min-width: 52px;
  height: 52px;
  border: 1px solid #7497a7;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 90px;
  padding: 10px 0 45px;
}
.contact-details > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details > div > span {
  font-size: 11px;
  color: #91b0c0;
}
.contact-details strong,
.contact-details a {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 1px;
}
/* 较长的邮箱和地址允许换行，避免手机页面横向溢出。 */
.contact-details > div {
  min-width: 0;
  max-width: 100%;
}
.contact-details .contact-email a {
  font-size: 21px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.contact-address {
  flex-basis: 100%;
}
.contact-address address {
  font-style: normal;
  font-size: 19px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.contact-details a:hover {
  color: #70d6e1;
}
.contact-details a span {
  color: #71c8d8;
}
.footer-links {
  padding: 30px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #ffffff25;
  border-bottom: 1px solid #ffffff25;
  font-size: 12px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9bb5c2;
  font-size: 10px;
  line-height: 1.9;
  padding-top: 24px;
}
html[lang='en'] .hero h1 {
  letter-spacing: 0;
  font-size: clamp(42px, 5.2vw, 76px);
}

/* 平板与窄桌面 */
@media (max-width: 1180px) {
  .logo small {
    display: none;
  }
  nav {
    gap: 20px;
  }
  .contact-link {
    display: none;
  }
  .product-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
  .application-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .application-card {
    min-height: 255px;
  }
  .hero-caption {
    display: none;
  }
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 0;
  }
}

/* 手机布局 */
@media (max-width: 700px) {
  header {
    height: 78px;
    padding: 0 6%;
  }
  .logo img {
    width: 140px;
    height: 42px;
  }
  .header-actions {
    gap: 24px;
  }
  #menu {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 30px 7%;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    font-size: 18px;
  }
  nav.open {
    display: flex;
  }
  .hero {
    min-height: 720px;
    max-height: 1000px;
    background-position: 60% center;
  }
  .hero-content {
    padding: 195px 7% 140px;
  }
  .hero h1 {
    font-size: 43px;
    line-height: 1.4;
    letter-spacing: 1px;
  }
  .hero-description {
    font-size: 13px;
    max-width: 300px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero-bottom {
    left: 7%;
    right: 7%;
    bottom: 25px;
    gap: 12px;
  }
  .scroll-cue {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .section {
    padding: 65px 7%;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .section .eyebrow {
    font-size: 9px;
    margin-bottom: 22px;
  }
  .section h2 {
    font-size: 29px;
    line-height: 1.5;
  }
  .intro {
    font-size: 13px;
  }
  .about .intro {
    font-size: 15px;
    line-height: 1.9;
  }
  .campus {
    height: 270px;
  }
  .campus span {
    font-size: 8px;
    left: 15px;
    bottom: 15px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
    padding-top: 32px;
  }
  .stats > div:nth-child(2) {
    border: 0;
  }
  .stats strong {
    font-size: 23px;
  }
  .stats p {
    font-size: 13px;
  }
  .product-tabs {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 12px;
  }
  .product-tabs button {
    font-size: 11px;
    padding: 14px 0;
  }
  .product-panel {
    grid-template-columns: 1fr;
  }
  .product-panel > img {
    height: 275px;
    min-height: 0;
    max-height: none;
    padding: 28px;
  }
  .product-copy {
    padding: 35px 25px;
    min-height: 365px;
  }
  .product-copy h3 {
    font-size: 25px;
  }
  .product-copy p {
    font-size: 12px;
  }
  .application-grid {
    gap: 12px;
  }
  .application-card {
    min-height: 260px;
    padding: 22px 16px;
  }
  .application-code {
    font-size: 35px;
    margin-bottom: 25px;
  }
  .application-card h3 {
    font-size: 20px;
  }
  .application-card p {
    font-size: 11px;
  }
  .platforms {
    gap: 8px;
  }
  .platforms > span {
    font-size: 10px;
    padding: 8px 10px;
  }
  .manufacturing {
    min-height: 610px;
    padding: 65px 7%;
  }
  .manufacturing .eyebrow {
    font-size: 9px;
  }
  .manufacturing h2 {
    font-size: 35px;
  }
  .manufacturing p:not(.eyebrow) {
    font-size: 13px;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline li {
    border-top: none;
    border-left: 1px solid #9fbac8;
    padding: 0 0 28px 24px;
  }
  .timeline li:before {
    left: -4px;
    top: 13px;
  }
  .timeline li:last-child {
    padding-bottom: 0;
  }
  .timeline time {
    font-size: 27px;
  }
  .timeline p {
    margin-bottom: 0;
  }
  footer {
    padding: 60px 7% 24px;
  }
  .footer-top {
    align-items: flex-start;
  }
  .footer-top .eyebrow {
    font-size: 9px;
  }
  .footer-top h2 {
    font-size: 27px;
  }
  .footer-top p:last-child {
    font-size: 12px;
  }
  .back-top {
    min-width: 42px;
    height: 42px;
  }
  .contact-details {
    gap: 28px;
    flex-direction: column;
  }
  .contact-details strong,
  .contact-details a {
    font-size: 26px;
  }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-links .logo {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  html[lang='en'] .hero h1 {
    font-size: clamp(32px, 7vw, 46px);
  }
  html[lang='en'] .application-card h3 {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* 新增招聘入口后，为六项导航留出空间。 */
@media (min-width: 701px) and (max-width: 1350px) {
  header .logo small {
    display: none;
  }
  header nav {
    gap: 15px;
  }
  header .contact-link {
    display: none;
  }
}

/* 放大导航后，窄平板使用折叠菜单，避免中英文条目挤压。 */
@media (min-width: 701px) and (max-width: 1000px) {
  #menu {
    display: block;
  }
  header nav {
    display: none;
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 28px 7%;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    font-size: 18px;
  }
  header nav.open {
    display: flex;
  }
}
