:root {
  --primary: #0c2340;
  --primary-light: #123456;
  --accent: #e8751a;
  --accent-hover: #cf6412;
  --text: #1a1a1a;
  --muted: #5c6670;
  --border: #e5e8eb;
  --bg-soft: #f4f6f8;
  --white: #ffffff;
  --max: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-base: 16px;
  --fs-nav: 18px;
  --fs-sm: 15px;
  --fs-lg: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  position: relative;
}
.logo img { height: 52px; width: auto; }
.main-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  font-size: var(--fs-nav);
  font-weight: 600;
  color: var(--primary);
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav .btn { font-size: var(--fs-base); }

/* Language switcher */
.lang-switcher { position: relative; flex-shrink: 0; }
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.lang-toggle:hover { background: var(--bg-soft); color: var(--accent); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 148px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 10px 32px rgba(0,0,0,.12);
  padding: 6px 0;
  display: none;
  z-index: 200;
}
.lang-switcher.open .lang-menu { display: block; }
.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 18px;
  border: none;
  background: none;
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: background .2s, color .2s;
}
.lang-option:hover,
.lang-option.active {
  color: #2563eb;
  background: rgba(37,99,235,.06);
}

/* Inquiry header button */
.btn-inquiry {
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: var(--fs-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: none;
  flex-shrink: 0;
}
.btn-inquiry:hover { background: var(--primary-light); }

/* Inquiry popup modal */
.inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.inquiry-modal[hidden] { display: none; }
.inquiry-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.inquiry-modal-dialog {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  overflow: hidden;
  margin: auto 0;
}
.inquiry-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.inquiry-modal-close:hover { color: var(--text); }
.inquiry-modal-dialog h2 {
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
  padding-right: 32px;
}

.inquiry-modal-success,
.keless-inquiry-form__success {
  margin-top: 12px;
  padding: 12px;
  background: #f0fdf4;
  border-radius: 4px;
  color: #166534;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.hero-slide { display: none; }
.hero-slide.active { display: block; }
.hero .container { position: relative; z-index: 2; padding: 80px 16px; }
.hero-tag {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 20px;
}
.hero p {
  color: rgba(255,255,255,.88);
  font-size: var(--fs-lg);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
}
.hero-dots button.active { background: var(--accent); border-color: var(--accent); }

/* Feature strip */
.feature-strip {
  margin-top: -48px;
  position: relative;
  z-index: 5;
  padding-bottom: 20px;
}
.feature-card {
  background: var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-left: 4px solid var(--accent);
}
.feature-card h3 { font-size: 22px; color: var(--primary); margin-bottom: 8px; }
.feature-card p { color: var(--muted); }

/* Sections */
section { padding: 80px 0; }
.section-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 20px;
}
.section-desc { color: var(--muted); max-width: 640px; margin-bottom: 40px; font-size: var(--fs-base); line-height: 1.75; }
.bg-soft { background: var(--bg-soft); }

/* About block */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-images img {
  border-radius: 6px;
  object-fit: cover;
  height: 220px;
  width: 100%;
}
.about-images img:first-child { grid-row: span 2; height: 100%; min-height: 280px; }
.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: var(--muted);
}
.tab-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.tab-panel { display: none; color: var(--muted); }
.tab-panel.active { display: block; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.stat-item strong {
  display: block;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
a.service-card { display: block; color: inherit; text-decoration: none; }
a.service-card:hover { color: inherit; }
  border-radius: 6px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.service-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.service-card .service-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--bg-soft);
}
.service-card .service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.service-card:hover .service-thumb img { transform: scale(1.06); }
.service-card .service-body { padding: 24px 24px 28px; position: relative; }
.service-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 42px;
  font-weight: 800;
  color: rgba(255,255,255,.85);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  z-index: 2;
}
.service-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--muted); }
.service-card .service-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.service-card .service-link:hover { text-decoration: underline; }

/* Why choose */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.check-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.check-icon {
  width: 28px; height: 28px;
  background: rgba(232,117,26,.12);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.check-list h4 { font-size: 16px; color: var(--primary); margin-bottom: 4px; }
.check-list p { font-size: 14px; color: var(--muted); }
.round-image { border-radius: 8px; overflow: hidden; }
.round-image img { width: 100%; height: 420px; object-fit: cover; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-item {
  padding: 28px;
  background: var(--white);
  border-radius: 6px;
  border-top: 3px solid var(--accent);
}
.process-item .num { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.process-item h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.process-item p { font-size: 14px; color: var(--muted); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
}
.cta-banner h2 { font-size: clamp(24px, 4vw, 36px); margin-bottom: 16px; }
.cta-banner p { opacity: .88; max-width: 560px; margin: 0 auto 28px; }

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-card {
  padding: 28px;
  background: var(--bg-soft);
  border-radius: 6px;
}
.contact-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 12px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--muted); line-height: 1.8; }
.contact-card a:hover { color: var(--accent); }

/* Blog / News */
.blog-section { background: var(--bg-soft); }
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.blog-header .section-title { margin-bottom: 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  padding: 28px 24px 32px;
  border-top: 3px solid var(--primary);
  transition: box-shadow .2s, transform .2s;
  display: block;
  color: inherit;
  text-decoration: none;
}
.blog-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.blog-card.featured { border-top-color: var(--accent); }
.blog-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.blog-meta .cat {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.blog-meta .date {
  font-size: 14px;
  color: #2b6cb0;
  font-weight: 600;
}
.blog-card h3 {
  font-size: 15px;
  line-height: 1.45;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 14px;
  font-weight: 800;
}
.blog-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card .read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

/* Page header — poster banner (Textile demo style) */
.page-header {
  position: relative;
  color: var(--white);
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 72px 0 64px;
  background: var(--primary) url("../assets/banners/page-banner.webp") center center / cover no-repeat;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12, 35, 64, 0.92) 0%, rgba(12, 35, 64, 0.72) 45%, rgba(12, 35, 64, 0.45) 100%);
  z-index: 1;
}
.page-header .container {
  position: relative;
  z-index: 2;
  text-align: left;
}
.page-header h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.breadcrumb {
  font-size: var(--fs-base);
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { opacity: 1; color: var(--accent); }

/* Products */
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.sidebar {
  background: var(--bg-soft);
  padding: 28px;
  border-radius: 8px;
  position: sticky;
  top: 100px;
}
.sidebar-search {
  display: flex;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}
.sidebar-search input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  min-width: 0;
}
.sidebar-search button {
  width: 48px;
  border: none;
  background: #2563eb;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-search button:hover { background: #1d4ed8; }
.sidebar-search button svg { width: 18px; height: 18px; }
.sidebar h3 {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 1.5px;
  font-weight: 800;
}
.sidebar ul li { margin-bottom: 4px; }
.sidebar a {
  font-size: var(--fs-base);
  color: var(--muted);
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.sidebar a:hover { color: var(--primary); background: rgba(37,99,235,.06); }
.sidebar a.active {
  color: #2563eb;
  background: rgba(37,99,235,.1);
  font-weight: 600;
}

.category-intro {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.category-intro h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.category-intro h2::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #2563eb;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 10px;
}
.category-intro p {
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: 1.85;
  max-width: 900px;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.products-toolbar p { color: var(--muted); font-size: 14px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  border-color: #2563eb;
}
.product-card .thumb {
  aspect-ratio: 1;
  background: #eceff3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s;
}
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .body {
  padding: 16px 14px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--white);
  transition: background .2s;
}
.product-card:hover .body { background: rgba(37,99,235,.04); }
.product-card h3 {
  font-size: var(--fs-base);
  color: var(--primary);
  line-height: 1.5;
  font-weight: 700;
  margin: 0;
  min-height: auto;
}
.product-card.hidden { display: none; }

.products-empty {
  display: none;
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: 15px;
}
.products-empty.visible { display: block; }

/* Product detail */
.product-detail-page .products-main { min-width: 0; }
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.product-gallery { display: flex; flex-direction: column; gap: 16px; }
.gallery-main { position: relative; }
.gallery-main-frame {
  width: 100%;
  aspect-ratio: 1;
  background: #eceff3;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: crosshair;
}
.gallery-main-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .12s ease-out;
  will-change: transform;
}
.gallery-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.gallery-thumbs-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;
}
.gallery-thumbs-track {
  display: flex;
  gap: 10px;
  transition: transform .3s ease;
}
.gallery-thumb-nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, opacity .2s;
}
.gallery-thumb-nav:hover:not(:disabled) { background: #2563eb; color: var(--white); border-color: #2563eb; }
.gallery-thumb-nav:disabled { opacity: .35; cursor: not-allowed; }
.gallery-thumb-nav svg { width: 20px; height: 20px; }
.gallery-thumb {
  flex: 0 0 calc((100cqw - 20px) / 3);
  width: calc((100cqw - 20px) / 3);
  aspect-ratio: 1;
  height: auto;
  padding: 4px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s;
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: #2563eb; }
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-info h1 {
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.35;
}
.product-customize-title {
  font-size: var(--fs-base);
  color: var(--primary);
  margin-bottom: 8px;
}
.product-customize-desc {
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: 1.75;
  margin-bottom: 20px;
}
.product-actions { margin-bottom: 28px; }
.product-actions .btn { min-width: 160px; text-align: center; }
.spec-heading {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: var(--fs-base);
}
.spec-table th, .spec-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}
.spec-table th { background: var(--bg-soft); color: var(--primary); width: 38%; font-weight: 600; }
.product-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.feature-tags span {
  background: rgba(232,117,26,.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
}

/* Product detail tabs — Alibaba-style underline */
.product-detail-tabs { margin-top: 8px; }
.detail-tab-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0;
}
.detail-tab-btn {
  display: inline-block;
  position: relative;
  padding: 16px 0 12px;
  margin: 0 20px;
  border: none;
  background: transparent;
  color: #666;
  font-size: var(--fs-base);
  font-weight: 400;
  cursor: pointer;
  transition: color .2s;
}
.detail-tab-btn:hover {
  color: #1a1a1a;
}
.detail-tab-btn.active {
  color: #1a1a1a;
  font-weight: 600;
  background: transparent;
}
.detail-tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: #1a1a1a;
  z-index: 1;
}
.detail-tab-panel {
  display: none;
  padding: 32px 0 16px;
  font-size: var(--fs-base);
  line-height: 1.85;
  color: var(--text);
}
.detail-tab-panel.active { display: block; }
.detail-tab-panel h2 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 16px;
}
.detail-tab-panel h3 {
  font-size: 18px;
  color: var(--primary);
  margin: 28px 0 12px;
}
.detail-tab-panel p { margin-bottom: 16px; }
.detail-tab-panel a { color: #2563eb; }
.detail-bullet-list {
  margin: 0 0 20px 1.2em;
  padding: 0;
}
.detail-bullet-list li { margin-bottom: 10px; }

/* Product inquiry form */
.inquiry-form { max-width: 920px; }
.inquiry-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.inquiry-field { display: block; }
.inquiry-field-full { margin-bottom: 20px; }
.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: var(--fs-base);
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder { color: #9aa3b2; }
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: #2563eb;
}
.inquiry-form textarea {
  resize: vertical;
  min-height: 160px;
}
.inquiry-form .btn { min-width: 120px; }
.inquiry-form-note {
  margin-top: 16px;
  color: #059669;
  font-weight: 600;
}

/* Timeline */
.timeline { margin-top: 40px; }
.timeline-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.timeline-tabs button {
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
}
.timeline-tabs button.active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.timeline-content { display: none; padding: 32px; background: var(--bg-soft); border-radius: 8px; }
.timeline-content.active { display: block; }
.timeline-content h3 { color: var(--primary); margin-bottom: 12px; }

/* Footer */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.8);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 48px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; }
.footer ul li { margin-bottom: 10px; }
.footer a { font-size: 14px; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* About page — enriched layout */
.about-intro-block { padding: 64px 0 48px; }
.about-intro-head { margin-bottom: 36px; }
.about-intro-head .section-label { margin-bottom: 12px; }
.about-intro-head .company-name {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--primary);
  line-height: 1.3;
  font-weight: 800;
}
.about-intro-head .company-name em {
  font-style: normal;
  color: #2563eb;
}
.about-intro-text {
  max-width: 100%;
}
.about-intro-text p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: var(--fs-base);
  line-height: 1.9;
  text-align: justify;
}
.about-intro-text p strong { color: var(--primary); }

/* Digital stats wall — icon + number + label */
.about-stats-wall {
  padding: 48px 0 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 8px 0 48px;
}
.stats-wall-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-wall-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 28px;
  border-right: 1px solid var(--border);
}
.stat-wall-item:last-child { border-right: none; }
.stat-wall-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  color: #2563eb;
}
.stat-wall-icon svg {
  width: 100%;
  height: 100%;
}
.stat-wall-data strong {
  display: block;
  font-size: clamp(28px, 3vw, 36px);
  color: #2563eb;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-wall-data span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

.about-factory-hero {
  margin-bottom: 16px;
}
.about-factory-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.brand-series-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.brand-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  align-items: start;
  transition: box-shadow .2s, border-color .2s;
}
.brand-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  border-color: var(--accent);
}
.brand-card .icon {
  width: 120px;
  height: 120px;
  background: var(--bg-soft);
  border-radius: 8px;
  overflow: hidden;
}
.brand-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
}
.brand-card h3 span { color: var(--accent); }
.brand-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }

.culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.culture-item {
  padding: 32px;
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.culture-item h3 {
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 12px;
}
.culture-item p { font-size: 14px; color: var(--muted); line-height: 1.8; }

.strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.strength-card {
  padding: 36px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.strength-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.strength-card p { font-size: 14px; color: var(--muted); line-height: 1.85; margin-bottom: 14px; }
.strength-card ul { margin-top: 12px; }
.strength-card li {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.strength-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}
.cert-badge {
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* Certificate gallery */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.cert-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.cert-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,.1);
  border-color: #2563eb;
}
.cert-card a {
  display: block;
  background: #f5f7fa;
  padding: 12px;
}
.cert-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  transition: transform .3s;
}
.cert-card:hover img { transform: scale(1.02); }
.cert-card figcaption {
  padding: 12px 14px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  border-top: 1px solid var(--border);
}

@media (max-width: 992px) {
  .stats-wall-row { grid-template-columns: repeat(2, 1fr); }
  .stat-wall-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-wall-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-wall-item:nth-last-child(-n+2) { border-bottom: none; }
  .about-profile, .brand-series-grid, .culture-grid, .strength-grid { grid-template-columns: 1fr; }
  .brand-card { grid-template-columns: 1fr; }
  .brand-card .icon { width: 100%; height: 160px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cert-card img { height: 180px; }
  .about-grid, .split-section, .product-detail, .products-layout { grid-template-columns: 1fr; }
  .gallery-thumb-nav { width: 36px; height: 36px; }
  .inquiry-form-row { grid-template-columns: 1fr; gap: 16px; }
  .detail-tab-btn { padding: 14px 0 10px; margin: 0 14px; font-size: 15px; }
  .services-grid, .process-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row, .contact-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .main-nav.open { display: flex; }
  .main-nav .lang-switcher { width: 100%; }
  .main-nav .lang-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: 8px;
  }
  .main-nav .lang-switcher.open .lang-menu { display: block; }
  .main-nav .btn-inquiry { width: 100%; margin-top: 8px; }
  .hero { min-height: 480px; }
  .feature-card { grid-template-columns: 1fr; }
  .services-grid, .process-grid, .product-grid, .stats-row, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-wall-row { grid-template-columns: 1fr; }
  .stat-wall-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-wall-item:last-child { border-bottom: none; }
}
