/* ============================================================
   HeNan YaDian Intelligent Technology Co., Ltd.
   Smart switch panel theme - light lab wall, smart teal accent
   ============================================================ */

:root {
  --xinzheng: #EEEFEA;
  --tradesheet: #303C3A;
  --yadianteal: #20857E;
  --lzdeep: #22282C;
  --smartpanel: #D8DEDC;
  --huanancity: #C2AA45;
  --dotmatrix: #A7B7B4;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-size: 16px;
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  background: #EEEFEA;
  color: #303C3A;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: #20857E; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: #303C3A; }

/* main column leaves room for the right rocker plate */
.maincol {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 200px 0 40px;
}

/* ---------- ROCKER ROW NAV ---------- */
.rockerrow {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 168px;
  z-index: 40;
  padding: 20px 14px 20px 0;
}

.rockerrow__plate {
  background: #D8DEDC;
  border: 3px solid #22282C;
  border-radius: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px 10px;
  box-shadow: 0 8px 22px #C8CCC6;
  position: relative;
}

.rockerrow__brand {
  background: #22282C;
  color: #EEEFEA;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .04em;
  text-align: center;
  padding: 9px 6px;
  border-radius: 6px;
  font-weight: 700;
}

.rockerrow__rocker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #303C3A;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #EEEFEA;
  border: 2px solid #22282C;
  border-radius: 5px;
  padding: 0 10px;
  box-shadow: inset 0 -3px 0 #C2C8C6;
  transition: background .15s ease, box-shadow .15s ease;
}
.rockerrow__rocker:hover { text-decoration: none; background: #E2E6E2; }
.rockerrow__rocker--a { height: 42px; }
.rockerrow__rocker--b { height: 56px; }
.rockerrow__rocker--c { height: 48px; }
.rockerrow__rocker--d { height: 62px; }
.rockerrow__rocker--e { height: 52px; }

.rockerrow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D8DEDC;
  border: 1px solid #A7B7B4;
  flex: none;
}
.rockerrow__rocker.is-active {
  background: #20857E;
  color: #EEEFEA;
  box-shadow: inset 0 -3px 0 #186660;
}
.rockerrow__rocker.is-active .rockerrow__dot {
  background: #EEEFEA;
  border-color: #EEEFEA;
  box-shadow: 0 0 0 2px #186660;
}

.rockerrow__toggle { display: none; }
.rockerrow__mobile { display: none; }

/* ---------- PANEL DESK HERO ---------- */
.paneldesk {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 30px;
  align-items: center;
  padding: 70px 0 60px;
}

.paneldesk__text { padding-right: 10px; }

.paneldesk__eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #20857E;
  font-weight: 700;
  margin: 0 0 14px;
}

.paneldesk__headline {
  font-size: 42px;
  line-height: 1.12;
  margin: 0 0 20px;
  color: #303C3A;
}

.paneldesk__display {
  display: inline-block;
  color: #20857E;
  font-size: 52px;
  letter-spacing: .06em;
  border-bottom: 5px solid #C2AA45;
  padding-bottom: 2px;
  margin-top: 6px;
}

.paneldesk__para {
  font-size: 16px;
  margin: 0 0 22px;
  color: #303C3A;
}
.paneldesk__link { font-weight: 700; }

.paneldesk__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #20857E;
  color: #EEEFEA;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 22px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 5px 0 #186660;
  transition: transform .12s ease, box-shadow .12s ease;
}
.paneldesk__bar:hover {
  text-decoration: none;
  transform: translateY(2px);
  box-shadow: 0 3px 0 #186660;
}
.paneldesk__bar span { font-size: 20px; }

/* --- CSS test corner --- */
.paneldesk__scene {
  position: relative;
  min-height: 420px;
}
.paneldesk__desk {
  position: absolute;
  inset: 0;
  background: #D8DEDC;
  border: 3px solid #22282C;
  border-radius: 12px;
  box-shadow: 0 14px 30px #C9CDC7;
  overflow: hidden;
}
.paneldesk__desk::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  height: 3px;
  background: #A7B7B4;
}
.paneldesk__bank {
  position: absolute;
  top: 30px;
  left: 26px;
  display: flex;
  gap: 12px;
  background: #EEEFEA;
  border: 2px solid #22282C;
  border-radius: 8px;
  padding: 12px;
}
.paneldesk__rocker {
  width: 26px;
  height: 64px;
  background: #C2C8C6;
  border: 2px solid #22282C;
  border-radius: 4px;
  box-shadow: inset 0 -10px 0 #AAB2B0;
  position: relative;
}
.paneldesk__rocker--on {
  background: #20857E;
  box-shadow: inset 0 10px 0 #186660;
}
.paneldesk__rocker--on::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EEEFEA;
}
.paneldesk__sheet {
  position: absolute;
  top: 34px;
  right: 26px;
  width: 120px;
  height: 132px;
  background: #EEEFEA;
  border: 2px solid #22282C;
  border-radius: 3px;
  transform: rotate(-5deg);
  padding: 16px 14px;
  box-shadow: 4px 4px 0 #C2AA45;
}
.paneldesk__sheet span {
  display: block;
  height: 6px;
  background: #A7B7B4;
  margin-bottom: 9px;
  border-radius: 2px;
}
.paneldesk__sheet span:first-child { background: #20857E; width: 60%; }
.paneldesk__sheet span:nth-child(3) { width: 80%; }
.paneldesk__rack {
  position: absolute;
  bottom: 70px;
  right: 30px;
  width: 130px;
  height: 90px;
  border: 2px solid #22282C;
  border-bottom: 5px solid #22282C;
  border-radius: 4px;
  background: #CBD1CF;
  overflow: hidden;
}
.paneldesk__letter {
  position: absolute;
  left: 14px;
  top: 12px;
  width: 96px;
  height: 84px;
  background: #EEEFEA;
  border: 2px solid #22282C;
  transform: rotate(4deg);
  box-shadow: -3px 3px 0 #C2AA45;
}
.paneldesk__shelf {
  position: absolute;
  bottom: 76px;
  left: 26px;
  width: 120px;
  height: 80px;
}
.paneldesk__jbox {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 92px;
  height: 60px;
  background: #C2AA45;
  border: 2px solid #22282C;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}
.paneldesk__jbox i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22282C;
  display: block;
}
.paneldesk__wire {
  position: absolute;
  left: 70px;
  bottom: 8px;
  width: 200px;
  height: 44px;
  border: 3px solid #20857E;
  border-color: #20857E transparent transparent transparent;
  border-radius: 50% / 100% 100% 0 0;
}
.paneldesk__nut {
  position: absolute;
  right: -6px;
  top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #A7B7B4;
  border: 2px solid #22282C;
  transform: rotate(45deg);
}

/* ---------- POINT SHEET ROWS ---------- */
.pointsheet {
  padding: 60px 0;
}
.pointsheet__intro { max-width: 720px; margin-bottom: 34px; }
.pointsheet__title {
  font-size: 30px;
  margin: 0 0 12px;
}
.pointsheet__lead { margin: 0; color: #303C3A; }

.pointsheet__rail {
  position: relative;
  background: #D8DEDC;
  border: 3px solid #22282C;
  border-radius: 12px;
  padding: 48px 26px 30px;
  box-shadow: 0 8px 0 #C9CDC7;
}
.pointsheet__clip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 26px;
  background: #22282C;
  border-radius: 6px;
}
.pointsheet__clip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #A7B7B4;
}
.pointsheet__row {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}
.pointsheet__row--two { margin-bottom: 0; }

.pointsheet__sheet {
  background: #EEEFEA;
  border: 2px solid #22282C;
  border-radius: 6px;
  padding: 20px 18px 16px;
  position: relative;
  flex: 1 1 0;
  box-shadow: 5px 5px 0 #C2AA45;
  transition: transform .15s ease;
}
.pointsheet__sheet:hover { transform: translateY(-3px); }
.pointsheet__sheet--w1 { flex-grow: 1.3; transform: rotate(-1.2deg); }
.pointsheet__sheet--w2 { flex-grow: 1; transform: rotate(.8deg); }
.pointsheet__sheet--w3 { flex-grow: 1.6; transform: rotate(-.6deg); }
.pointsheet__sheet--w4 { flex-grow: 1; transform: rotate(.9deg); }
.pointsheet__sheet--w5 { flex-grow: 1.5; transform: rotate(-.8deg); }
.pointsheet__sheet--w6 { flex-grow: 1.2; transform: rotate(.5deg); }

.pointsheet__mark {
  display: inline-block;
  background: #22282C;
  color: #A7B7B4;
  font-family: monospace;
  font-size: 12px;
  letter-spacing: .1em;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.pointsheet__sheet h3 {
  font-size: 19px;
  margin: 0 0 8px;
}
.pointsheet__sheet p {
  font-size: 14.5px;
  margin: 0 0 12px;
  color: #303C3A;
}
.pointsheet__more {
  font-size: 13px;
  font-weight: 700;
  color: #20857E;
  border-bottom: 2px solid #20857E;
}

/* ---------- ABOUT ---------- */
.sec-about {
  background: #D8DEDC;
  padding: 60px 44px;
  border-radius: 12px;
  margin: 20px 0 50px;
}
.sec-about__inner { max-width: 860px; }
.sec-about__title { font-size: 28px; margin: 0 0 16px; }
.sec-about p { margin: 0 0 16px; font-size: 16px; }

/* ---------- BENCH DAY ---------- */
.sec-bench { padding: 20px 0 50px; }
.sec-bench__inner { }
.sec-bench__title { font-size: 28px; margin: 0 0 24px; }
.sec-bench__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sec-bench__col {
  background: #EEEFEA;
  border-left: 6px solid #20857E;
  padding: 20px 20px 16px;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 3px 0 #D8DEDC;
}
.sec-bench__col h3 { font-size: 18px; margin: 0 0 8px; }
.sec-bench__col p { font-size: 15px; margin: 0; }

/* ---------- WHY ---------- */
.sec-why {
  background: #22282C;
  color: #EEEFEA;
  padding: 56px 44px;
  border-radius: 12px;
  margin: 0 0 50px;
}
.sec-why__inner { max-width: 880px; }
.sec-why__title { color: #EEEFEA; font-size: 28px; margin: 0 0 22px; }
.sec-why__list { margin: 0; padding: 0; list-style: none; }
.sec-why__list li {
  border-top: 1px solid #3A4247;
  padding: 14px 0;
  font-size: 15.5px;
  color: #EEEFEA;
}
.sec-why__list li strong { color: #A7B7B4; }

/* ---------- LOOP BAND ---------- */
.loopband {
  background: #22282C;
  color: #EEEFEA;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 26px 34px;
  border-radius: 10px;
  margin: 0 0 50px;
}
.loopband__wire {
  position: relative;
  flex: none;
  width: 150px;
  height: 50px;
  display: flex;
  align-items: center;
}
.loopband__run {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100px;
  height: 30px;
  border: 3px solid #20857E;
  border-color: #20857E transparent transparent transparent;
  border-radius: 50% / 100% 100% 0 0;
  transform: translateY(-40%);
}
.loopband__block {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 36px;
  background: #C2AA45;
  border: 2px solid #EEEFEA;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 5px;
}
.loopband__block i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22282C;
}
.loopband__line {
  margin: 0;
  font-size: 16px;
  color: #EEEFEA;
}

/* ---------- FAQ ---------- */
.sec-faq { padding: 0 0 70px; }
.sec-faq__inner { max-width: 820px; }
.sec-faq__title { font-size: 28px; margin: 0 0 22px; }
.sec-faq__item {
  border-top: 2px solid #A7B7B4;
  padding: 16px 0;
}
.sec-faq__item h3 { font-size: 17px; margin: 0 0 6px; color: #20857E; }
.sec-faq__item p { margin: 0; font-size: 15px; }

/* ---------- JUNCTION BOX FOOTER ---------- */
.junctionbox {
  background: #22282C;
  color: #EEEFEA;
  padding: 0 0 0;
  position: relative;
}
.junctionbox__boxes {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 28px 44px 0;
}
.junctionbox__box {
  display: block;
  background: #C2AA45;
  border: 2px solid #EEEFEA;
  border-radius: 4px;
  position: relative;
}
.junctionbox__box::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 4px;
  background: #22282C;
  border-radius: 2px;
}
.junctionbox__box--s { width: 46px; height: 40px; }
.junctionbox__box--m { width: 64px; height: 54px; }
.junctionbox__box--l { width: 88px; height: 68px; }
.junctionbox__box--open { background: #EEEFEA; }
.junctionbox__box--open::after { background: #20857E; }

.junctionbox__grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 40px;
  padding: 34px 44px 30px;
  border-top: 2px solid #3A4247;
  margin-top: 20px;
}
.junctionbox__brand {
  font-size: 18px;
  font-weight: 700;
  color: #EEEFEA;
  margin: 0 0 10px;
}
.junctionbox__blurb {
  font-size: 14.5px;
  color: #EEEFEA;
  margin: 0 0 14px;
  max-width: 480px;
}
.junctionbox__line {
  font-size: 14px;
  margin: 0 0 5px;
  color: #EEEFEA;
}
.junctionbox__line a { color: #A7B7B4; }
.junctionbox__line a:hover { color: #EEEFEA; }

.junctionbox__links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.junctionbox__links a {
  color: #EEEFEA;
  font-size: 14.5px;
  border-bottom: 1px dotted #3A4247;
  padding-bottom: 3px;
  width: fit-content;
}
.junctionbox__links a:hover { color: #C2AA45; text-decoration: none; border-color: #C2AA45; }

.junctionbox__base {
  border-top: 1px solid #3A4247;
  padding: 14px 44px 20px;
  font-size: 12.5px;
  color: #A7B7B4;
  display: flex;
  align-items: center;
  gap: 6px;
}
.junctionbox__glyph {
  display: inline-block;
  width: 12px;
  height: 18px;
  background: #20857E;
  border: 1px solid #EEEFEA;
  border-radius: 2px;
  vertical-align: middle;
}

/* ---------- INNER PAGE SHARED (services/contact) ---------- */
.innerhead {
  padding: 60px 0 40px;
}
.innerhead__eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #20857E;
  font-weight: 700;
  margin: 0 0 12px;
}
.innerhead__title { font-size: 38px; margin: 0 0 16px; line-height: 1.15; }
.innerhead__lead { font-size: 17px; margin: 0; max-width: 720px; }

/* services */
.svc-block { padding: 0 0 40px; }
.svc-block__row {
  background: #EEEFEA;
  border: 2px solid #22282C;
  border-radius: 8px;
  padding: 26px 28px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 6px 6px 0 #D8DEDC;
}
.svc-block__row:nth-child(odd) { box-shadow: 6px 6px 0 #C2AA45; }
.svc-block__tag {
  display: inline-block;
  font-family: monospace;
  font-size: 12px;
  letter-spacing: .1em;
  background: #22282C;
  color: #A7B7B4;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.svc-block__row h2 { font-size: 23px; margin: 0 0 10px; color: #20857E; }
.svc-block__row p { margin: 0 0 12px; font-size: 15.5px; }
.svc-block__row p:last-child { margin-bottom: 0; }

.process {
  background: #D8DEDC;
  border-radius: 12px;
  padding: 40px 40px;
  margin: 0 0 40px;
}
.process h2 { font-size: 26px; margin: 0 0 16px; }
.process ol { margin: 0; padding-left: 22px; }
.process li { margin-bottom: 10px; font-size: 15.5px; }

.ctastrip {
  background: #20857E;
  color: #EEEFEA;
  border-radius: 10px;
  padding: 34px 38px;
  margin: 0 0 60px;
  box-shadow: 0 6px 0 #186660;
}
.ctastrip h2 { color: #EEEFEA; font-size: 24px; margin: 0 0 8px; }
.ctastrip p { margin: 0 0 16px; color: #EEEFEA; }
.ctastrip a {
  display: inline-block;
  background: #EEEFEA;
  color: #22282C;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 5px;
}
.ctastrip a:hover { text-decoration: none; background: #C2AA45; }

/* contact */
.contactgrid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  margin: 0 0 40px;
}
.contactform {
  background: #EEEFEA;
  border: 2px solid #22282C;
  border-radius: 10px;
  padding: 28px 28px;
  box-shadow: 6px 6px 0 #D8DEDC;
}
.contactform h2 { font-size: 22px; margin: 0 0 16px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #303C3A;
  margin-bottom: 5px;
  letter-spacing: .02em;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: #303C3A;
  background: #EEEFEA;
  border: 2px solid #A7B7B4;
  border-radius: 5px;
  padding: 10px 12px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #20857E;
  box-shadow: 0 0 0 2px #C2AA45;
}
.field textarea { min-height: 120px; resize: vertical; }
.contactform button {
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  color: #EEEFEA;
  background: #20857E;
  border: none;
  border-radius: 5px;
  padding: 13px 28px;
  cursor: pointer;
  box-shadow: 0 4px 0 #186660;
}
.contactform button:hover { background: #1A6E68; }
.formnote {
  font-size: 13px;
  color: #303C3A;
  margin: 12px 0 0;
}
.formstatus {
  font-size: 14px;
  color: #20857E;
  font-weight: 700;
  margin: 12px 0 0;
  min-height: 20px;
}

.contactinfo {
  background: #22282C;
  color: #EEEFEA;
  border-radius: 10px;
  padding: 28px 26px;
}
.contactinfo h2 { color: #EEEFEA; font-size: 22px; margin: 0 0 16px; }
.contactinfo__row { margin-bottom: 14px; }
.contactinfo__label {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #A7B7B4;
  margin-bottom: 3px;
}
.contactinfo__val { font-size: 15px; color: #EEEFEA; }
.contactinfo__val a { color: #C2AA45; }
.contactinfo__val a:hover { color: #EEEFEA; }

.contactfaq { max-width: 820px; margin: 0 0 60px; }
.contactfaq h2 { font-size: 26px; margin: 0 0 18px; }
.contactfaq__item {
  border-top: 2px solid #A7B7B4;
  padding: 16px 0;
}
.contactfaq__item h3 { font-size: 17px; margin: 0 0 6px; color: #20857E; }
.contactfaq__item p { margin: 0; font-size: 15px; }

/* ---------- SCROLL REVEAL ---------- */
.reveal { transform: none; }
.js-reveal .reveal { transform: translateY(18px); visibility: hidden; transition: transform 0.5s ease; }
.js-reveal .reveal.is-shown { transform: none; visibility: visible; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .maincol { padding: 0 40px; }
  .paneldesk { grid-template-columns: 1fr; }
  .paneldesk__scene { min-height: 360px; max-width: 460px; }
  .sec-bench__cols { grid-template-columns: 1fr; }
  .contactgrid { grid-template-columns: 1fr; }
  .junctionbox__grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 760px) {
  .rockerrow {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
  }
  .rockerrow__plate {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    height: auto;
    border-width: 0 0 3px 0;
    border-radius: 0;
    padding: 10px 14px;
    box-shadow: none;
  }
  .rockerrow__brand { flex: 1 1 100%; font-size: 11px; padding: 6px; }
  .rockerrow__rocker {
    height: auto !important;
    padding: 9px 12px;
    font-size: 13px;
    flex: 1 1 auto;
  }
  .maincol { padding: 0 20px; }
  .paneldesk { padding: 40px 0 40px; }
  .paneldesk__headline { font-size: 30px; }
  .paneldesk__display { font-size: 40px; }
  .pointsheet__row { flex-direction: column; }
  .pointsheet__sheet { transform: none !important; }
  .loopband { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sec-about, .sec-why, .process, .ctastrip { padding-left: 22px; padding-right: 22px; }
  .junctionbox__boxes { padding-left: 20px; padding-right: 20px; }
  .junctionbox__grid { padding: 26px 20px; }
  .junctionbox__base { padding: 14px 20px 20px; flex-wrap: wrap; }
}
