/* ═══════════════════════════════════════════════════════════
   ZUJI MACHINERY - Global Styles
   主色: #FF3F00 (橙红)
   深色背景: #222222
   浅灰背景: #F5F5F5
   文字: #333333
   ═══════════════════════════════════════════════════════════ */

/* ─── Products Dropdown ─── */
.products-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.products-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px;
  min-width: 560px;
  display: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 1001;
  column-count: 2;
  column-gap: 8px;
}
/* Hover intent: show on hover with delay */
.products-dropdown:hover .products-dropdown-menu,
.products-dropdown-menu:hover,
.products-dropdown-menu.open {
  display: block;
}
.products-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: rgba(255,255,255,0.85) !important;
  font-size: 13px !important;
  transition: all 0.2s;
  border-radius: 4px;
  break-inside: avoid;
  margin-bottom: 4px;
}
.products-dropdown-menu a:hover {
  background: rgba(255,63,0,0.2) !important;
  color: white !important;
}
.products-dropdown-menu a img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ─── Quote Popup Modal ─── */
.quote-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.quote-modal-overlay.show {
  display: flex;
}
.quote-modal {
  background: white;
  border-radius: 8px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.quote-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}
.quote-modal-header h3 {
  font-size: 20px;
  margin: 0;
}
.quote-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light-gray);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.quote-modal-close:hover {
  background: var(--brand-orange);
  color: white;
}
.quote-modal-body {
  padding: 32px;
}
.quote-form-success {
  text-align: center;
  padding: 40px 20px;
}
.quote-form-success svg {
  width: 64px;
  height: 64px;
  color: #22c55e;
  margin: 0 auto 20px;
}
.quote-form-success h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.quote-form-success p {
  color: var(--text-muted);
}

/* ─── Footer QR Codes ─── */
.footer-qr-row {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.footer-qr-item {
  text-align: center;
}
.footer-qr-item img {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-qr-item span {
  display: block;
  font-size: 11px;
  color: var(--text-dark-muted);
  margin-top: 6px;
}

/* ─── News Article Layout ─── */
.article-layout {
  display: flex;
  gap: 40px;
}
.article-main {
  flex: 1;
  min-width: 0;
}
.article-sidebar {
  width: 280px;
  flex-shrink: 0;
}
.article-sidebar-inner {
  position: sticky;
  top: 100px;
}
.article-nav {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
}
.article-nav h4 {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-body);
  border-radius: 4px;
  margin-bottom: 4px;
  transition: all 0.2s;
}
.article-nav a:hover,
.article-nav a.active {
  background: rgba(255,63,0,0.08);
  color: var(--brand-orange);
}

/* ─── No Product State ─── */
.no-products {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.no-products svg {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  margin: 0 auto 20px;
}
.no-products h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.no-products p {
  color: var(--text-muted);
}

/* ─── Category Sidebar Active ─── */
.cat-item.active .cat-header a {
  background: var(--brand-orange);
  color: white;
}
.cat-item.active .cat-products {
  display: block !important;
}
.cat-item.active .cat-toggle {
  color: var(--brand-orange);
}

:root {
  --brand-orange: #FF3F00;
  --brand-orange-hover: #E83800;
  --brand-orange-light: #FF6433;
  --bg-white: #FFFFFF;
  --bg-off-white: #F7F7F7;
  --bg-light-gray: #EEEEEE;
  --border: #E2E2E2;
  --text-muted: #999999;
  --text-body: #333333;
  --bg-dark: #222222;
  --text-dark-muted: #666666;
  --nav-height: 80px;
  --max-width: 1400px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: var(--bg-off-white);
  line-height: 1.7;
}

/* ─── Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── Container ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════
   TOP INFO BAR (dark)
   ═══════════════════════════════════════════════ */
.top-bar {
  background: #1a1a1a;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
.top-bar a:hover { color: var(--brand-orange); }
.top-bar .left, .top-bar .right { display: flex; gap: 20px; align-items: center; }

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
.navbar {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo img { height: 80px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-orange); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-orange);
}

.nav-right { display: flex; align-items: center; gap: 16px; }

/* CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-orange);
  color: white;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--brand-orange-hover); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
  padding: 10px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-outline:hover { background: var(--brand-orange); color: white; }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid white;
  color: white;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-outline-white:hover { background: white; color: var(--text-body); }

.btn-small { padding: 8px 20px; font-size: 13px; }

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left { color: white; }
.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-subtitle .line {
  width: 40px;
  height: 2px;
  background: var(--brand-orange);
}
.hero-left h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-left h1 span { color: var(--brand-orange); display: block; }
.hero-left p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stat { text-align: center; }
.hero-stat svg { color: var(--brand-orange); margin-bottom: 6px; }
.hero-stat .num { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 24px; }
.hero-stat .label { font-size: 12px; color: rgba(255,255,255,0.6); }

/* Hero right - product showcase */
.hero-right { display: none; }
@media (min-width: 1024px) { .hero-right { display: block; } }

.hero-product-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 24px;
}
.hero-product-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  margin-bottom: 16px;
}
.hero-product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-product-info p { color: white; font-weight: 500; }
.hero-product-info span { color: rgba(255,255,255,0.6); font-size: 13px; }
.hero-product-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.hero-product-link:hover { background: var(--brand-orange-hover); }

.hero-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.hero-thumbs img {
  width: 60px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s;
}
.hero-thumbs img.active, .hero-thumbs img:hover {
  border-color: var(--brand-orange);
  opacity: 1;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-tags a {
  padding: 4px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s;
}
.hero-tags a:hover { background: var(--brand-orange); border-color: var(--brand-orange); color: white; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════ */
.section { padding: 80px 0; }
.section-gray { background: var(--bg-light-gray); }
.section-dark { background: var(--bg-dark); color: white; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .overline {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--text-body);
}
.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 12px auto 0;
}

/* ─── Cards ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px; }
.card-body h3 {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 8px;
  transition: color 0.3s;
}
.card:hover .card-body h3 { color: var(--brand-orange); }
.card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.card-footer span { font-size: 12px; color: var(--brand-orange); font-weight: 600; }
.card-footer .arrow { font-size: 14px; color: var(--text-muted); transition: color 0.3s, transform 0.3s; }
.card:hover .card-footer .arrow { color: var(--brand-orange); transform: translateX(4px); }

/* ─── Product card (white bg image) ─── */
.product-card .card-img {
  aspect-ratio: 1/1;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-card .card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ─── Products Showcase (Premium Design) ─── */
.products-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-showcase-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.product-showcase-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.product-showcase-img {
  position: relative;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
  overflow: hidden;
}
.product-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-showcase-item:hover .product-showcase-img img {
  transform: scale(1.08);
}
.product-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,63,0,0.9) 0%, rgba(255,63,0,0) 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-showcase-item:hover .product-showcase-overlay {
  opacity: 1;
}
.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  color: var(--brand-orange);
  font-weight: 600;
  font-size: 13px;
  border-radius: 25px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}
.product-showcase-item:hover .explore-btn {
  transform: translateY(0);
}
.explore-btn svg {
  transition: transform 0.3s ease;
}
.explore-btn:hover svg {
  transform: translateX(3px);
}
.product-showcase-body {
  padding: 20px;
  text-align: center;
  background: white;
}
.product-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(255,63,0,0.1) 0%, rgba(255,63,0,0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
}
.product-showcase-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 6px;
  transition: color 0.3s;
}
.product-showcase-item:hover .product-showcase-body h3 {
  color: var(--brand-orange);
}
.product-showcase-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}
.learn-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-orange);
}
.learn-more span {
  display: inline-block;
  transition: transform 0.3s;
}
.product-showcase-item:hover .learn-more span {
  transform: translateX(4px);
}

@media (max-width: 1200px) {
  .products-showcase { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .products-showcase { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .products-showcase { grid-template-columns: 1fr; }
}

/* ─── Feature cards ─── */
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255,63,0,0.08);
}
.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--brand-orange);
  margin: 0 auto 20px;
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ─── Stats ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--brand-orange);
}
.stat-label { font-size: 14px; color: var(--text-dark-muted); margin-top: 4px; }

/* ─── Testimonials ─── */
.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
}
.stars { color: var(--brand-orange); font-size: 18px; margin-bottom: 20px; }
.testimonial-text {
  font-size: 16px;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}
.testimonial-author { font-weight: 700; }
.testimonial-country { font-size: 14px; color: var(--text-muted); }

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.testimonial-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.testimonial-nav button:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}
.testimonial-dots button.active { background: var(--brand-orange); width: 24px; border-radius: 4px; }

/* ─── CTA Banner ─── */
.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: white;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 16px; }
.cta-banner p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── News cards ─── */
.news-card .card-img { aspect-ratio: 16/9; }
.news-card .date {
  font-size: 13px;
  color: var(--brand-orange);
  font-weight: 500;
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════ */
/* .about-grid defined in ABOUT PAGE COMPONENTS section below */
.about-img { position: relative; }
.about-img img { border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--brand-orange);
  color: white;
  padding: 20px 28px;
  border-radius: 4px;
}
.about-badge .num { font-family: 'Montserrat'; font-size: 36px; font-weight: 700; }
.about-badge .txt { font-size: 14px; opacity: 0.8; }

.about-text h2 { font-size: 32px; margin-bottom: 24px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.about-text .btn-group { display: flex; gap: 16px; margin-top: 24px; }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mission-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
}
.mission-card h3 { font-size: 24px; margin-bottom: 16px; }
.mission-card p { color: var(--text-muted); line-height: 1.7; }

/* Factory gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.3); }

/* ═══════════════════════════════════════════════
   PRODUCTS PAGE
   ═══════════════════════════════════════════════ */
.page-banner {
  position: relative;
  height: 50vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}
.page-banner-content h1 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 8px; }
.page-banner-content p { font-size: 16px; color: rgba(255,255,255,0.8); }

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.breadcrumb a:hover { color: var(--brand-orange); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* Sidebar */
.page-layout {
  display: flex;
  gap: 40px;
}
.sidebar {
  width: 280px;
  flex-shrink: 0;
}
.sidebar-inner {
  position: sticky;
  top: 100px;
}
.sidebar-box {
  background: var(--bg-light-gray);
  border-radius: 4px;
  padding: 20px;
}
.sidebar-box h3 {
  font-size: 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Category accordion */
.cat-item { border-bottom: 1px solid var(--border); }
.cat-item:last-child { border-bottom: none; }
.cat-header {
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.cat-header a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.cat-header a:hover { background: white; }
.cat-header a.active {
  background: var(--brand-orange);
  color: white;
}
.cat-header a img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.cat-toggle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s;
}
.cat-toggle:hover { color: var(--brand-orange); }
.cat-products {
  padding-left: 44px;
  padding-bottom: 8px;
  display: none;
}
.cat-products.show { display: block; }
.cat-products a {
  display: block;
  padding: 4px 8px;
  font-size: 13px;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all 0.2s;
}
.cat-products a:hover, .cat-products a.active {
  color: var(--brand-orange);
  background: rgba(255,63,0,0.05);
}

/* Search */
.search-box {
  position: relative;
  margin-bottom: 16px;
}
.search-box input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}
.search-box input:focus { border-color: var(--brand-orange); }
.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

/* ═══════════════════════════════════════════════
   PRODUCT DETAIL
   ═══════════════════════════════════════════════ */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.gallery-main {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 30px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gallery-thumbs button {
  width: 72px;
  height: 72px;
  border: 2px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  background: white;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--brand-orange); }

.detail-info h1 { font-size: 28px; margin-bottom: 8px; }
.detail-sku { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.detail-desc { color: var(--text-body); line-height: 1.8; margin-bottom: 24px; }

.quick-specs {
  background: var(--bg-light-gray);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 24px;
}
.quick-specs h4 { font-size: 14px; margin-bottom: 12px; }
.quick-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quick-specs-grid div { font-size: 14px; }
.quick-specs-grid span:first-child { color: var(--text-muted); }
.quick-specs-grid span:last-child { font-weight: 500; }

.detail-buttons { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.detail-buttons .btn-primary, .detail-buttons .btn-outline { width: 100%; }

.share-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.share-row span { font-size: 14px; color: var(--text-muted); }
.share-row button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.share-row button:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

/* Tabs */
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}
.tabs-nav button {
  padding: 16px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}
.tabs-nav button.active {
  color: var(--brand-orange);
  border-bottom-color: var(--brand-orange);
}

.tab-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
}
.tab-panel h3 { font-size: 20px; margin-bottom: 20px; }
.tab-panel p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.tab-panel ul { padding-left: 20px; color: var(--text-muted); line-height: 2; }

.specs-table { width: 100%; font-size: 14px; border-collapse: collapse; }
.specs-table tr:nth-child(odd) { background: var(--bg-off-white); }
.specs-table td { padding: 12px 16px; }
.specs-table td:first-child { font-weight: 600; color: var(--text-body); width: 35%; }
.specs-table td:last-child { color: var(--text-muted); }

.video-wrapper {
  aspect-ratio: 16/9;
  background: var(--bg-dark);
  border-radius: 4px;
  overflow: hidden;
}
.video-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ═══════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group label .required { color: var(--brand-orange); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
  background: white;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand-orange); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Country select */
.country-select {
  position: relative;
}
.country-select-trigger {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}
.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 100;
  max-height: 320px;
  overflow: hidden;
  display: none;
}
.country-dropdown.show { display: block; }
.country-search {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}
.country-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
}
.country-list {
  max-height: 260px;
  overflow-y: auto;
}
.country-list button {
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: none;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-body);
}
.country-list button:hover, .country-list button.selected {
  background: var(--bg-off-white);
  color: var(--brand-orange);
}

/* Checkbox grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.checkbox-item:hover { border-color: var(--brand-orange); }
.checkbox-item input { width: auto; }
.checkbox-item.checked {
  border-color: var(--brand-orange);
  background: rgba(255,63,0,0.05);
  color: var(--brand-orange);
}

/* Form success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success svg {
  width: 64px;
  height: 64px;
  color: #22c55e;
  margin: 0 auto 20px;
}
.form-success h3 { font-size: 24px; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
}
.contact-form h2 { font-size: 24px; margin-bottom: 8px; }
.contact-form > p { color: var(--text-muted); margin-bottom: 28px; }

.contact-info-card {
  background: var(--bg-light-gray);
  border-radius: 4px;
  padding: 32px;
}
.contact-info-card h3 { font-size: 20px; margin-bottom: 24px; }
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.info-row svg {
  width: 20px;
  height: 20px;
  color: var(--brand-orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.info-row div { font-size: 14px; }
.info-row div span { color: var(--text-muted); display: block; margin-bottom: 2px; }
.info-row div a, .info-row div p { color: var(--text-body); font-weight: 500; }
.info-row div a:hover { color: var(--brand-orange); }

.map-wrapper {
  margin-top: 24px;
  border-radius: 4px;
  overflow: hidden;
  height: 300px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; filter: grayscale(20%); }

/* ═══════════════════════════════════════════════
   DOWNLOAD PAGE
   ═══════════════════════════════════════════════ */
.download-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
}
.download-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
}
.download-form h2 { font-size: 24px; margin-bottom: 8px; }
.download-form > p { color: var(--text-muted); margin-bottom: 28px; }

.download-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.download-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s;
}
.download-links a.primary {
  background: var(--brand-orange);
  color: white;
}
.download-links a.primary:hover { background: var(--brand-orange-hover); }
.download-links a.secondary {
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
}
.download-links a.secondary:hover { background: var(--brand-orange); color: white; }

.download-links.hidden { display: none; }

/* ═══════════════════════════════════════════════
   NEWS / BLOG
   ═══════════════════════════════════════════════ */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.news-filter-btn {
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.news-filter-btn.active, .news-filter-btn:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
}

/* Article page */
.article-page { max-width: 900px; margin: 0 auto; }
.article-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-orange);
  font-size: 14px;
  margin-bottom: 24px;
}
.article-page .back-link:hover { text-decoration: underline; }

.article-header {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
}
.article-tag {
  background: rgba(255,63,0,0.1);
  color: var(--brand-orange);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.article-date { font-size: 14px; color: var(--text-muted); }

.article-body h1 { font-size: 32px; margin-bottom: 20px; }
.article-body .lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}
.article-body p {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════
   TERMS / PRIVACY
   ═══════════════════════════════════════════════ */
.legal-page { max-width: 900px; margin: 0 auto; }
.legal-content {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
}
.legal-content .last-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.legal-content h2 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 16px;
}
.legal-content h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
}
.legal-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-content ul {
  padding-left: 24px;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 16px;
}
.legal-content li { margin-bottom: 4px; }
.legal-content a { color: var(--brand-orange); }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--text-body); }
.legal-info-box {
  background: var(--bg-light-gray);
  border-radius: 4px;
  padding: 24px;
  margin-top: 16px;
}
.legal-info-box p { margin-bottom: 4px; font-size: 14px; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  color: white;
  padding-top: 80px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo img { height: 64px; width: auto; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 0;
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: white;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: var(--text-dark-muted);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-col a:hover { color: white; }
.footer-col .social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-col .social-link .icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 12px; color: var(--text-dark-muted); }
/* ═══════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════ */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .page-layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .contact-layout { grid-template-columns: 1fr; }
  .download-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .mission-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--bg-dark); flex-direction: column; padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .top-bar { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-stats { gap: 20px; }
  .hero-buttons { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .about-badge { left: 10px; bottom: -10px; padding: 12px 16px; }
  .about-badge .num { font-size: 24px; }
  .legal-content { padding: 24px; }
  .tabs-nav { overflow-x: auto; }

  /* ── Products Dropdown on Mobile ── */
  .products-dropdown {
    width: 100%;
  }
  .products-dropdown > a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .products-dropdown:hover .products-dropdown-menu {
    display: none !important;
  }
  .products-dropdown-menu {
    position: static !important;
    transform: none !important;
    min-width: 100% !important;
    margin-top: 8px;
    column-count: 1;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    background: rgba(255,255,255,0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
  }
  .products-dropdown-menu.open {
    max-height: 600px;
    padding: 8px 0;
    display: block !important;
  }
  .products-dropdown-menu a {
    padding: 10px 16px;
    font-size: 14px !important;
  }

  /* ── Core Advantages (4-col grid) on Mobile ── */
  .card-grid[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .card-grid[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  .feature-card {
    padding: 24px 20px;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
  }
  .feature-card h3 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero-left h1 { font-size: 28px; }
  .gallery-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════
   ABOUT PAGE COMPONENTS
   ═══════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { font-size: 28px; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-image { position: relative; }
.about-image img { border-radius: 4px; width: 100%; object-fit: cover; }
.floating-badge {
  position: absolute;
  left: -20px;
  bottom: 30px;
  background: var(--brand-orange);
  color: white;
  padding: 20px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  box-shadow: 0 8px 24px rgba(255,63,0,0.3);
}
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about-stat strong {
  display: block;
  font-size: 28px;
  color: var(--brand-orange);
  font-weight: 700;
}
.about-stat span {
  font-size: 13px;
  color: var(--text-muted);
}
.two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.two-cards .card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.two-cards .card h3 { font-size: 20px; margin-bottom: 12px; }
.two-cards .card p { color: var(--text-muted); line-height: 1.8; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.factory-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 16px;
}
.gallery-item { border-radius: 4px; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.large { grid-row: span 2; }
.cta-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.cta-section h2 { font-size: 32px; margin-bottom: 16px; }
.cta-section p { font-size: 16px; opacity: 0.9; max-width: 600px; margin: 0 auto 30px; }

/* ═══════════════════════════════════════════════
   CONTACT PAGE COMPONENTS
   ═══════════════════════════════════════════════ */
.contact-info h2 { font-size: 28px; margin-bottom: 12px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-method h4 { font-size: 16px; margin-bottom: 4px; }
.contact-method p { color: var(--text-muted); font-size: 14px; }
.contact-method a { color: var(--brand-orange); }
.contact-form-wrapper {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
}
.contact-form-wrapper h3 { font-size: 22px; margin-bottom: 24px; }

/* ═══════════════════════════════════════════════
   DOWNLOAD PAGE COMPONENTS
   ═══════════════════════════════════════════════ */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
}
.download-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.download-info { flex: 1; }
.download-info h4 { font-size: 16px; margin-bottom: 4px; }
.download-info p { font-size: 13px; color: var(--text-muted); }
.download-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.download-badge {
  background: var(--brand-orange);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.download-size {
  font-size: 12px;
  color: var(--text-muted);
}
.unlock-form-wrapper {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}
.unlock-form-wrapper h3 { font-size: 22px; margin-bottom: 8px; }
.unlock-form-wrapper > p { color: var(--text-muted); margin-bottom: 24px; }
.download-direct-link {
  display: block;
  padding: 16px 20px;
  background: var(--bg-light-gray);
  border-radius: 4px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-body);
  transition: all 0.3s;
}
.download-direct-link:hover {
  background: var(--brand-orange);
  color: white;
}

/* ═══════════════════════════════════════════════
   NEWS / BLOG COMPONENTS
   ═══════════════════════════════════════════════ */
.news-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: block;
}
.news-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.news-image { position: relative; }
.news-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-orange);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.news-body { padding: 20px; }
.news-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.news-body h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-body);
}
.news-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.news-readmore {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-orange);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE OVERRIDES (追加)
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .floating-badge { left: 10px; bottom: 10px; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
  .two-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 180px); }
  .gallery-item.large { grid-row: span 1; grid-column: span 2; }
  .contact-layout { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .about-stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .factory-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(5, 200px); }
  .gallery-item.large { grid-column: span 1; }
  .cta-section h2 { font-size: 24px; }
  .download-item { flex-direction: column; align-items: flex-start; }
  .download-meta { align-items: flex-start; }
  .news-grid { grid-template-columns: 1fr; }
  .news-tabs { gap: 6px; }
  .tab-btn { padding: 8px 14px; font-size: 13px; }
}

/* ─── Gallery Arrow Button ─── */
.gallery-arrow-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(255, 63, 0, 0.3);
}
.gallery-arrow-btn:hover {
  background: var(--brand-orange-hover);
  transform: translateX(2px);
}
.gallery-main { position: relative; }

/* ─── Hero Product Link (text button style) ─── */
.hero-product-link {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--brand-orange);
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.hero-product-link:hover { background: var(--brand-orange-hover); }
.hero-product-link svg { transition: transform 0.3s; }
.hero-product-link:hover svg { transform: translateX(3px); }

/* ─── Floating Action Buttons ─── */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.fab-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: white;
}
.fab-back-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 63, 0, 0.3);
  z-index: 999;
  cursor: pointer;
  border: none;
  transition: background 0.3s, transform 0.3s;
  font-size: 20px;
}
.fab-back-top:hover {
  background: var(--brand-orange-hover);
  transform: scale(1.1);
}

/* ─── Hero Info flex fix ─── */
.hero-product-info { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hero-product-info p { color: white; font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.hero-product-info > div { width: 100%; }
