:root {
  --ink: #14232d;
  --navy: #0f2e4a;
  --blue: #1e587a;
  --steel: #5f6d78;
  --mist: #eef2f4;
  --line: #d7e0e5;
  --orange: #d8853b;
  --orange-dark: #ad6329;
  --white: #ffffff;
  --surface: #f8fafb;
  --shadow: 0 18px 48px rgba(15, 46, 74, .12);
  --radius: 6px;
  --ease: cubic-bezier(.2, .72, .2, 1);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
}
.skip-link:focus { top: 16px; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.home-header {
  position: fixed;
  left: 0;
  width: 100%;
  color: var(--white);
  background: transparent;
  border-bottom-color: transparent;
}
.home-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--scroll-progress, 0%);
  height: 2px;
  background: var(--orange);
  transform-origin: left center;
  transition: width .12s linear;
}
.home-header .brand-name,
.home-header .header-phone { color: var(--white); }
.home-header .brand-sub,
.home-header .site-nav { color: #d7e5ea; }
.home-header .site-nav a:hover,
.home-header .site-nav a[aria-current="page"] { color: var(--white); }
.home-header .menu-button { color: var(--white); }
.home-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
}
.home-header.is-scrolled .brand-name,
.home-header.is-scrolled .header-phone { color: var(--navy); }
.home-header.is-scrolled .brand-sub,
.home-header.is-scrolled .site-nav { color: #40505a; }
.home-header.is-scrolled .site-nav a:hover,
.home-header.is-scrolled .site-nav a[aria-current="page"] { color: var(--navy); }
.home-header.is-scrolled .menu-button { color: var(--navy); }
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 222px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  box-shadow: inset 0 -3px 0 var(--orange);
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-copy { min-width: 0; }
.brand-name {
  display: block;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}
.brand-sub {
  display: block;
  margin-top: 3px;
  color: var(--steel);
  font-size: 11px;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 21px;
  flex: 1;
  color: #40505a;
  font-size: 13px;
}
.site-nav a {
  position: relative;
  padding: 26px 0 24px;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 16px;
  height: 2px;
  background: var(--orange);
  transition: right .25s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--navy); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
  font-size: 20px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15, 46, 74, .13); }
.button-primary { color: var(--white); background: var(--orange); }
.button-primary:hover { background: var(--orange-dark); }
.button-secondary { color: var(--navy); background: var(--white); border-color: var(--navy); }
.button-quiet { color: var(--blue); background: transparent; border-color: var(--line); }
.button-small { min-height: 34px; padding: 7px 11px; font-size: 12px; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -180px;
  top: 30px;
  border: 1px solid rgba(216, 133, 59, .38);
  transform: rotate(22deg);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 680px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 62px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b8d0dc;
  font-size: 13px;
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange);
}
.hero h1 {
  max-width: 520px;
  margin: 18px 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}
.hero-copy {
  max-width: 520px;
  margin: 0;
  color: #d7e5ea;
  font-size: 16px;
  line-height: 1.85;
}
.hero-copy strong { color: var(--white); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  color: #b8d0dc;
  font-size: 13px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
}
.hero-visual {
  position: relative;
  min-height: 430px;
  transform: translate3d(0, var(--hero-shift, 0px), 0);
  will-change: transform;
}
.hero-media {
  position: absolute;
  inset: 0 22px 0 0;
  background: url("../../assets/hero-placeholder.svg") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 28px 28px 0 rgba(216, 133, 59, .17);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .5);
}
.media-note {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  padding: 8px 10px;
  color: #edf4f5;
  background: rgba(15, 46, 74, .8);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 11px;
}
.hero-stat {
  position: absolute;
  right: 0;
  bottom: 36px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  width: 126px;
  color: var(--white);
  background: rgba(15, 46, 74, .9);
  border: 1px solid rgba(255, 255, 255, .25);
}
.hero-stat div { padding: 15px; border-right: 1px solid rgba(255, 255, 255, .16); }
.hero-stat div:last-child { border-right: 0; }
.hero-stat strong { display: block; font-size: 25px; }
.hero-stat span { display: block; margin-top: 4px; color: #b8d0dc; font-size: 11px; }

.section { padding: 92px 0; }
.section-muted { background: var(--mist); }
.section-dark { color: var(--white); background: var(--navy); }
.section-dark h2 { color: var(--white); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 32px;
}
.kicker {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}
.section-dark .kicker { color: #f0bd8c; }
h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}
h3 { line-height: 1.35; }
.section-intro {
  max-width: 520px;
  margin: 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.8;
}
.section-dark .section-intro { color: #b8d0dc; }
.factory-address {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.7;
}
.section-dark .factory-address { color: #dfe9ee; }

.info-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.info-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.info-item {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}
.info-item:last-child { border-right: 0; }
.info-item strong { display: block; color: var(--navy); font-size: 15px; }
.info-item span { display: block; margin-top: 5px; color: var(--steel); font-size: 12px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.content-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.content-card:hover {
  transform: translateY(-6px);
  border-color: #b7cbd4;
  box-shadow: var(--shadow);
}
.content-card-body { padding: 20px; }
.content-card h3 { margin: 0 0 9px; color: var(--navy); font-size: 19px; }
.content-card p { margin: 0; color: var(--steel); font-size: 13px; line-height: 1.75; }
.content-card .text-link { margin-top: 16px; }
.card-index {
  position: absolute;
  top: 15px;
  right: 16px;
  color: rgba(30, 88, 122, .2);
  font-size: 29px;
  font-weight: 900;
}
.media-cover {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background: var(--mist) center / cover no-repeat;
}
.media-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 46, 74, .03);
}
.media-cover.hero-placeholder { background-image: url("../../assets/hero-placeholder.svg"); }
.media-cover.factory-placeholder { background-image: url("../../assets/factory-placeholder.svg"); }
.media-cover.case-one { background-image: url("../../assets/case-01-placeholder.svg"); }
.media-cover.case-two { background-image: url("../../assets/case-02-placeholder.svg"); }
.media-cover.case-three { background-image: url("../../assets/case-03-placeholder.svg"); }
.media-cover.video-cover { min-height: 205px; }
.play-badge {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  font-size: 15px;
}
.tag {
  display: inline-flex;
  padding: 5px 8px;
  color: var(--blue);
  background: #e8f0f3;
  font-size: 11px;
  font-weight: 800;
}
.tag-orange { color: #8a4d20; background: #f7dfca; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.text-link::after { content: "→"; font-size: 16px; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 62px;
  align-items: center;
}
.feature-media {
  min-height: 380px;
  background: url("../../assets/factory-placeholder.svg") center / cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: 18px 18px 0 rgba(30, 88, 122, .15);
}
.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.feature-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.feature-item:last-child { padding-bottom: 0; border-bottom: 0; }
.feature-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
}
.feature-item h3 { margin: 0 0 5px; color: var(--navy); font-size: 17px; }
.feature-item p { margin: 0; color: var(--steel); font-size: 13px; line-height: 1.7; }

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #b9c8cf;
}
.process-track::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 34%;
  height: 3px;
  background: var(--orange);
}
.process-step {
  position: relative;
  min-height: 190px;
  padding: 25px 22px 20px 0;
  border-right: 1px solid #cbd7dc;
}
.process-step + .process-step { padding-left: 22px; }
.process-step:last-child { border-right: 0; }
.process-step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--white);
  border: 2px solid var(--orange);
}
.process-step + .process-step::before { left: 22px; }
.process-step strong { color: var(--blue); font-size: 11px; }
.process-step h3 { margin: 17px 0 8px; color: var(--navy); font-size: 19px; }
.process-step p { margin: 0; color: var(--steel); font-size: 13px; line-height: 1.75; }

.case-grid {
  display: grid;
  grid-template-columns: 1.3fr .85fr .85fr;
  gap: 16px;
}
.case-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.case-card:first-child { min-height: 420px; }
.case-card .media-cover { position: absolute; inset: 0; height: 100%; }
.case-card .media-cover::after { background: linear-gradient(transparent 38%, rgba(15, 46, 74, .92)); }
.case-card-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 24px 21px 20px;
}
.case-card h3 { margin: 10px 0 5px; color: var(--white); font-size: 20px; }
.case-card p { margin: 0; color: #d7e5ea; font-size: 12px; }

.dark-card {
  background: #173b56;
  border-color: rgba(255, 255, 255, .13);
}
.dark-card h3 { color: var(--white); }
.dark-card p { color: #b8d0dc; }

.store-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.store-item {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}
.store-item:last-child { border-right: 0; }
.store-item h3 { margin: 0 0 9px; color: var(--navy); font-size: 17px; }
.store-item p { margin: 5px 0; color: var(--steel); font-size: 13px; line-height: 1.6; }

.contact-band {
  color: var(--white);
  background: #102a40;
  border-top: 4px solid var(--orange);
}
.contact-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}
.contact-band h2 { color: var(--white); }
.contact-band p { margin: 12px 0 0; color: #c7d8df; font-size: 14px; line-height: 1.7; }
.contact-band-contrast h2 { color: var(--white); }
.contact-band-contrast p { color: #c7d8df; }
.contact-band-contrast .kicker { color: #f0bd8c; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.site-footer {
  padding: 28px 0 92px;
  color: #8a9da8;
  background: #0d2436;
  font-size: 12px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
}
.footer-inner span {
  flex: 1 1 220px;
  min-width: 0;
  line-height: 1.6;
}
.footer-inner span[hidden] { display: none; }

.page-hero {
  padding: 76px 0 68px;
  color: var(--white);
  background: var(--navy);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 50px;
  align-items: end;
}
.page-hero h1 { max-width: 720px; margin: 14px 0 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.15; }
.page-hero p { max-width: 560px; margin: 18px 0 0; color: #d7e5ea; font-size: 15px; line-height: 1.85; }
.page-hero-aside { justify-self: end; color: #b8d0dc; text-align: right; font-size: 13px; line-height: 1.8; }
.page-hero-aside strong { display: block; color: var(--white); font-size: 28px; }
.hero-aside-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-aside-note strong {
  display: block;
  margin: 0;
  color: var(--white);
  font-size: 14px;
  line-height: 1.4;
}
.hero-aside-note span {
  display: block;
  margin-top: 6px;
  color: #d7e5ea;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  color: var(--steel);
  font-size: 12px;
}
.breadcrumb a { color: var(--blue); }

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 54px;
  align-items: start;
}
.detail-media {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  background: url("../../assets/case-01-placeholder.svg") center / cover no-repeat;
  border: 1px solid var(--line);
}
.detail-media-video {
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  margin-inline: auto;
  background: transparent;
}
.detail-video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 470px;
  object-fit: contain;
  background: transparent;
}
.video-status {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  margin: 0;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(15, 46, 74, .86);
  font-size: 12px;
  line-height: 1.5;
  pointer-events: none;
}
.detail-copy h2 { margin-top: 0; font-size: 34px; }
.detail-copy > p { color: var(--steel); font-size: 15px; line-height: 1.85; }
.detail-list {
  display: grid;
  gap: 0;
  margin: 25px 0 0;
  border-top: 1px solid var(--line);
}
.detail-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.detail-list dt { color: var(--steel); font-size: 13px; }
.detail-list dd { margin: 0; color: var(--navy); font-size: 13px; font-weight: 700; line-height: 1.7; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.prose {
  max-width: 820px;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.95;
}
.prose h2 { margin-top: 38px; font-size: 27px; }
.prose h3 { margin-top: 28px; color: var(--navy); font-size: 19px; }
.prose p { margin: 12px 0; }
.prose ul { padding-left: 20px; }
.prose li { margin: 8px 0; }

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.equipment-item {
  padding: 17px;
  background: var(--white);
  border: 1px solid var(--line);
}
.equipment-item strong { display: block; color: var(--navy); font-size: 14px; }
.equipment-item span { display: block; margin-top: 6px; color: var(--steel); font-size: 12px; line-height: 1.6; }

.store-detail-list { display: grid; gap: 14px; }
.store-detail {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}
.store-detail h3 { margin: 0; color: var(--navy); font-size: 17px; }
.store-detail p { margin: 7px 0 0; color: var(--steel); font-size: 13px; line-height: 1.6; }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
}
.contact-panel {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
}
.contact-panel h2 { margin-top: 0; font-size: 26px; }
.contact-methods { display: grid; gap: 12px; margin-top: 22px; }
.contact-method {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-method:last-child { border-bottom: 0; }
.contact-symbol {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  font-size: 12px;
  font-weight: 900;
}
.contact-method strong { display: block; color: var(--navy); font-size: 14px; }
.contact-method span { display: block; margin-top: 4px; color: var(--steel); font-size: 12px; line-height: 1.5; }
.qr-box {
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  margin: 22px auto 10px;
  color: var(--navy);
  background: repeating-linear-gradient(45deg, #eef2f4 0 6px, #d7e0e5 6px 12px);
  border: 8px solid var(--navy);
  font-size: 12px;
  font-weight: 900;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: 12px; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: 0;
}
.field textarea { min-height: 126px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 88, 122, .1); }
.form-note { margin: 0 0 20px; color: var(--steel); font-size: 13px; line-height: 1.7; }
.form-actions { display: flex; justify-content: end; gap: 10px; margin-top: 18px; }

.chat-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  min-height: 48px;
  padding: 13px 16px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 800;
}
.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 41;
  width: min(370px, calc(100% - 32px));
  display: none;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.chat-panel.open { display: block; }
.chat-head { padding: 16px; color: var(--white); background: var(--navy); }
.chat-head strong { display: block; font-size: 15px; }
.chat-head span { display: block; margin-top: 4px; color: #b8d0dc; font-size: 11px; }
.chat-body { padding: 16px; }
.chat-message { max-width: 86%; padding: 10px 12px; color: var(--navy); background: var(--mist); font-size: 13px; line-height: 1.65; }
.chat-input { width: 100%; margin-top: 14px; padding: 11px; border: 1px solid var(--line); }
.chat-send { width: 100%; margin-top: 10px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(15, 46, 74, .68);
}
.modal.open { display: grid; }
.modal-card {
  width: min(390px, 100%);
  position: relative;
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.modal-card h2 { margin-top: 0; font-size: 25px; }
.modal-card p { color: var(--steel); font-size: 13px; line-height: 1.7; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  display: none;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}
.toast.show { display: block; }

.motion-ready .motion-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.motion-ready .motion-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.motion-ready .motion-reveal:nth-child(2) { transition-delay: .08s; }
.motion-ready .motion-reveal:nth-child(3) { transition-delay: .16s; }

.admin-body { color: var(--ink); background: #f3f6f7; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; }
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 16px;
  color: #c8d7df;
  background: var(--navy);
}
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 24px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.admin-brand strong { color: var(--white); font-size: 15px; }
.admin-brand span { display: block; margin-top: 3px; font-size: 10px; }
.admin-nav { display: grid; gap: 4px; margin-top: 24px; }
.admin-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: #c8d7df;
  font-size: 13px;
  border-left: 2px solid transparent;
}
.admin-nav a:hover, .admin-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); border-left-color: var(--orange); }
.admin-main { min-width: 0; }
.admin-topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 30px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.admin-topbar h1 { margin: 0; color: var(--navy); font-size: 21px; }
.admin-user { color: var(--steel); font-size: 12px; }
.admin-content { padding: 30px; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}
.metric span { display: block; color: var(--steel); font-size: 12px; }
.metric strong { display: block; margin-top: 10px; color: var(--navy); font-size: 28px; }
.admin-panel {
  margin-top: 20px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.admin-panel h2 { margin: 0; font-size: 18px; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 9px; }
.admin-toolbar input, .admin-toolbar select {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 13px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table th { color: var(--steel); font-size: 11px; font-weight: 800; }
.data-table td strong { color: var(--navy); }
.status {
  display: inline-flex;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 800;
}
.status-live { color: #21653d; background: #e5f3e9; }
.status-draft { color: #8a5a19; background: #fff1d8; }
.status-off { color: #6c7479; background: #edf0f1; }
.status-new { color: #8a4d20; background: #f7dfca; }
.admin-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.admin-form .field-full { grid-column: 1 / -1; }
.admin-form .form-actions { grid-column: 1 / -1; }
.upload-box {
  min-height: 130px;
  display: grid;
  place-items: center;
  color: var(--steel);
  background: #f7f9fa;
  border: 1px dashed #b9c8cf;
  font-size: 12px;
}
.factory-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.factory-media-slot {
  min-width: 0;
}
.factory-media-slot strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
}
.factory-media-slot input[type="file"] {
  width: 100%;
  min-width: 0;
  font-size: 11px;
}
.factory-media-slot .upload-box {
  min-height: 112px;
  margin-top: 8px;
  padding: 8px;
  text-align: center;
}
.factory-media-slot .upload-box img {
  display: block;
  max-width: 100%;
  max-height: 112px;
  object-fit: contain;
}
.admin-login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--navy); }
.login-card { width: min(430px, 100%); padding: 34px; background: var(--white); box-shadow: var(--shadow); }
.login-card .brand { margin-bottom: 30px; }
.login-card h1 { margin: 0; color: var(--navy); font-size: 26px; }
.login-card p { color: var(--steel); font-size: 13px; line-height: 1.7; }
.login-form { display: grid; gap: 15px; margin-top: 23px; }
.login-form .button { width: 100%; }
.admin-mobile-button { display: none; }

@media (max-width: 1050px) {
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 12px; }
  .header-inner { gap: 16px; }
  .brand { min-width: 200px; }
  .header-phone { display: none; }
  .admin-shell { grid-template-columns: 210px 1fr; }
  .admin-content { padding: 24px; }
  .factory-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .container { width: min(100% - 32px, 680px); }
  .site-header { position: sticky; }
  .home-header { position: fixed; }
  .home-header:not(.is-scrolled) .site-nav.open { color: var(--navy); }
  .header-inner { min-height: 64px; }
  .site-nav, .header-actions { display: none; }
  .menu-button { display: grid; place-items: center; margin-left: auto; }
  .site-nav.open {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 16px 14px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(15,46,74,.08);
  }
  .site-nav.open a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav.open a::after { bottom: 0; }
  .hero-inner, .page-hero-inner, .split, .detail-layout, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-inner { min-height: auto; padding: 74px 0 82px; }
  .hero-visual { min-height: 340px; }
  .hero-media { inset: 0; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero-aside { justify-self: start; text-align: left; }
  .section { padding: 64px 0; }
  .section-head { display: block; }
  .section-intro { margin-top: 14px; }
  .card-grid, .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case-card:first-child { grid-column: 1 / -1; min-height: 340px; }
  .store-list { grid-template-columns: 1fr; }
  .store-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .store-item:last-child { border-bottom: 0; }
  .contact-band-inner { grid-template-columns: 1fr; }
  .contact-actions { justify-content: start; }
  .footer-inner { display: block; }
  .footer-inner span { display: block; margin-top: 8px; }
  .admin-shell { display: block; }
  .factory-media-grid { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    width: min(280px, 86vw);
    transform: translateX(-100%);
    transition: transform .25s var(--ease);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-mobile-button { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); color: var(--navy); background: var(--white); }
  .admin-topbar { padding: 0 16px; }
  .admin-content { padding: 16px; }
  .admin-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-panel { padding: 16px; overflow-x: auto; }
  .admin-panel-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .brand { min-width: 0; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 10px; }
  .hero h1 { font-size: 42px; }
  .hero-copy { font-size: 14px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .button { width: 100%; padding: 10px 7px; white-space: nowrap; }
  .hero-actions .button:last-child { grid-column: 1 / -1; }
  .hero-meta { gap: 10px 15px; }
  .hero-visual { min-height: 300px; }
  .hero-stat { right: 0; bottom: 18px; width: min(126px, calc(100% - 12px)); }
  .hero-stat div { padding: 12px; }
  .hero-stat strong { font-size: 21px; }
  .info-strip-inner { grid-template-columns: 1fr; }
  .info-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .info-item:last-child { border-bottom: 0; }
  .card-grid, .case-grid, .equipment-grid, .form-grid, .admin-form { grid-template-columns: 1fr; }
  .case-card:first-child { grid-column: auto; }
  .case-card, .case-card:first-child { min-height: 300px; }
  .detail-list div { grid-template-columns: 92px 1fr; }
  .detail-media { min-height: 300px; }
  .detail-media-video { min-height: 0; }
  .detail-video { max-height: 300px; }
  .store-detail { grid-template-columns: 1fr; }
  .form-actions { justify-content: stretch; }
  .form-actions .button { flex: 1; }
  .chat-bubble { right: 16px; bottom: 70px; }
  .chat-panel { right: 16px; bottom: 126px; }
  .site-footer { padding-bottom: 112px; }
  .admin-grid { gap: 9px; }
  .metric { padding: 13px; }
  .metric strong { font-size: 23px; }
  .data-table { min-width: 620px; }
  .admin-panel { overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .motion-ready .motion-reveal,
  .motion-ready .motion-reveal.is-visible { opacity: 1; transform: none; }
  .home-header::after { transition: none; }
}
