/* ============================================================
   Adventure Technology — Formlabs-style rebuild
   Pure HTML + CSS. Palette & layout follow formlabs-设计提取.md
   Black/White + Blue accent, card grids, tab applications
   ============================================================ */

:root {
  --blue: #00A1FE;
  --blue-light: #3DB8FE;
  --blue-dark: #0081CB;
  --black: #000000;
  --dark: #1A1A1A;
  --text: #1A1A1A;
  --text-mid: #333333;
  --text-muted: #666666;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-300: #E0E0E0;
  --footer-bg: #0D0D0D;
  --font: 'Inter', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  --max-w: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
svg { width: 100%; height: 100%; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-align: center;
  font-family: var(--font);
  letter-spacing: 0.01em;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: #fff; color: var(--black); border-color: #fff; }

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover { background: var(--black); color: #fff; }

/* ---------- Link arrow ---------- */
.link-arrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  transition: color .15s, gap .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-arrow:hover { color: var(--blue-dark); gap: 10px; }

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  transition: color .15s;
}
.card-link:hover { color: var(--blue-dark); }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section-gray { background: var(--gray-100); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}
.section-head-left { max-width: 720px; }
.section-head-right { flex-shrink: 0; }

.section-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-tag-light { color: #fff; }

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
}
.section-title.light { color: #fff; }

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 560px;
}
.section-sub.light { color: rgba(255,255,255,.7); }

.section-foot {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  justify-content: center;
}
.section-foot-center { justify-content: center; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo img { height: 36px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  cursor: pointer;
  transition: color .15s;
}
.nav-list > li > a:hover { color: var(--blue); }
.nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.nav-list > li:hover > a::after { transform: scaleX(1); }

.has-sub > a::after {
  content: "\25BE";
  font-size: 9px;
  margin-left: 5px;
  display: inline-block;
}

/* dropdown */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  padding: 8px 0;
  display: none;
  z-index: 50;
}
.has-sub:hover .submenu { display: block; }

.submenu a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  color: var(--text-mid);
  cursor: pointer;
  transition: background .15s, color .15s, padding-left .15s;
}
.submenu a:hover { background: var(--gray-50); color: var(--blue); padding-left: 26px; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header-actions .btn { font-size: 16px; }

/* header social icons (light background variant) */
.header-social {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 14px;
  border-right: 1px solid var(--gray-200);
  margin-right: 2px;
}
.header-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  border-radius: 50%;
  padding: 7px;
  transition: color .15s, background .15s, transform .15s;
}
.header-social a:hover {
  color: var(--blue);
  background: rgba(0,161,254,.08);
  transform: translateY(-1px);
}
.header-social svg { width: 100%; height: 100%; }

/* hamburger */
.nav-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--black);
  transition: transform .25s, opacity .25s;
}
.nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  min-height: 600px;
  display: flex;
  align-items: center;   /* vertical centering only */
  padding: 100px 0;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(transparent 20%, rgba(0,0,0,.82));
}

.hero-inner {
  position: relative;
  z-index: 2;
  /* Stretch to full width like the header container (capped at max-width),
     so the text block aligns with the logo's left edge on any viewport.
     margin:0 auto from .container centers it — correct here because the
     element spans the same width as the header's container. */
  flex: none;
  width: 100%;
}

.hero-text { max-width: 680px; }

.hero-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hl {
  background-image: linear-gradient(transparent 60%, rgba(0,161,254,.45) 60%);
  padding: 0 4px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   Products (Card Grid)
   ============================================================ */
.products { background: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---------- Product carousel (horizontal scroll + arrows) ---------- */
.product-carousel {
  position: relative;
}

.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 20px 4px 32px;
  margin: -20px -4px -32px;
}
.carousel-viewport::-webkit-scrollbar { display: none; }

.product-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
}

/* Same card size as the Materials grid: 4 columns, 24px gap. */
.product-carousel-track .product-card {
  flex: 0 0 calc(25% - 18px);
}

/* Homepage product carousel only: square image tiles + larger product.
   Scoped to .products so material inner-page carousels keep the default 4:3 images. */
.products .product-carousel-track .product-img { aspect-ratio: 1 / 1; padding: 12px; }
.products .product-carousel-track .product-img img { max-height: 300px; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, opacity .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.carousel-btn-prev { left: -60px; }
.carousel-btn-next { right: -60px; }
.carousel-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* When page margins shrink, tuck arrows into the container gutter (no overlap). */
@media (max-width: 1400px) {
  .carousel-btn { width: 30px; height: 30px; }
  .carousel-btn svg { width: 18px; height: 18px; }
  .carousel-btn-prev { left: -32px; }
  .carousel-btn-next { right: -32px; }
}
.carousel-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.carousel-btn:active { transform: translateY(-50%) scale(.96); }
.carousel-btn:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}


.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.10);
  border-color: var(--blue);
}

.product-img {
  background: var(--gray-50);
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-img img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
  transition: transform .3s;
}
.product-card:hover .product-img img { transform: scale(1.05); }

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}

.product-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

.product-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.product-body .card-link { margin-top: 4px; }

/* ============================================================
   Applications (Research + Industry)
   ============================================================ */
.app-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: start;
}
.app-grid-mirror {
  grid-template-columns: 1fr 400px;
}

.app-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 24px 0 32px;
  max-width: 520px;
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.app-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.10);
  border-color: var(--blue);
}

.app-img {
  height: 240px;
  overflow: hidden;
}
.app-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.app-card:hover .app-img img { transform: scale(1.05); }

.app-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

.app-line {
  width: 32px;
  height: 2px;
  background: var(--blue);
  margin: 16px 0;
}

.app-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .app-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-desc { max-width: none; }
  .app-grid-mirror .app-cards { order: 2; }
  .app-grid-mirror .app-intro { order: 1; }
}
@media (max-width: 640px) {
  .app-cards { grid-template-columns: 1fr; }
  .app-img { height: 200px; }
}

/* ============================================================
   Application page (part gallery)
   ============================================================ */
.app-family {
  margin-bottom: 64px;
}
.app-family:last-child {
  margin-bottom: 0;
}

.app-family-head {
  margin-bottom: 24px;
}
.app-family-head h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}
.app-family-head p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 680px;
}

.app-part-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.app-part {
  margin: 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.app-part:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  border-color: var(--blue);
}
.app-part img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.app-part figcaption {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-align: center;
}

@media (max-width: 1024px) {
  .app-part-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .app-part-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Materials
   ============================================================ */
.material-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.material-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  transition: background .2s, border-color .2s, transform .15s;
}
.material-pill:hover {
  background: #fff;
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,161,254,.08);
}

.pill-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px;
}
.pill-icon svg { width: 100%; height: 100%; }

/* ============================================================
   News
   ============================================================ */
.news { background: #fff; }
.news.section-gray { background: var(--gray-100); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  border-color: var(--blue);
}

.news-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-50);
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.news-card:hover .news-img img { transform: scale(1.05); }

.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
}

.news-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  flex: 1;
}

.news-date {
  font-size: 13px;
  color: var(--text-muted);
}

.news-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.news-card--blog .news-body h3 { flex: 0 0 auto; }
.news-card--blog .news-excerpt { flex: 1; }

/* ---------- Blog filter tabs (no sidebar) ---------- */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 40px;
}

.blog-filter a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  background: #fff;
  transition: background .2s, color .2s, border-color .2s;
}

.blog-filter a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.blog-filter a.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Blog listing follows the page hero — tighten the top gap (was .section's 96px). */
.page-hero + .section { padding-top: 48px; }


/* ============================================================
   Contact
   ============================================================ */
.contact {
  background: var(--dark);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 32px 28px;
  color: #fff;
  transition: border-color .2s, background .2s;
}
a.contact-card:hover {
  border-color: var(--blue);
  background: rgba(0,161,254,.08);
}

.contact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 12px;
}
.contact-icon svg { width: 100%; height: 100%; }

.contact-text { display: flex; flex-direction: column; gap: 6px; }

.contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-light);
}

.contact-value { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.85); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  color: #fff;
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo img { height: 40px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); }

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 280px;
}

.footer-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #fff;
}
.footer-title-gap { margin-top: 28px; }

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  transition: color .15s;
}
.footer-links a:hover { color: var(--blue-light); }

.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  padding: 9px;
  transition: background .2s, color .2s, border-color .2s;
}
.social-row a:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.social-row svg { width: 100%; height: 100%; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 24px 32px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-bottom-inner p { margin: 0; }
.footer-bottom-inner a { color: rgba(255,255,255,.4); transition: color .15s; }
.footer-bottom-inner a:hover { color: var(--blue-light); }

/* ============================================================
   Floating rail
   ============================================================ */
.float-rail {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 48px;
  height: 48px;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 12px;
  transition: background .2s, color .2s, transform .15s;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.float-btn:hover { background: var(--blue); color: #fff; transform: scale(1.08); }
.float-btn svg { width: 100%; height: 100%; }

.float-btn-top { background: var(--blue); color: #fff; }
.float-btn-top:hover { background: var(--blue-dark); color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .nav-toggle { display: block; position: absolute; opacity: 0; pointer-events: none; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
    max-height: calc(100vh - 72px);
    overflow: auto;
    z-index: 60;
  }
  .nav-toggle:checked ~ .main-nav { display: block; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .nav-list > li > a { padding: 13px 24px; }
  .nav-list > li > a::after { display: none; }
  .has-sub > a::after { display: none; }

  .submenu {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding: 0 0 8px;
    background: var(--gray-50);
    border-radius: 0;
  }
  .submenu a { padding: 9px 40px; }
  .submenu a:hover { padding-left: 46px; }

  .header-inner { gap: 16px; }
  .header-actions { margin-left: auto; }
  .header-social { display: none; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-carousel-track .product-card { flex-basis: calc(50% - 12px); }
  .material-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-text { max-width: 100%; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }

  .product-grid { grid-template-columns: 1fr; }
  .product-carousel-track .product-card { flex-basis: 100%; }
  .carousel-btn { width: 36px; height: 36px; }
  .carousel-btn svg { width: 18px; height: 18px; }
  .carousel-btn-prev { left: 0; }
  .carousel-btn-next { right: 0; }
  .material-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .header-actions .btn { padding: 10px 18px; font-size: 14px; }
  .hero { padding: 64px 0; min-height: 500px; }
  .hero h1 { font-size: clamp(30px, 8vw, 42px); }
  .hero-sub { font-size: 16px; }

  .section-foot { flex-direction: column; align-items: stretch; }
  .section-foot .btn { width: 100%; }

  .float-rail { right: 12px; bottom: 72px; }
  .float-btn { width: 44px; height: 44px; }
}

/* ============================================================
   Sub-page additions (appended, index untouched)
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* ---------- Page hero (sub-page masthead) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
  border-bottom: 1px solid var(--gray-200);
  padding: 64px 0 56px;
}
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 12px 0 16px;
}
.page-hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.55;
}

/* ---------- Page hero with photo background ---------- */
.page-hero-photo {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .45) 100%),
    url("images/printers/banner.jpg") center / cover no-repeat;
}
.page-hero-photo-material {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .45) 100%),
    url("images/material/banner.jpg") center / cover no-repeat;
}
.page-hero-photo-material .page-hero-sub { max-width: none; }
.page-hero-photo-service {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .45) 100%),
    url("images/service/hero.jpg") center / cover no-repeat;
}
.page-hero-photo-service .page-hero-sub { max-width: 960px; }
.page-hero-photo-application {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .45) 100%),
    url("images/application/banner.jpg") center / cover no-repeat;
}
.page-hero-photo-application .page-hero-sub { max-width: 760px; }
.page-hero-photo-blog {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .45) 100%),
    url("images/blog/banner.jpg") center / cover no-repeat;
}
.page-hero-photo-blog .page-hero-sub { max-width: none; }
.page-hero-photo-contact {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .45) 100%),
    url("images/contact/hero.jpg") center / cover no-repeat;
}
.page-hero-photo-contact .page-hero-sub { max-width: none; }
.page-hero-photo-about {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .45) 100%),
    url("images/about/hero.jpg") center / cover no-repeat;
}
.page-hero-photo-about .page-hero-sub { max-width: none; }

.page-hero-photo .breadcrumb,
.page-hero-photo-material .breadcrumb,
.page-hero-photo-service .breadcrumb,
.page-hero-photo-application .breadcrumb,
.page-hero-photo-blog .breadcrumb,
.page-hero-photo-contact .breadcrumb,
.page-hero-photo-about .breadcrumb { color: rgba(255, 255, 255, .8); }
.page-hero-photo .breadcrumb a,
.page-hero-photo-material .breadcrumb a,
.page-hero-photo-service .breadcrumb a,
.page-hero-photo-application .breadcrumb a,
.page-hero-photo-blog .breadcrumb a,
.page-hero-photo-contact .breadcrumb a,
.page-hero-photo-about .breadcrumb a { color: rgba(255, 255, 255, .8); }
.page-hero-photo .breadcrumb a:hover,
.page-hero-photo-material .breadcrumb a:hover,
.page-hero-photo-service .breadcrumb a:hover,
.page-hero-photo-application .breadcrumb a:hover,
.page-hero-photo-blog .breadcrumb a:hover,
.page-hero-photo-contact .breadcrumb a:hover,
.page-hero-photo-about .breadcrumb a:hover { color: #fff; }
.page-hero-photo .breadcrumb span,
.page-hero-photo-material .breadcrumb span,
.page-hero-photo-service .breadcrumb span,
.page-hero-photo-application .breadcrumb span,
.page-hero-photo-blog .breadcrumb span,
.page-hero-photo-contact .breadcrumb span,
.page-hero-photo-about .breadcrumb span { color: #fff; }
.page-hero-photo h1,
.page-hero-photo-material h1,
.page-hero-photo-service h1,
.page-hero-photo-application h1,
.page-hero-photo-blog h1,
.page-hero-photo-contact h1,
.page-hero-photo-about h1 { color: #fff; }
.page-hero-photo .page-hero-sub,
.page-hero-photo-material .page-hero-sub,
.page-hero-photo-service .page-hero-sub,
.page-hero-photo-application .page-hero-sub,
.page-hero-photo-blog .page-hero-sub,
.page-hero-photo-contact .page-hero-sub,
.page-hero-photo-about .page-hero-sub { color: rgba(255, 255, 255, .85); }

/* ---------- Product center (sidebar + anchor nav) ---------- */
.product-center { padding: 48px 0 72px; }
.product-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.product-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 12px;
}
.product-sidebar .sidebar-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 6px 12px 10px;
}
.product-sidebar a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.product-sidebar a:hover { background: var(--gray-50); color: var(--black); }
.product-sidebar a.active { background: var(--blue); color: #fff; }

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

/* ---------- Product family sections (anchor targets) ---------- */
.product-family { scroll-margin-top: 88px; }
.product-family + .product-family { margin-top: 96px; }

/* ---------- Page section ---------- */
.page-section { padding: 72px 0; }
.page-section.bg-light { background: var(--gray-50); }
.page-section .section-head { margin-bottom: 48px; }

/* ---------- Configuration block (matches original site) ---------- */
.config-block { scroll-margin-top: 88px; }
.config-block + .config-block { margin-top: 80px; }
.config-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.config-header h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
}
.config-header .btn { flex-shrink: 0; }
.config-body {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
}
.config-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.config-media { display: block; }
.config-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.config-points { padding: 8px 0; }
.config-points h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
}
.config-points h3:not(:first-child) { margin-top: 28px; }
.config-points ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.config-points li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
}
.config-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .18;
}
.config-points li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.config-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.config-gallery.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.config-gallery.gallery-square { grid-template-columns: repeat(2, 1fr); }
.config-gallery.gallery-square img { aspect-ratio: 1 / 1; }
.config-gallery.gallery-4 img { aspect-ratio: 1 / 1; object-fit: contain; }

/* Material detail pages: single-image slider (gallery left, points right) */
.config-main .config-gallery { margin-top: 0; }

.config-gallery.gallery-slider { display: block; position: relative; }
.gallery-slider .slider-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery-slider .slider-viewport::-webkit-scrollbar { display: none; }
.gallery-slider .slider-track { display: flex; }
.gallery-slider .slider-track img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.gallery-slider .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, opacity .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.gallery-slider .slider-btn-prev { left: 12px; }
.gallery-slider .slider-btn-next { right: 12px; }
.gallery-slider .slider-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.gallery-slider .slider-btn:hover:not(:disabled) { background: var(--blue); color: #fff; }
.gallery-slider .slider-btn:disabled { opacity: .35; cursor: default; }
.gallery-slider .slider-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.gallery-slider .slider-thumb {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-50);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s;
}
.gallery-slider .slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: var(--gray-50);
  display: block;
}
.gallery-slider .slider-thumb:hover { border-color: var(--blue-light); }
.gallery-slider .slider-thumb.is-active { border-color: var(--blue); }
.config-actions { margin-top: 40px; text-align: center; }
.config-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
}

/* ---------- Header active state ---------- */
.nav-list > li > a.active { color: var(--blue); }
.nav-list > li > a.active::after { transform: scaleX(1); }

/* ---------- Responsive: sub-page additions ---------- */
@media (max-width: 1024px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    border: none;
    padding: 0;
    background: transparent;
  }
  .product-sidebar .sidebar-title { width: 100%; }
  .product-sidebar a {
    border: 1px solid var(--gray-200);
    background: #fff;
  }
  .config-main { grid-template-columns: 1fr; }
  .config-media { min-height: 240px; }
  .config-gallery.gallery-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .page-hero { padding: 48px 0; }
  .product-center { padding: 32px 0 56px; }
  .page-section { padding: 56px 0; }
  .config-body { padding: 24px; }
  .config-header { flex-direction: column; align-items: flex-start; }
  .config-header .btn { width: 100%; text-align: center; }
  .config-gallery.gallery-square { grid-template-columns: 1fr; }
}

/* ============================================================
   Material detail pages — areas, cases, parameter table
   ============================================================ */
.app-areas { display: flex; flex-wrap: wrap; gap: 12px; }
.app-area {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
}
.app-area::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 auto;
}

.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  border-color: var(--blue);
}
.case-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--gray-50); }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-name {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--text);
}

.param-wrap {
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
}
.param-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}
.param-table th,
.param-table td {
  padding: 13px 18px;
  border: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}
.param-table thead th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--text);
}
.param-table tbody th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--text-mid);
}
.param-table td { color: var(--text-mid); }
.param-group-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 14px;
}
.param-group-title:first-of-type { margin-top: 0; }
.intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 860px;
}

@media (max-width: 1024px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Service page — description, cases, form, process, related
   ============================================================ */
.service-section { scroll-margin-top: 88px; }
.service-section + .service-section { margin-top: 88px; }

.service-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 16px;
}
.service-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 780px;
  margin-bottom: 28px;
}

/* description banner + split */
.service-banner {
  margin: 0 0 32px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-50);
}
.service-banner img { width: 100%; height: auto; display: block; }

.service-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}
.service-side-img {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-50);
}
.service-side-img img { width: 100%; height: auto; display: block; }

.materials-note {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 26px 28px;
}
.materials-note h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.materials-note p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mid);
}

/* request form */
.service-form {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.form-field label .req { color: var(--blue); }
.form-field input,
.form-field textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  padding: 13px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: #fff;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,161,254,.15);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-submit { margin-top: 40px; }
.form-actions { text-align: center; }
.service-cta { text-align: center; margin-top: 28px; }
.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* order process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px 20px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  border-color: var(--blue);
}
.process-num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.process-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.35;
}

/* related news subheading */
.service-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin: 48px 0 20px;
}

/* service responsive */
@media (max-width: 1024px) {
  .service-split { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .service-section + .service-section { margin-top: 64px; }
  .service-form { padding: 24px; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Contact page — offices, advantages, recruitment
   ============================================================ */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.office-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s;
}
.office-card:hover { border-color: var(--blue); box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.office-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.office-card h3 { font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 16px; }
.office-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.office-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mid);
}
.office-list .ico { flex: 0 0 auto; width: 17px; height: 17px; color: var(--blue); margin-top: 2px; }
.office-list .ico svg { width: 100%; height: 100%; }
.office-list a { color: var(--text-mid); }
.office-list a:hover { color: var(--blue); }

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.advantage-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.advantage-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.advantage-card h4 { font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.advantage-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/* ============================================================
   About page — honor gallery (portrait) + timeline
   ============================================================ */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.honor-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.honor-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); border-color: var(--blue); }
.honor-card img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; display: block; cursor: zoom-in; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(15, 23, 42, .88);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .28); }

.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 156px;
  top: 6px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
  text-align: right;
  line-height: 1;
}
.timeline-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
}
.timeline-card h3 { font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 10px; }
.timeline-card p { font-size: 14px; line-height: 1.7; color: var(--text-mid); }
.timeline-card img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  margin-top: 16px;
  max-height: 340px;
  object-fit: contain;
  background: #f6f7f9;
}

@media (max-width: 1024px) {
  .office-grid { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline-item::before { display: none; }
  .timeline-year { text-align: left; }
}
@media (max-width: 640px) {
  .advantage-grid { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: 1fr; }
}


