/*
Theme Name: YueDa Machinery
Theme URI: http://yuedacs.gdzbya168.com
Description: Custom theme for Dongguan YueDa Machinery Equipment Co., Ltd. - Hydraulic Press & Oil Press Manufacturer Since 2014
Version: 1.0.1
Author: YueDa Machinery
Author URI: http://dgyuedajx.com
Text Domain: yueda
*/

/* === Base Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--navy); }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #0B1426; line-height: 1.6; background: var(--navy); margin: 0; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }

/* === Colors === */
:root {
  --navy: #0B1426;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --light-bg: #F8FAFC;
  --white: #ffffff;
  --text: #0B1426;
  --text-light: #475569;
  --border: rgba(15, 23, 42, 0.1);
  --blue: #3B82F6;
  --green: #10B981;
}

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 50; width: 100%; border-bottom: 1px solid rgba(15,23,42,0.1); background: #ffffff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { max-width: 1480px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .header-inner { padding: 0 24px; } }
@media (min-width: 1024px) { .header-inner { padding: 0 32px; } }
.site-logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo { height: 40px; width: auto; }
.site-logo-text { display: none; flex-direction: column; border-left: 1px solid #e5e7eb; padding-left: 10px; line-height: 1.2; }
@media (min-width: 768px) { .site-logo-text { display: flex; } }
.site-logo-name { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--navy); white-space: nowrap; line-height: 1.25; }
.site-logo-sub { font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; white-space: nowrap; line-height: 1.25; }
.main-nav { display: none; align-items: center; gap: 12px; margin-left: auto; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav a { padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--text); transition: all 0.2s; white-space: nowrap; }
.main-nav a:hover { background: var(--light-bg); color: var(--orange); }
.main-nav a.nav-active { background: var(--navy); color: white; font-weight: 500; }
.main-nav a.nav-active:hover { background: var(--navy); color: white; }
.btn-quote { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--orange); color: white; font-weight: 600; font-size: 14px; border-radius: 8px; border: none; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-quote:hover { background: var(--orange-dark); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .main-nav.active { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 16px; z-index: 50; }
  .mobile-toggle { display: block; }
  .btn-quote-nav { display: none; }
}

/* === Hero Banner === */
.hero-section { position: relative; width: 100%; overflow: hidden; background: var(--navy); }
.hero-slider { position: relative; width: 100%; height: 650px; }
/* Chinese banner: keep the 1920x650 artwork fully visible (no side cropping) */
.hero-slider-zh { height: auto; aspect-ratio: 1920 / 650; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Hero slider controls */
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s; border: none; }
.hero-dot.active { width: 32px; background: var(--orange); border-radius: 5px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,0.3); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; opacity: 0; }
.hero-section:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--orange); }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }


/* Pagination */
.prod-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; padding: 20px 0; }
.prod-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border, #e2e8f0); background: white; color: var(--navy, #0b1426); font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.prod-page-link:hover { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
.prod-page-active { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
@media (max-width: 640px) { .prod-pagination { flex-wrap: wrap; } }

@media (max-width: 768px) {
  .hero-slider { height: 300px; }
  .hero-arrow { display: none; }
}

/* === Stats Section === */
.stats-section { border-bottom: 1px solid var(--border); background: white; padding: 64px 0; }
.stats-grid { max-width: 1480px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-number { font-family: inherit; font-size: 48px; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 8px; }
.stat-sub { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* Pagination */
.prod-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; padding: 20px 0; }
.prod-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border, #e2e8f0); background: white; color: var(--navy, #0b1426); font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.prod-page-link:hover { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
.prod-page-active { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
@media (max-width: 640px) { .prod-pagination { flex-wrap: wrap; } }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-number { font-size: 36px; }
}

/* === Section Common === */
.section-inner { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
.section-label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--orange); margin-bottom: 8px; }
.section-title { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.section-subtitle { font-size: 16px; color: var(--text-light); margin-bottom: 48px; max-width: 600px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* === Products Section === */
.products-section { background: white; padding: 80px 0; }
.products-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.products-header .section-label { margin-bottom: 8px; }
.products-header .section-title { margin-bottom: 0; }
.view-all-link { font-size: 14px; font-weight: 600; color: var(--orange); transition: color 0.2s; white-space: nowrap; }
.view-all-link:hover { color: var(--orange-dark); }
.product-filters { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-btn { padding: 10px 20px; border-radius: 4px; border: none; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; background: #f3f4f6; color: #64748b; }
.filter-btn:hover { background: #e5e7eb; color: var(--navy); }
.filter-btn.active { background: var(--navy); color: white; box-shadow: 0 2px 8px rgba(11,20,38,0.3); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; background: white; display: block; }
.product-card:hover { border-color: rgba(249,115,22,0.4); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.product-card-img-wrap { position: relative; width: 100%; aspect-ratio: 1/1; background: #f8fafc; padding: 10px; overflow: hidden; }
.product-card-img-wrap picture { display: block; width: 100%; height: 100%; }
.product-card-img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s; }
.product-card:hover .product-card-img { transform: scale(1.03); }
.product-card-cat { position: absolute; top: 12px; left: 12px; border-left: 2px solid var(--navy); background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); padding: 4px 8px; font-size: 12px; font-weight: 700; color: var(--navy); border-radius: 2px; }
.product-card-body { padding: 16px; }
.product-card-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; transition: color 0.2s; line-height: 1.4; }
.product-card:hover .product-card-title { color: var(--orange); }
.product-card-link { font-size: 12px; color: #64748b; font-weight: 500; display: inline-flex; align-items: center; }

/* Pagination */
.prod-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; padding: 20px 0; }
.prod-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border, #e2e8f0); background: white; color: var(--navy, #0b1426); font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.prod-page-link:hover { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
.prod-page-active { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
@media (max-width: 640px) { .prod-pagination { flex-wrap: wrap; } }

@media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; } .products-header { flex-direction: column; align-items: flex-start; gap: 12px; } }
@media (min-width: 769px) and (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }

/* === Industries Section === */
.industries-header { display: flex; align-items: flex-end; justify-content: space-between; }
.all-industries-link { font-size: 14px; font-weight: 600; color: var(--orange); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.all-industries-link:hover { color: var(--orange-dark); }

/* Pagination */
.prod-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; padding: 20px 0; }
.prod-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border, #e2e8f0); background: white; color: var(--navy, #0b1426); font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.prod-page-link:hover { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
.prod-page-active { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
@media (max-width: 640px) { .prod-pagination { flex-wrap: wrap; } }

@media (max-width: 768px) { .industries-header { flex-direction: column; align-items: flex-start; gap: 12px; } .all-industries-link { display: none; } }
.industries-section { background: var(--light-bg); padding: 80px 0; }
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry-card { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: white; transition: all 0.3s; display: block; }
.industry-card:hover { border-color: rgba(249,115,22,0.3); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.industry-card-img-wrap { position: relative; padding-bottom: 75%; overflow: hidden; background: rgba(11,20,38,0.05); }
.industry-card-img-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.industry-card:hover .industry-card-img-wrap img { transform: scale(1.05); }
.industry-card-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(11,20,38,0.6) 0%, transparent 50%, transparent 100%); pointer-events: none; }
.industry-card-overlay h3 { position: absolute; bottom: 12px; left: 16px; right: 16px; font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.4); margin: 0; line-height: 1.3; }
.industry-card-desc { padding: 16px; }
.industry-card-desc p { font-size: 12px; color: #64748b; line-height: 1.6; margin: 0; }

/* Pagination */
.prod-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; padding: 20px 0; }
.prod-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border, #e2e8f0); background: white; color: var(--navy, #0b1426); font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.prod-page-link:hover { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
.prod-page-active { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
@media (max-width: 640px) { .prod-pagination { flex-wrap: wrap; } }

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

/* === Why YueDa Section === */
.why-section { background: white; padding: 80px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-card { padding: 32px; border-radius: 12px; border: 1px solid var(--border); transition: all 0.3s; }
.why-card:hover { border-color: rgba(249,115,22,0.3); box-shadow: 0 8px 24px rgba(249,115,22,0.08); }
.why-number { font-size: 48px; font-weight: 800; color: var(--orange); opacity: 0.3; line-height: 1; margin-bottom: 16px; }
.why-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.why-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* Pagination */
.prod-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; padding: 20px 0; }
.prod-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border, #e2e8f0); background: white; color: var(--navy, #0b1426); font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.prod-page-link:hover { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
.prod-page-active { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
@media (max-width: 640px) { .prod-pagination { flex-wrap: wrap; } }

@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

/* === About Section === */
.about-section { background: var(--navy); padding: 80px 0; }
.about-inner { max-width: 1480px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { border-radius: 16px; overflow: hidden; }
.about-img img { width: 100%; height: 400px; object-fit: cover; }
.about-text .section-label { text-align: left; color: var(--orange); }
.about-text h2 { font-size: 36px; font-weight: 800; color: white; margin-bottom: 24px; }
.about-text p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 16px; }
.about-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 600; margin-top: 16px; font-size: 16px; }
.about-link:hover { color: var(--orange-dark); }

/* Pagination */
.prod-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; padding: 20px 0; }
.prod-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border, #e2e8f0); background: white; color: var(--navy, #0b1426); font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.prod-page-link:hover { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
.prod-page-active { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
@media (max-width: 640px) { .prod-pagination { flex-wrap: wrap; } }

@media (max-width: 768px) { .about-inner { grid-template-columns: 1fr; gap: 32px; } }

/* === FAQ Section === */
.faq-section { background: var(--light-bg); padding: 80px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: white; overflow: hidden; }
.faq-question { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 16px; color: var(--navy); transition: color 0.2s; }
.faq-question:hover { color: var(--orange); }
.faq-arrow { display: flex; align-items: center; color: var(--orange); transition: transform 0.3s; }
.faq-item.active .faq-arrow { transform: rotate(90deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* === News Section === */
.news-section { background: white; padding: 80px 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { border-radius: 12px; border: 1px solid var(--border); overflow: hidden; transition: all 0.3s; display: block; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.news-card-body { padding: 24px; }
.news-card-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px; margin-bottom: 12px; }
.news-tag-blue { background: rgba(59,130,246,0.1); color: #3B82F6; }
.news-tag-green { background: rgba(16,185,129,0.1); color: #10B981; }
.news-tag-orange { background: rgba(249,115,22,0.1); color: #F97316; }
.news-card-date { font-size: 12px; color: var(--text-light); margin-bottom: 12px; }
.news-card-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.4; }
.news-card-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* Pagination */
.prod-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; padding: 20px 0; }
.prod-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border, #e2e8f0); background: white; color: var(--navy, #0b1426); font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.prod-page-link:hover { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
.prod-page-active { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
@media (max-width: 640px) { .prod-pagination { flex-wrap: wrap; } }

@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* === CTA Section === */
.cta-section { background: var(--navy) !important; padding: 80px 0; text-align: center; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.cta-section h2 { font-size: 36px; font-weight: 800; color: white; margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 16px; justify-content: center; }
.cta-btns .btn-primary { padding: 14px 32px; background: var(--orange); color: white; font-weight: 600; font-size: 16px; border-radius: 8px; border: none; cursor: pointer; transition: all 0.2s; }
.cta-btns .btn-primary:hover { background: var(--orange-dark); }
.cta-btns .btn-secondary { padding: 14px 32px; background: transparent; color: white; font-weight: 600; font-size: 16px; border-radius: 8px; border: 2px solid rgba(255,255,255,0.3); cursor: pointer; transition: all 0.2s; }
.cta-btns .btn-secondary:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.cta-sub { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 24px; }

/* === Footer === */
.site-footer { background: var(--navy) !important; border-top: 1px solid rgba(255,255,255,0.1); padding: 64px 0 32px; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.footer-inner { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-top: 16px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact-icon { color: var(--orange); font-size: 16px; }
.footer-contact-text { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-badges { display: flex; gap: 16px; }
.footer-badge { font-size: 12px; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 6px; }

/* Pagination */
.prod-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; padding: 20px 0; }
.prod-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border, #e2e8f0); background: white; color: var(--navy, #0b1426); font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.prod-page-link:hover { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
.prod-page-active { background: var(--navy, #0b1426); color: white; border-color: var(--navy, #0b1426); }
@media (max-width: 640px) { .prod-pagination { flex-wrap: wrap; } }

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* === Inner Page Styles === */
.page-content { padding: 0; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--orange); }

/* FAQ page-specific accordion styles (used in page content) */
.faq-question { cursor: pointer; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ============================================================
   PRODUCTS LISTING PAGE (matching reference site)
   ============================================================ */

/* Banner (Navy) */
.prod-banner { background: var(--navy); padding: 64px 0; display: flex; align-items: center; min-height: 280px; }
.prod-banner-inner { max-width: 1480px; margin: 0 auto; padding: 0 24px; text-align: center; width: 100%; }
.prod-banner-title { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.025em; color: white; margin-bottom: 16px; line-height: 1.2; }
.prod-banner-desc { font-size: 1.125rem; color: #cbd5e1; max-width: 600px; margin: 0 auto; line-height: 1.6; }
@media (min-width: 640px) { .prod-banner-inner { padding: 0 24px; } }
@media (min-width: 1024px) { .prod-banner-inner { padding: 0 32px; } }

/* Controls section (White bg, border-b) */
.prod-controls { background: white; border-bottom: 1px solid var(--border); }
.prod-controls-inner { max-width: 1480px; margin: 0 auto; padding: 16px 24px; }
@media (min-width: 1024px) { .prod-controls-inner { padding: 16px 32px; } }

/* Breadcrumb */
.prod-breadcrumb ol { display: flex; align-items: center; gap: 8px; list-style: none; font-size: 14px; color: #64748b; margin: 0; padding: 0; }
.prod-breadcrumb a { color: #64748b; transition: color 0.2s; }
.prod-breadcrumb a:hover { color: var(--orange); }
.prod-breadcrumb-sep { color: #cbd5e1; }
.prod-breadcrumb-current { font-weight: 500; color: var(--navy); }

/* Toolbar: Search + Filters */
.prod-toolbar { display: flex; flex-direction: column; gap: 16px; padding-bottom: 24px; margin-top: 16px; }
@media (min-width: 640px) { .prod-toolbar { flex-direction: row; align-items: center; justify-content: space-between; } }

.prod-search-wrap { position: relative; width: 100%; max-width: 400px; }
.prod-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.prod-search-input { width: 100%; border: 1px solid var(--border); background: #f8fafc; padding: 10px 16px 10px 40px; border-radius: 8px; font-size: 14px; color: #1e293b; outline: none; transition: all 0.2s; }
.prod-search-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,0.15); }
.prod-search-input::placeholder { color: #94a3b8; }

.prod-filter-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.prod-filter-btn { padding: 6px 16px; border-radius: 9999px; font-size: 14px; font-weight: 500; border: 1px solid var(--border); background: white; color: #64748b; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.prod-filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.prod-filter-active { background: var(--navy); color: white; border-color: var(--navy); }
.prod-filter-active:hover { background: var(--navy); color: white; border-color: var(--navy); }

/* Grid section (Light bg) */
.prod-grid-section { background: #f8fafc; padding: 48px 0; }
.prod-grid-inner { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .prod-grid-inner { padding: 0 32px; } }

/* Grid toolbar: Count + Sort */
.prod-grid-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.prod-count { font-size: 14px; color: #64748b; margin: 0; }
.prod-count-num { font-weight: 600; color: var(--navy); }
.prod-sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #64748b; }
.prod-sort-label { display: none; }
@media (min-width: 640px) { .prod-sort-label { display: inline; } }
.prod-sort-select { border: 1px solid var(--border); background: white; padding: 6px 12px; border-radius: 4px; font-size: 14px; color: #1e293b; outline: none; cursor: pointer; }
.prod-sort-select:focus { border-color: var(--orange); }

/* Product Grid */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Product Card */
.prod-card { overflow: hidden; border-radius: 8px; border: 1px solid var(--border); background: white; box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: all 0.3s; display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.prod-card-img-link { display: block; }
.prod-card-img-wrap { position: relative; width: 100%; aspect-ratio: 4/3; background: #f1f5f9; padding: 12px; overflow: hidden; }
.prod-card-img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform 0.5s; }
.prod-card:hover .prod-card-img { transform: scale(1.05); }
.prod-card-badge { position: absolute; left: 12px; top: 12px; border-radius: 4px; background: rgba(11,20,38,0.9); padding: 4px 10px; font-size: 12px; font-weight: 600; color: white; backdrop-filter: blur(4px); }

.prod-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.prod-card-body a { text-decoration: none; }
.prod-card-title { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.4; transition: color 0.2s; margin: 0 0 8px; }
.prod-card:hover .prod-card-title { color: var(--orange); }
.prod-card-desc { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0 0 16px; }

/* Specs row */
.prod-card-specs { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: auto; }
.prod-card-spec { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b; }
.prod-card-spec-icon { color: var(--orange); flex-shrink: 0; }
.prod-spec-val { font-weight: 600; color: var(--navy); }

/* Action buttons */
.prod-card-actions { display: flex; gap: 8px; margin-top: 16px; }
.prod-btn-quote { flex: 1; text-align: center; background: var(--orange); color: white; padding: 8px 16px; border-radius: 4px; font-size: 14px; font-weight: 600; transition: all 0.2s; text-decoration: none; }
.prod-btn-quote:hover { background: var(--orange-dark); }
.prod-btn-details { padding: 8px 16px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; font-weight: 500; color: #64748b; transition: all 0.2s; text-decoration: none; }
.prod-btn-details:hover { border-color: var(--orange); color: var(--orange); }

/* Single product page basic styles */
.sp-breadcrumb { background: white; border-bottom: 1px solid var(--border); padding: 16px 0; }
.sp-breadcrumb-inner { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
.sp-hero { background: #f8fafc; padding: 48px 0; }
.sp-hero-inner { max-width: 1480px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 768px) { .sp-hero-inner { grid-template-columns: 1fr 1fr; } }
.sp-img-wrap { background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 24px; }
.sp-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 8px; }
.sp-badge { display: inline-block; background: var(--navy); color: white; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }
.sp-title { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.3; }
.sp-desc { font-size: 15px; color: #64748b; line-height: 1.7; margin-bottom: 24px; }
.sp-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.sp-spec-item { background: white; border-radius: 8px; padding: 16px; border: 1px solid var(--border); }
.sp-spec-label { font-size: 12px; color: #64748b; text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 4px; }
.sp-spec-value { font-size: 20px; font-weight: 700; color: var(--navy); }
.sp-btns { display: flex; gap: 12px; }
.sp-btn-primary { padding: 12px 24px; background: var(--orange); color: white; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; }
.sp-btn-primary:hover { background: var(--orange-dark); }
.sp-btn-secondary { padding: 12px 24px; background: transparent; color: var(--navy); border: 2px solid var(--border); border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.2s; cursor: pointer; }
.sp-btn-secondary:hover { border-color: var(--navy); }
.sp-features { padding: 64px 0; background: white; }
.sp-features-inner { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
.sp-section-label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); margin-bottom: 8px; }
.sp-section-title { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 32px; }
.sp-features-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .sp-features-grid { grid-template-columns: repeat(3, 1fr); } }
.sp-feature-card { border-radius: 12px; border: 1px solid var(--border); padding: 24px; }
.sp-feature-icon { width: 48px; height: 48px; border-radius: 8px; background: rgba(249,115,22,0.1); display: flex; align-items: center; justify-content: center; color: var(--orange); margin-bottom: 16px; }
.sp-feature-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sp-feature-desc { font-size: 14px; color: #64748b; line-height: 1.6; }
.sp-app { padding: 64px 0; background: #f8fafc; }
.sp-app-inner { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
.sp-app-card { background: white; border-radius: 12px; border: 1px solid var(--border); border-left: 4px solid var(--orange); padding: 24px; }
.sp-app-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sp-app-desc { font-size: 14px; color: #64748b; line-height: 1.6; }
.sp-specs-table { padding: 64px 0; background: white; }
.sp-specs-table-inner { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
.sp-table { width: 100%; border-collapse: collapse; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.sp-table thead { background: var(--navy); color: white; }
.sp-table th { padding: 12px 20px; font-size: 14px; font-weight: 600; text-align: left; }
.sp-table td { padding: 12px 20px; font-size: 14px; color: var(--text); border-top: 1px solid var(--border); }
.sp-table tbody tr:nth-child(even) { background: #f8fafc; }

/* Industries page responsive */
@media (max-width: 900px) {
  .ind-grid-section .ind-grid-inner > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .ind-hero-title { font-size: 28px; }
  .ind-hero { padding: 48px 0 40px; }
  .ind-grid-section { padding: 48px 0; }
  .ind-cta-section { padding: 32px 20px; }
  .ind-cta-title { font-size: 22px; }
}
@media (max-width: 600px) {
  .ind-hero-title { font-size: 24px; }
  .ind-card-body { padding: 24px; }
  .ind-card-title { font-size: 18px; }
  .ind-card-apps-tags { flex-direction: column; }
}

/* ===== Language Switcher ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    line-height: 1.4;
    cursor: pointer;
}
.lang-link:hover {
    color: #f26522;
    background: rgba(242, 101, 34, 0.08);
}
.lang-link.active {
    background: #f26522;
    color: #ffffff;
}
.lang-link.active:hover {
    background: #d9551a;
    color: #ffffff;
}
.lang-sep {
    color: #cbd5e0;
    font-size: 12px;
    font-weight: 400;
    user-select: none;
}
@media (max-width: 1024px) {
    .header-actions {
        gap: 8px;
    }
    .lang-switcher {
        padding: 4px 8px;
    }
    .lang-link {
        padding: 4px 10px;
        font-size: 12px;
    }
}
@media (max-width: 600px) {
    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .lang-switcher {
        margin-top: 4px;
    }
}


/* ============================================
   Inner Page Banner Background Images
   Added 2026-11-03 — matching reference site style
   ============================================ */

/* Base banner overlay pattern (all inner pages) */
.prod-banner,
.cs-banner,
.cert-banner,
.contact-banner,
.blog-banner,
.ind-hero {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Gradient overlay on all banners */
.prod-banner::before,
.cs-banner::before,
.cert-banner::before,
.contact-banner::before,
.blog-banner::before,
.ind-hero::before {
  content: "";
  pointer-events: none;
  background: linear-gradient(120deg, rgba(11,20,38,0.82) 0%, rgba(11,20,38,0.55) 55%, rgba(30,58,95,0.45) 100%);
  position: absolute;
  inset: 0;
}

/* Ensure content sits above the overlay */
.prod-banner > *,
.cs-banner > *,
.cert-banner > *,
.contact-banner > *,
.blog-banner > *,
.ind-hero > * {
  z-index: 1;
  position: relative;
}

/* Individual banner background images */
.prod-banner {
  background-image: url('assets/images/banner-products.jpg');
}

.cs-banner {
  background-image: url('assets/images/banner-cases.jpg');
}

.cert-banner {
  background-image: url('assets/images/banner-certifications.jpg');
}

.contact-banner {
  background-image: url('assets/images/banner-contact.jpg');
}

.blog-banner {
  background-image: url('assets/images/banner-blog.jpg');
}

.ind-hero {
  background-image: url('assets/images/banner-industries.jpg');
}

/* Force CTA and Footer to extend to viewport edges */
.cta-section,
.site-footer {
  position: relative;
  left: 0;
  right: 0;
  box-sizing: border-box;
}

/* Ensure html and body fill viewport */
html, body {
  width: 100%;
  min-width: 100%;
  overflow-x: hidden;
}


/* Use viewport units to ensure full width */
.cta-section,
.site-footer {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  left: 0 !important;
  right: 0 !important;
}

/* ============================================
   Inner Page Banner Background Images (force apply)
   Added 2026-11-09 - inner page hero backgrounds
   ============================================ */
.prod-banner,
.cs-banner,
.cert-banner,
.contact-banner,
.blog-banner,
.ind-hero {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.prod-banner { background-image: url('assets/images/banner-products.jpg') !important; }
.cs-banner { background-image: url('assets/images/banner-cases.jpg') !important; }
.cert-banner { background-image: url('assets/images/banner-certifications.jpg') !important; }
.contact-banner { background-image: url('assets/images/banner-contact.jpg') !important; }
.blog-banner { background-image: url('assets/images/banner-blog.jpg') !important; }
.ind-hero { background-image: url('assets/images/banner-industries.jpg') !important; }

/* Content pages that use an inline .page-hero block (About / FAQ) */
.page-hero {
  position: relative;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(11,20,38,0.82) 0%, rgba(11,20,38,0.55) 55%, rgba(30,58,95,0.45) 100%);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-id-6 .page-hero { background-image: url('assets/images/banner-about.jpg') !important; }
.page-id-11 .page-hero,
.page-id-21 .page-hero { background-image: url('assets/images/banner-faq.jpg') !important; }
.page-id-16 .page-hero { background-image: url('assets/images/banner-about.jpg') !important; }

/* Page hero text readability over background image */
.page-hero p,
.page-hero h1,
.page-hero .breadcrumb,
.page-hero .breadcrumb a { color: #e2e8f0; }
.page-hero h1 { color: #ffffff; }
