/* ============================================================
   SHENGXU Technology - Global Stylesheet
   ============================================================ */

/* ---- Reset & Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Noto Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: #1A1A1A; background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
ul { list-style: none; }

/* ---- Design Tokens ---- */
:root {
  --c-primary: #0A2662;
  --c-primary-dark: #061845;
  --c-primary-light: #1A3D8C;
  --c-accent: #E85A18;
  --c-accent-dark: #C24913;
  --c-gold: #F2B705;
  --c-bg: #FFFFFF;
  --c-bg-alt: #F5F7FA;
  --c-bg-section: #F8FAFC;
  --c-text: #1A1A1A;
  --c-text-muted: #6B7280;
  --c-border: #E5E7EB;
  --c-whatsapp: #25D366;
  --c-whatsapp-dark: #1FB955;
  --shadow-sm: 0 1px 2px rgba(10,38,98,.06);
  --shadow-md: 0 4px 12px rgba(10,38,98,.08);
  --shadow-lg: 0 12px 32px rgba(10,38,98,.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --container: 1280px;
}

/* ---- Layout ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; color: var(--c-primary);
  text-align: center; margin-bottom: 12px; letter-spacing: -.02em;
}
.section-subtitle {
  text-align: center; color: var(--c-text-muted); max-width: 720px; margin: 0 auto 48px;
  font-size: 1.05rem;
}
.section-eyebrow {
  display: inline-block; color: var(--c-accent); font-weight: 700; letter-spacing: .15em;
  font-size: .85rem; text-transform: uppercase; margin-bottom: 12px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-weight: 600; font-size: .95rem; transition: all .2s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: var(--c-accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-whatsapp { background: var(--c-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--c-whatsapp-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,.35); }
.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.topbar {
  background: var(--c-primary); color: #fff;
  font-size: .85rem; padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; opacity: .9; }
.topbar a:hover { opacity: 1; }
.topbar .topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .topbar-info span { display: inline-flex; align-items: center; gap: 6px; }

.nav-main { padding: 16px 0; }
.nav-main .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo img { height: 56px; width: auto; }
.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-menu a {
  display: inline-block; padding: 10px 16px; font-weight: 500; color: var(--c-text);
  border-radius: var(--radius-sm); position: relative;
}
.nav-menu a:hover { color: var(--c-primary); }
.nav-menu a.active { color: var(--c-primary); font-weight: 600; }
.nav-menu a.active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: var(--c-accent);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; font-size: .85rem; }
.lang-switch a { padding: 6px 12px; color: var(--c-text-muted); }
.lang-switch a.active { background: var(--c-primary); color: #fff; }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--c-primary); transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 50%, #0F2D78 100%);
  color: #fff; padding: 100px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(232,90,24,.18), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(242,183,5,.12), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); padding: 6px 14px; border-radius: 999px;
  font-size: .85rem; margin-bottom: 24px; backdrop-filter: blur(6px);
}
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--c-gold); border-radius: 50%; box-shadow: 0 0 12px var(--c-gold); }
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -.025em; margin-bottom: 24px;
}
.hero h1 .highlight { color: var(--c-gold); }
.hero p.lede {
  font-size: 1.15rem; line-height: 1.6; opacity: .9; margin-bottom: 32px; max-width: 560px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); flex-wrap: wrap; }
.hero-trust .stat .num { font-size: 1.8rem; font-weight: 800; color: var(--c-gold); display: block; line-height: 1.1; }
.hero-trust .stat .label { font-size: .85rem; opacity: .8; }

.hero-visual {
  position: relative; aspect-ratio: 1/1; max-width: 480px; margin-left: auto;
}
.hero-visual .card-stack {
  position: relative; width: 100%; height: 100%;
}
.hero-card {
  position: absolute; background: #fff; color: var(--c-text);
  border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.hero-card .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--c-bg-alt); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.hero-card .title { font-weight: 700; font-size: .95rem; }
.hero-card .sub { font-size: .8rem; color: var(--c-text-muted); }
.hero-card-1 { top: 8%; left: 0; width: 260px; }
.hero-card-2 { top: 38%; right: 0; width: 240px; }
.hero-card-3 { bottom: 8%; left: 10%; width: 280px; }

/* ============================================================
   BRAND WALL
   ============================================================ */
.brand-wall { padding: 56px 0; background: #fff; border-bottom: 1px solid var(--c-border); }
.brand-wall .section-eyebrow { text-align: center; display: block; }
/* 分组品牌墙 */
.brand-groups { margin-top: 36px; display: flex; flex-direction: column; gap: 30px; }
.brand-group-title {
  display: flex; align-items: center; gap: 14px;
  font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--c-primary); margin: 0;
}
.brand-group-title::after { content: ''; flex: 1; height: 1px; background: var(--c-border); }
.brand-groups .brand-grid { margin-top: 14px; }

.brand-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  margin-top: 32px;
}
.brand-cell {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  padding: 22px 16px; min-height: 96px; transition: all .2s;
}
.brand-cell:hover { border-color: var(--c-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.brand-cell svg, .brand-cell img { max-width: 100%; max-height: 48px; object-fit: contain; }

/* ============================================================
   FEATURED CATEGORIES (4 大业务方向)
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; }
.cat-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: left; transition: all .25s; position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  font-size: 28px;
}
.cat-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--c-primary); margin-bottom: 12px; }
.cat-card p { color: var(--c-text-muted); font-size: .95rem; margin-bottom: 20px; line-height: 1.6; }
.cat-link { color: var(--c-accent); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 4px; }
.cat-link:hover { gap: 8px; }

/* ============================================================
   HOT PRODUCTS
   ============================================================ */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img {
  aspect-ratio: 4/3; background: linear-gradient(135deg, #F0F2F5, #E5E7EB);
  display: flex; align-items: center; justify-content: center; position: relative;
  font-weight: 800; color: var(--c-primary); font-size: 1.1rem;
}
.product-img .placeholder-brand { position: absolute; top: 12px; left: 12px; font-size: .75rem; color: var(--c-text-muted); background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 999px; }
.product-img .placeholder-icon { font-size: 48px; opacity: .4; }
/* 真实产品图：有图则覆盖占位，加载失败由 onerror 隐藏后回落占位 */
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 12px; }
.product-info { padding: 16px 20px; }
.product-brand { font-size: .8rem; color: var(--c-accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.product-name { font-weight: 700; color: var(--c-text); margin-bottom: 8px; font-size: 1rem; line-height: 1.4; }
.product-card .btn { width: 100%; justify-content: center; margin-top: 8px; padding: 10px; font-size: .85rem; }

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden;
  background: #ffffff;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(10, 38, 98, 0.08), 0 2px 6px rgba(10, 38, 98, 0.04);
}
.about-visual .about-logo-full {
  width: 100%; height: 100%; object-fit: contain;
}
.about-visual--video { padding: 0; }
.about-visual--video .about-video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.about-visual--video .video-sound {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); font-size: 1.1rem; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center;
}
.about-visual--video .video-sound:hover { background: #fff; }
.about-visual--video .video-tag {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  background: rgba(10,38,98,.85); color: #fff; padding: 6px 14px;
  border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .03em;
}
html[dir="rtl"] .about-visual--video .video-sound { right: auto; left: 12px; }
html[dir="rtl"] .about-visual--video .video-tag { left: auto; right: 14px; }
@media (max-width: 900px) { .about-visual--video { aspect-ratio: 4/5; } }
.about-visual::after { content: none; }
.about-text h2 { font-size: 2.25rem; font-weight: 800; color: var(--c-primary); margin-bottom: 20px; letter-spacing: -.02em; }
.about-text p { color: var(--c-text-muted); margin-bottom: 16px; line-height: 1.7; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.about-feature { display: flex; gap: 12px; align-items: flex-start; }
.about-feature .check { color: var(--c-accent); font-size: 1.3rem; flex-shrink: 0; }
.about-feature .text strong { display: block; color: var(--c-primary); margin-bottom: 2px; }
.about-feature .text small { color: var(--c-text-muted); font-size: .9rem; }

/* ============================================================
   INQUIRY CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff; padding: 64px 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(232,90,24,.25), transparent 50%);
}
.cta-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.cta-banner p { opacity: .85; font-size: 1.05rem; max-width: 560px; }
.cta-banner .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 28px; position: relative;
}
.testimonial-card::before { content: '"'; position: absolute; top: 12px; right: 24px; font-size: 4rem; color: var(--c-accent); opacity: .2; line-height: 1; font-family: Georgia, serif; }
.testimonial-card p { color: var(--c-text); font-style: italic; line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--c-border); }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial-author .name { font-weight: 700; color: var(--c-text); }
.testimonial-author .role { font-size: .85rem; color: var(--c-text-muted); }
.testimonial-stars { color: var(--c-gold); margin-bottom: 8px; }

/* ============================================================
   INDUSTRIES SERVED
   ============================================================ */
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.industry-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  padding: 20px 16px; text-align: center; transition: all .25s;
}
.industry-card:hover { transform: translateY(-3px); border-color: var(--c-primary); box-shadow: var(--shadow-md); }
.industry-icon { font-size: 32px; margin-bottom: 8px; display: block; }
.industry-name { font-size: .9rem; font-weight: 600; color: var(--c-text); }

/* ============================================================
   NEWS
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .25s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-img { position: relative; aspect-ratio: 16/9; overflow: hidden; display: block; background: linear-gradient(135deg, #E0E5EC, #C8D2DF); }
.news-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.94); color: var(--c-primary); font-weight: 700; font-size: .72rem; letter-spacing: .06em; padding: 4px 10px; border-radius: 4px; box-shadow: var(--shadow-sm); }
html[dir="rtl"] .news-tag { left: auto; right: 12px; }
.news-info { padding: 20px; }
.news-date { font-size: .8rem; color: var(--c-accent); font-weight: 600; margin-bottom: 8px; display: block; }
.news-title { font-size: 1.05rem; font-weight: 700; color: var(--c-text); margin-bottom: 8px; line-height: 1.4; }
.news-excerpt { color: var(--c-text-muted); font-size: .9rem; line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--c-primary-dark); color: #fff; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 48px; }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; letter-spacing: .02em; }
.footer-col .logo { margin-bottom: 16px; }
.footer-col .logo .footer-logo {
  display: block;
  height: 56px;
  width: auto;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-sizing: content-box;
}
.footer-col p { opacity: .75; font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { opacity: .8; font-size: .9rem; transition: all .2s; }
.footer-col ul a:hover { opacity: 1; color: var(--c-gold); padding-left: 4px; }
.footer-contact .item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .9rem; opacity: .9; }
.footer-contact .item .ico { flex-shrink: 0; opacity: .8; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: all .2s; font-size: 14px; }
.footer-social a:hover { background: var(--c-accent); transform: translateY(-2px); }

.footer-bottom { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; opacity: .8; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.whatsapp-float .wa-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--c-whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  font-size: 30px; transition: all .25s;
  position: relative;
}
.whatsapp-float .wa-btn:hover { transform: scale(1.08); }
.whatsapp-float .wa-btn::before {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid var(--c-whatsapp);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.whatsapp-float .wa-label {
  background: #fff; color: var(--c-text); padding: 8px 14px;
  border-radius: 999px; font-size: .85rem; font-weight: 600;
  box-shadow: var(--shadow-md); display: none;
}
.whatsapp-float:hover .wa-label { display: block; }

/* ============================================================
   PAGE-SPECIFIC: CONTACT (WhatsApp Hero)
   ============================================================ */
.contact-hero {
  background: linear-gradient(135deg, var(--c-whatsapp) 0%, var(--c-whatsapp-dark) 100%);
  color: #fff; padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.contact-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 50%);
}
.contact-hero .container { position: relative; z-index: 1; }
.contact-hero .wa-icon-big {
  width: 96px; height: 96px; background: rgba(255,255,255,.2); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 56px; margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.contact-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; letter-spacing: -.02em; }
.contact-hero p { opacity: .95; font-size: 1.1rem; max-width: 640px; margin: 0 auto 32px; }

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-form h3 { color: var(--c-primary); margin-bottom: 24px; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label { font-size: .9rem; font-weight: 600; color: var(--c-primary); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  background: #fff; transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--c-primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-side .info-card {
  background: var(--c-bg-alt); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px;
}
.info-card h4 { color: var(--c-primary); margin-bottom: 16px; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.contact-card-list .wa-card {
  background: var(--c-whatsapp); color: #fff; padding: 20px; border-radius: var(--radius-lg); margin-bottom: 12px;
}
.wa-card .name { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.wa-card .num { font-family: 'Courier New', monospace; font-size: 1.05rem; margin-bottom: 12px; }
.wa-card .btn { background: #fff; color: var(--c-whatsapp-dark); }
.wa-card .btn:hover { background: var(--c-bg-alt); }

/* ============================================================
   PAGE-SPECIFIC: PRODUCTS LIST
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  color: #fff; padding: 64px 0 48px; text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -.02em; }
.page-header .breadcrumb { opacity: .85; font-size: .9rem; }
.page-header .breadcrumb a { color: var(--c-gold); }

.filter-bar {
  background: #fff; padding: 20px 0; border-bottom: 1px solid var(--c-border);
  position: sticky; top: 64px; z-index: 50;
}
.filter-bar .container { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.filter-bar select { padding: 8px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-md); background: #fff; }

/* ============================================================
   PAGE-SPECIFIC: BRAND DETAIL
   ============================================================ */
.brand-hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  color: #fff; padding: 64px 0;
}
.brand-hero-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; }
.brand-hero-logo { background: #fff; padding: 32px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
.brand-hero-logo svg { max-width: 100%; max-height: 80px; }
.brand-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.brand-hero p { opacity: .9; max-width: 720px; }

/* ============================================================
   PAGE-SPECIFIC: ABOUT
   ============================================================ */
.stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; padding: 32px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.stat-item { text-align: center; padding: 16px; }
.stat-item .num { font-size: 2.5rem; font-weight: 800; color: var(--c-primary); display: block; line-height: 1.1; }
.stat-item .label { color: var(--c-text-muted); font-size: .95rem; margin-top: 8px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.value-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--c-bg-alt); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 16px; }
.value-card h3 { color: var(--c-primary); margin-bottom: 12px; font-size: 1.15rem; }
.value-card p { color: var(--c-text-muted); font-size: .95rem; line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .industry-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .brand-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .brand-hero-logo { max-width: 240px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .topbar { font-size: .8rem; }
  .topbar .container { justify-content: center; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px;
    box-shadow: var(--shadow-md); align-items: stretch;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px; border-bottom: 1px solid var(--c-border); }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
  .hero { padding: 64px 0 48px; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
  .hero-trust { gap: 20px; }
  .hero-trust .stat .num { font-size: 1.4rem; }
  .filter-bar { position: static; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { font-size: .8rem; }
  .whatsapp-float { bottom: 16px; right: 16px; }
  .whatsapp-float .wa-btn { width: 52px; height: 52px; font-size: 26px; }
}
/* ===== Business License ===== */
.license-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
  margin-top: 40px;
}
.license-img-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 8px 30px rgba(10,38,98,.12); border: 1px solid var(--c-border, #e5e8ef);
  cursor: zoom-in; background: #fff;
}
.license-img-wrap img { display: block; width: 100%; height: auto; transition: transform .3s ease; }
.license-img-wrap img.zoomed { transform: scale(1.6); transform-origin: center; cursor: zoom-out; }
.license-hint {
  position: absolute; bottom: 10px; right: 12px; font-size: 12px;
  background: rgba(10,38,98,.75); color: #fff; padding: 4px 10px; border-radius: 20px;
  pointer-events: none;
}
.license-info h3 { margin-bottom: 16px; font-size: 1.15rem; }
.license-info table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.license-info td { padding: 10px 12px; border-bottom: 1px solid var(--c-border, #e5e8ef); vertical-align: top; }
.license-info td:first-child { font-weight: 600; color: var(--c-primary); width: 34%; white-space: nowrap; }
.license-info .muted { color: var(--c-text-muted, #7a8699); font-size: .85em; }
.license-info .btn { margin-top: 20px; display: inline-block; }
@media (max-width: 860px) {
  .license-grid { grid-template-columns: 1fr; }
}

/* 未上线语言：置灰不可点 */
.lang-switch .lang-off {
  padding: 6px 12px; color: var(--c-text-muted); opacity: .38;
  cursor: not-allowed; background: repeating-linear-gradient(135deg, transparent, transparent 4px, rgba(0,0,0,.04) 4px, rgba(0,0,0,.04) 8px);
}

/* ============================================================
   RTL - Arabic Mirror (only on html[dir="rtl"])
   ============================================================ */
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .container { direction: rtl; }

/* 顶部条：内容从右往左 */
html[dir="rtl"] .top-bar .container > div { flex-direction: row-reverse; }
html[dir="rtl"] .top-bar-left,
html[dir="rtl"] .top-bar-right { flex-direction: row-reverse; }

/* 头部：logo 在 RTL 应当仍在视觉起点（视左 = 行尾） */
html[dir="rtl"] .header .container { flex-direction: row-reverse; }
html[dir="rtl"] .header-right { flex-direction: row-reverse; }

/* 语言切换器：从右往左读，AR 自身在最右 */
html[dir="rtl"] .lang-switch { flex-direction: row-reverse; }

/* Hero 区：内容右对齐，CTA 按钮靠右 */
html[dir="rtl"] .hero-content,
html[dir="rtl"] .hero-text,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-sub,
html[dir="rtl"] .section-header,
html[dir="rtl"] .feature-card,
html[dir="rtl"] .step-card,
html[dir="rtl"] .testimonial-card,
html[dir="rtl"] .news-card,
html[dir="rtl"] .product-card { text-align: right; }

html[dir="rtl"] .hero-actions,
html[dir="rtl"] .btn-group { justify-content: flex-end; }

/* 列表 */
html[dir="rtl"] ul, html[dir="rtl"] ol { padding-right: 1.2em; padding-left: 0; }

/* 数字徽章 / 价格 / 型号：保持 ltr 显示（数字方向不能被翻转） */
html[dir="rtl"] .num,
html[dir="rtl"] .badge,
html[dir="rtl"] .price,
html[dir="rtl"] .phone,
html[dir="rtl"] .stat-value,
html[dir="rtl"] .kv-key,
html[dir="rtl"] .kv-value { direction: ltr; unicode-bidi: embed; display: inline-block; }

/* 表格与表单：右对齐 */
html[dir="rtl"] .license-info table,
html[dir="rtl"] .form-table,
html[dir="rtl"] table { direction: rtl; }

/* 表单 placeholder 右对齐 */
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select { text-align: right; }

/* WhatsApp/Email 行内 icon：保留视觉位置 */
html[dir="rtl"] .cta-icon { margin-left: 8px; margin-right: 0; }

/* 阿语字体优选：使用 Cairo/Tajawal 系统栈 */
html[dir="rtl"] body,
html[dir="rtl"] .container,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[dir="rtl"] p, html[dir="rtl"] li, html[dir="rtl"] td,
html[dir="rtl"] button, html[dir="rtl"] a, html[dir="rtl"] span {
  font-family: 'Cairo', 'Tajawal', 'Segoe UI Arabic', 'Tahoma', 'Arial', sans-serif;
  letter-spacing: 0;
}

/* ============================================================
   DEAL CASES (成交案例)
   ============================================================ */
.section-cases { background: var(--c-bg-section); }
.cases-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 232px;
  gap: 20px; overflow-x: auto; padding: 4px 4px 18px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.cases-scroll::-webkit-scrollbar { height: 8px; }
.cases-scroll::-webkit-scrollbar-thumb { background: #C7D0DE; border-radius: 4px; }
.cases-scroll::-webkit-scrollbar-track { background: #EDF1F7; border-radius: 4px; }
.case-card { margin: 0; scroll-snap-align: start; }
.case-shot {
  display: block; width: 100%; height: 320px; padding: 0; margin: 0;
  border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  background: #fff; overflow: hidden; position: relative; cursor: zoom-in;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.case-shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.case-zoom {
  position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(10,38,98,.75); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
  opacity: 0; transition: opacity .2s;
}
.case-shot:hover .case-zoom { opacity: 1; }
.case-cap { display: flex; align-items: center; gap: 8px; margin-top: 10px; justify-content: center; }
.case-flag-img { width: 24px; height: 17px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(10,38,98,.15); flex-shrink: 0; }
.case-lightbox-cap .case-flag-img { width: 28px; height: 20px; vertical-align: -4px; margin-right: 4px; }
.case-country { font-weight: 700; color: var(--c-primary); font-size: .95rem; }
.cases-hint { text-align: center; color: var(--c-text-muted); font-size: .85rem; margin-top: 6px; }

/* lightbox */
.case-lightbox {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  background: rgba(6,24,69,.88); padding: 24px;
}
.case-lightbox-inner { position: relative; max-width: 520px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.case-lightbox img { max-height: calc(90vh - 56px); width: auto; border-radius: var(--radius-md); background: #fff; }
.case-lightbox-cap { color: #fff; font-weight: 700; margin-top: 14px; font-size: 1.05rem; }
.case-lightbox-close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--c-primary); font-size: 1.4rem; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
}
@media (max-width: 640px) {
  .cases-scroll { grid-auto-columns: 200px; gap: 14px; }
  .case-shot { height: 260px; }
}

/* ---- Warehouse network ---- */
.warehouse-layout { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: stretch; margin-top: 34px; }
.warehouse-video { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #0A2662; }
.warehouse-video video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.warehouse-video .video-sound {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); font-size: 1.1rem; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center;
}
.warehouse-video .video-tag {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  background: rgba(10,38,98,.85); color: #fff; padding: 6px 14px;
  border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .03em;
}
html[dir="rtl"] .warehouse-video .video-sound { right: auto; left: 12px; }
html[dir="rtl"] .warehouse-video .video-tag { left: auto; right: 14px; }
.warehouse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; align-content: start; }
.wh-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 18px 20px; }
.wh-city { display: block; font-weight: 800; color: var(--c-primary); font-size: 1.05rem; margin-bottom: 6px; }
.wh-note { display: block; font-size: .88rem; color: var(--c-text-muted); line-height: 1.6; }
@media (max-width: 900px) {
  .warehouse-layout { grid-template-columns: 1fr; }
  .warehouse-video { aspect-ratio: 4/5; }
}
