/* ========================================================================
   [BRAND] Industrial Components — Static Site
   B2B Industrial Style
   ======================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #2c3e50;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }

:root {
  --primary: #1a3a5c;
  --primary-dark: #0e2540;
  --accent: #ff7a00;
  --accent-dark: #e06800;
  --gray-bg: #f5f7fa;
  --gray-border: #e3e8ee;
  --text: #2c3e50;
  --muted: #7c8a9a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .06), 0 2px 4px rgba(0, 0, 0, .04);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .08);
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============== placeholder warning banner ============== */
.ph-banner {
  background: linear-gradient(90deg, #fff8e1, #ffe082);
  color: #8a5400;
  padding: 10px 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 2px solid #ffd54f;
}
.ph-banner span {
  background: #ff9800;
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  margin-right: 12px;
  font-size: 12px;
  letter-spacing: .5px;
}

/* ============== buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn.ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn.ghost:hover { background: var(--primary); color: #fff; }
.btn.lg { padding: 14px 28px; font-size: 15px; }

/* ============== navigation ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
}
.logo-mark { font-size: 22px; letter-spacing: -.5px; }
.logo-tx { font-size: 13px; color: var(--muted); font-weight: 400; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

/* ============== Hero ============== */
.hero {
  background: linear-gradient(135deg, #f0f4f9, #e3ecf7);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
  padding: 5px 12px;
  background: rgba(255, 122, 0, .1);
  border-radius: 4px;
}
.hero-text h1 {
  font-size: 44px;
  line-height: 1.15;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 20px;
}
.hl { color: var(--accent); }
.hero-sub { font-size: 17px; color: var(--muted); margin-bottom: 32px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-bottom: 32px; }
.hero-trust { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; color: var(--text); font-size: 14px; }

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hero-card {
  background: #fff;
  padding: 32px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
}
.hero-card:nth-child(2) { transform: translateY(20px); }
.hero-card:nth-child(4) { transform: translateY(20px); }
.hc-num { font-size: 32px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.hc-lbl { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ============== generic section ============== */
.sec { padding: 80px 0; }
.sec-gray { background: var(--gray-bg); }
.sec-blue { background: var(--primary); color: #fff; }
.sec-blue .sec-eyebrow { color: var(--accent); }
.sec-blue p { color: rgba(255,255,255,.85); }

.sec-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.sec-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.sec-head h2 {
  font-size: 36px;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.sec-blue .sec-head h2 { color: #fff; }
.sec-head p { color: var(--muted); font-size: 16px; }

/* ============== product matrix cards ============== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all .25s;
  display: block;
  color: inherit;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.prod-img {
  height: 180px;
  background: linear-gradient(135deg, #e3ecf7, #c8d8eb);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.prod-img::before { content: '⚙'; font-size: 48px; color: var(--primary); opacity: .3; }
.prod-img-1::before { content: '🔗'; }
.prod-img-2::before { content: '🔌'; }
.prod-img-3::before { content: '⛓'; }
.prod-img-4::before { content: '🔘'; }
.prod-img-5::before { content: '🧩'; }
.prod-img-6::before { content: '🔄'; }
.prod-card h3 {
  font-size: 18px;
  color: var(--primary-dark);
  padding: 20px 22px 8px;
  font-weight: 700;
}
.prod-card p {
  padding: 0 22px 16px;
  color: var(--muted);
  font-size: 14px;
}
.prod-link {
  display: block;
  padding: 12px 22px 20px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

/* ============== why us ============== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--gray-border);
}
.why-icon { font-size: 40px; margin-bottom: 16px; }
.why-item h3 { color: var(--primary-dark); margin-bottom: 10px; font-size: 17px; }
.why-item p { color: var(--muted); font-size: 14px; }

/* ============== process ============== */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.flow-step {
  text-align: center;
  padding: 24px 20px;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
}
.flow-num {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.flow-step h3 { font-size: 22px; margin-bottom: 8px; color: #fff; }
.flow-step p { font-size: 13px; color: rgba(255,255,255,.7); }

/* ============== CTA bar ============== */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.cta-inner h2 { font-size: 30px; margin-bottom: 14px; }
.cta-inner p { margin-bottom: 26px; color: rgba(255,255,255,.85); font-size: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ============== About story ============== */
.about-story {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.story-visual { display: flex; }
.factory-svg {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, #e3ecf7, #c8d8eb);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-align: center;
}
.story-text h2 {
  font-size: 34px;
  color: var(--primary-dark);
  margin: 12px 0 20px;
  font-weight: 700;
}
.story-text p { color: var(--text); margin-bottom: 16px; font-size: 16px; }

/* ============== Stats ============== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat {
  padding: 24px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--gray-border);
}
.stat-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.stat-lbl { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ============== certifications ============== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.cert-card {
  text-align: center;
  padding: 28px 14px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--gray-border);
}
.cert-mark {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 8px;
}
.cert-name { font-size: 12px; color: var(--muted); }

/* ============== capabilities ============== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cap-item {
  padding: 28px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--gray-border);
}
.cap-icon { font-size: 36px; margin-bottom: 12px; }
.cap-item h3 { color: var(--primary-dark); margin-bottom: 8px; font-size: 17px; }
.cap-item p { color: var(--muted); font-size: 14px; }

/* ============== product detail block ============== */
.prod-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-top: 1px solid var(--gray-border);
}
.prod-block:first-of-type { border-top: none; }
.prod-block.reverse .prod-block-img { order: 2; }
.prod-block.reverse .prod-block-body { order: 1; }
.prod-block-img {
  height: 280px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e3ecf7, #c8d8eb);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-border);
}
.prod-block-body h2 {
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.prod-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,122,0,.1);
  color: var(--accent);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.prod-block-body > p { color: var(--muted); margin-bottom: 20px; }

.spec {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}
.spec th, .spec td {
  padding: 10px 14px;
  border: 1px solid var(--gray-border);
  text-align: left;
}
.spec th {
  background: var(--gray-bg);
  color: var(--primary);
  font-weight: 600;
  width: 40%;
}
.spec td { color: var(--text); }

/* ============== page header (products / about / contact)============== */
.page-head {
  background: linear-gradient(135deg, #f0f4f9, #e3ecf7);
  padding: 50px 0 40px;
}
.page-head h1 {
  font-size: 36px;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 700;
}
.page-head p { color: var(--muted); font-size: 16px; }
.breadcrumb { margin-top: 14px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--accent); }

/* ============== contact cards ============== */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cc-card {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
  transition: all .2s;
}
.cc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.cc-icon { font-size: 40px; margin-bottom: 12px; }
.cc-lbl {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.cc-val { color: var(--primary-dark); font-weight: 600; font-size: 15px; word-break: break-all; }

/* ============== forms ============== */
.quote-form {
  background: #fff;
  padding: 36px;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
  max-width: 800px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.quote-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  margin-top: 4px;
  transition: border .2s;
  display: block;
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, .15);
}
.form-block { margin-bottom: 20px; }
.checkbox-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.chk {
  font-weight: 400 !important;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
}
.chk input { width: auto !important; margin-top: 0 !important; }
.form-actions { display: flex; gap: 14px; margin-top: 24px; }
.quote-ok {
  max-width: 600px;
  margin: 30px auto 0;
  padding: 18px 24px;
  background: #e8f5e9;
  border: 1px solid #66bb6a;
  color: #2e7d32;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

/* ============== Map placeholder ============== */
.map-placeholder {
  height: 320px;
  background: linear-gradient(135deg, #e3ecf7, #c8d8eb);
  border: 1px dashed var(--primary);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}
.map-placeholder span { font-size: 48px; margin-bottom: 12px; }

/* ============== footer ============== */
.footer {
  background: #0e2540;
  color: #c9d6e5;
  padding: 60px 0 20px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer .logo-tx { color: var(--muted); }
.footer p { font-size: 14px; line-height: 1.8; }
.footer h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #c9d6e5;
}
.footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #8a9bb0;
}

/* ============== responsive ============== */
@media (max-width: 900px) {
  .nav-links { gap: 18px; }
  .nav-cta { display: none; }
  .hero-inner,
  .about-story { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { grid-template-columns: 1fr 1fr; }
  .hero-text h1 { font-size: 32px; }
  .sec-head h2 { font-size: 26px; }
  .prod-grid,
  .why-grid,
  .cap-grid,
  .flow,
  .stats,
  .cert-grid,
  .contact-channels { grid-template-columns: repeat(2, 1fr); }
  .flow-step { padding: 18px 12px; }
  .prod-block,
  .prod-block.reverse { grid-template-columns: 1fr; gap: 24px; }
  .prod-block.reverse .prod-block-img { order: 1; }
  .prod-block.reverse .prod-block-body { order: 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .checkbox-row { grid-template-columns: 1fr 1fr; }
}
/* ============== real product image adaptation ============== */
.prod-img { padding: 0; overflow: hidden; }
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.prod-card:hover .prod-img img { transform: scale(1.05); }

.prod-block-img { padding: 0; overflow: hidden; }
.prod-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
}

/* hero main image + number cards */
.hero-shot img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-lg);
  display: block;
}
.hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.hero-cards .hero-card {
  transform: none !important;
  padding: 18px 10px;
  border-radius: 10px;
}
.hero-cards .hc-num { font-size: 22px; }
.hero-cards .hc-lbl { font-size: 11px; }

/* product detail page gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.gallery img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--gray-border);
  transition: transform .25s;
  cursor: pointer;
}
.gallery img:hover { transform: scale(1.04); border-color: var(--accent); }

/* about factory image */
.factory-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.factory-shots img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  display: block;
}

@media (max-width: 900px) {
  .hero-visual { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .hero-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img { height: 90px; }
  .factory-shots { grid-template-columns: 1fr; }
}

/* restore: 560px base responsive (prevent previous override) */
@media (max-width: 560px) {
  .hero { padding: 50px 0 60px; }
  .hero-text h1 { font-size: 26px; }
  .sec { padding: 50px 0; }
  .prod-grid,
  .why-grid,
  .cap-grid,
  .flow,
  .stats,
  .cert-grid,
  .contact-channels,
  .footer-inner { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: stretch; }
}

/* ===== new: white-background product images (2026-09 new product lines) ===== */
.prod-block-img-white {
  background: #fff;
  border-color: #e8ebef;
}
.prod-block-img-white img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  display: block;
}
.gallery-white { grid-template-columns: repeat(5, 1fr); }
.gallery-white img {
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}
.new-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}
@media (max-width: 900px) {
  .gallery-white { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .gallery-white { grid-template-columns: repeat(2, 1fr); }
}

.prod-img-white { background: #fff; }
.prod-img-white::before { content: none; }
.prod-img-white img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  position: relative;
  z-index: 1;
}
.prod-card h3 .new-badge { margin-left: 6px; }

/* ===== fix: gallery/hero white-bg images use contain, show full product without cropping ===== */
.gallery img {
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}
.gallery { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .gallery img { height: auto; }
}
@media (max-width: 560px) {
  .gallery img { height: auto; }
}
.hero-shot { background: #fff; }
.hero-shot img {
  object-fit: contain;
  background: #fff;
}

/* ===== new: fullscreen carousel Hero ===== */
.hero-carousel {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,37,64,.82) 0%, rgba(14,37,64,.55) 45%, rgba(14,37,64,.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  max-width: 760px;
}
.hero-content .hero-eyebrow {
  background: rgba(255,122,0,.9);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 18px;
  display: inline-block;
}
.hero-content h1, .hero-content h2 {
  font-size: 50px;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero-content .hl { color: var(--accent); }
.hero-kw { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-kw span {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(2px);
}
.hero-content .hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  max-width: 560px;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
/* light ghost buttons on carousel */
.btn.ghost.light { color: #fff; border-color: #fff; }
.btn.ghost.light:hover { background: #fff; color: var(--primary); }
/* arrows and dots */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.34); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }
.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}
.hero-dots .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.hero-dots .dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }

/* company intro image */
.story-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-md);
  display: block;
}

/* category product cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all .25s;
  display: block;
  color: inherit;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.cat-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}
.cat-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10px;
  display: block;
}
.cat-card h3 {
  font-size: 17px;
  color: var(--primary-dark);
  padding: 18px 22px 8px;
  font-weight: 700;
}
.cat-card p {
  padding: 0 22px 14px;
  color: var(--muted);
  font-size: 14px;
}
.cat-card .prod-link {
  display: block;
  padding: 10px 22px 20px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

/* FAQ accordion */
.faq-wrap { max-width: 820px; margin: 56px auto 0; }
.faq-title { text-align: center; font-size: 24px; color: var(--primary-dark); margin-bottom: 24px; }
.faq-group { margin-top: 34px; }
.faq-group-title { font-size: 18px; color: var(--primary); margin: 0 0 4px; }
.faq-group-desc { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.faq {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
}
.faq[open] summary::after { content: '\2212'; }
.faq-body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============== navigation mega-menu hover dropdown ============== */
.nav-item.has-mega { position: relative; }
.nav-item.has-mega > a { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-item.has-mega .caret { font-size: 10px; color: var(--muted); transition: transform .2s; }
.nav-item.has-mega:hover .caret,
.nav-item.has-mega.open .caret { transform: rotate(180deg); color: var(--accent); }

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 1px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow-md);
  padding: 22px 24px;
  width: 760px;
  max-width: 92vw;
  display: none;
  z-index: 60;
}
.nav-item.has-mega:hover .mega,
.nav-item.has-mega:focus-within .mega,
.nav-item.has-mega.open .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 22px; }
.mega-col { min-width: 0; }
.mega-line {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-border);
}
.mega-line:hover { color: var(--accent); }
.mega-subs { display: flex; flex-direction: column; gap: 6px; }
.mega-subs a {
  font-size: 13px;
  color: #41505e;
  text-decoration: none;
  line-height: 1.35;
}
.mega-subs a em { color: var(--accent-dark); font-style: normal; font-weight: 600; margin-left: 4px; }
.mega-subs a:hover { color: var(--accent); }

/* responsive supplement */
@media (max-width: 900px) {
  .hero-carousel { height: 78vh; min-height: 480px; }
  .hero-content h1, .hero-content h2 { font-size: 34px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-arrow { width: 40px; height: 40px; font-size: 22px; }
  .nav-links { gap: 14px; }
  .mega { position: static; width: auto; max-width: none; box-shadow: none; border: none;
          border-top: 1px solid var(--gray-border); border-radius: 0; padding: 14px 0 4px; }
  .nav-item.has-mega:hover .mega { display: none; }      /* mobile: expand on click, cancel hover */
  .nav-item.has-mega.open .mega { display: block; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
}
@media (max-width: 560px) {
  .hero-carousel { height: 70vh; min-height: 420px; }
  .hero-content h1, .hero-content h2 { font-size: 27px; }
  .hero-kw span { font-size: 12px; padding: 4px 10px; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .mega-grid { grid-template-columns: 1fr; }
}
