/* =========================================================
   Suizhou Granitetruck Special Automobile — Global Stylesheet
   ========================================================= */
:root {
  --red: #e60012;
  --red-dark: #c30010;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #242424;
  --gray: #666;
  --gray-light: #f5f6f8;
  --border: #e8e8e8;
  --blue: #3f5aa9;
  --shadow: 0 10px 30px rgba(0, 0, 0, .1);
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: all .3s; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--dark); }
.container { width: 90%; max-width: 1280px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 34px; border-radius: 50px;
  font-size: 14px; font-weight: 600; letter-spacing: .5px; cursor: pointer;
  border: 2px solid transparent; transition: all .3s; text-align: center;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--red); }
.btn-sm { padding: 8px 22px; font-size: 13px; }

/* ---------- Section headers ---------- */
.section { padding: 80px 0; }
.section-gray { background: var(--gray-light); }
.sec-head { text-align: center; margin-bottom: 50px; }
.sec-head .tag {
  display: inline-block; color: var(--red); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px;
}
.sec-head .tag::before, .sec-head .tag::after {
  content: ""; display: inline-block; width: 26px; height: 2px;
  background: var(--red); vertical-align: middle; margin: 0 10px;
}
.sec-head h2 { font-size: 32px; text-transform: uppercase; }
.sec-head p { color: var(--gray); max-width: 640px; margin: 10px auto 0; }

/* =========================================================
   Topbar
   ========================================================= */
.topbar { background: var(--dark); color: #ccc; font-size: 13px; position: relative; z-index: 60; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar a { color: #ccc; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-right .social a {
  display: inline-flex; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.12); align-items: center; justify-content: center;
}
.topbar-right .social a:hover { background: var(--red); }
.topbar-right .social svg { width: 13px; height: 13px; fill: #fff; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  background: var(--dark); position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 52px; height: 52px; flex: none; }
.logo-text { line-height: 1.15; }
.logo-text .en { color: #fff; font-size: 21px; font-weight: 800; letter-spacing: 1px; }
.logo-text .en em { color: var(--red); font-style: normal; }
.logo-text .sub { color: #999; font-size: 10px; letter-spacing: 3.4px; text-transform: uppercase; white-space: nowrap; }
.logo-text .en { white-space: nowrap; }

/* Nav */
.main-nav > ul { display: flex; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  height: 86px; padding: 0 22px; color: #fff; font-size: 15px; font-weight: 600;
  text-transform: uppercase; position: relative; white-space: nowrap;
}
.main-nav > ul > li > a .cn { display: none; }
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--red); transition: width .3s;
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.active > a::after { width: 60%; }
.main-nav > ul > li:hover > a, .main-nav > ul > li.active > a { color: var(--red); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(12px);
  background: #fff; min-width: 240px; box-shadow: var(--shadow); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transition: all .3s; padding: 10px 0; z-index: 40;
}
.main-nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li a {
  display: block; padding: 9px 24px; color: #444; font-size: 14px; font-weight: 500;
  border-left: 3px solid transparent; white-space: nowrap;
}
.dropdown li a:hover { color: var(--red); border-left-color: var(--red); background: var(--gray-light); }
.dropdown.wide { min-width: 560px; padding: 20px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
.dropdown.wide li a { padding: 8px 10px; font-size: 13.5px; }
.dropdown .dd-group { grid-column: 1 / -1; font-weight: 700; color: var(--dark); font-size: 13px; padding: 8px 10px 2px; text-transform: uppercase; }

/* Hamburger */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; position: relative; }
.nav-close { display: none; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px auto; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero slider
   ========================================================= */
.hero { position: relative; height: 640px; overflow: hidden; background: var(--dark); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.15) 45%, rgba(0,0,0,.55)); }
.hero-content { position: relative; z-index: 2; color: #fff; padding: 0 20px; max-width: 900px; }
.hero-content h2 { color: #fff; font-size: 44px; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 4px 24px rgba(0,0,0,.5); animation: fadeUp .9s ease both; }
.hero-content p { font-size: 17px; margin: 14px 0 30px; color: #eee; animation: fadeUp .9s .15s ease both; }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hero-dots button { width: 30px; height: 4px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; border-radius: 2px; transition: all .3s; }
.hero-dots button.active { background: var(--red); width: 44px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.35); color: #fff; font-size: 20px; transition: all .3s;
}
.hero-arrow:hover { background: var(--red); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  height: 260px; background-size: cover; background-position: center; position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(10,10,10,.55); }
.page-banner .inner { position: relative; z-index: 2; color: #fff; }
.page-banner h1 { color: #fff; font-size: 34px; text-transform: uppercase; }
.breadcrumb { margin-top: 10px; font-size: 13px; color: #ddd; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 8px; color: #888; }

/* =========================================================
   Category cards
   ========================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  position: relative; height: 240px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.72)); transition: background .4s; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card .info { position: relative; z-index: 2; padding: 22px 24px; color: #fff; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.cat-card h3 { color: #fff; font-size: 19px; text-transform: uppercase; }
.cat-card .count { font-size: 12.5px; color: rgba(255,255,255,.85); }
.cat-card .arrow {
  width: 40px; height: 40px; border-radius: 50%; background: var(--red); flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px;
  transition: transform .3s;
}
.cat-card:hover .arrow { transform: rotate(-45deg); }

/* =========================================================
   Product cards
   ========================================================= */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .35s; display: flex; flex-direction: column;
}
.prod-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-6px); }
.prod-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--gray-light); }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prod-card:hover .thumb img { transform: scale(1.07); }
.prod-card .badge {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 600; padding: 3px 12px; border-radius: 20px; letter-spacing: .5px;
}
.prod-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.prod-card h3 { font-size: 16px; margin-bottom: 6px; }
.prod-card h3 a:hover { color: var(--red); }
.prod-card .brief { font-size: 13px; color: var(--gray); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-card .actions { display: flex; gap: 10px; margin-top: 16px; }
.prod-card .actions .btn { flex: 1; padding: 9px 10px; border-radius: var(--radius); font-size: 13px; }

/* =========================================================
   About (home) + stats
   ========================================================= */
.about-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-imgs { position: relative; }
.about-imgs .img-main { border-radius: var(--radius); width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.about-imgs .img-sub {
  position: absolute; right: -8%; bottom: -40px; width: 46%; aspect-ratio: 4/3;
  object-fit: cover; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow);
}
.about-imgs .exp {
  position: absolute; left: -20px; top: -24px; background: var(--red); color: #fff;
  padding: 18px 22px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow);
}
.about-imgs .exp strong { display: block; font-size: 30px; line-height: 1.1; }
.about-imgs .exp span { font-size: 12px; letter-spacing: 1px; }
.about-text h2 { font-size: 30px; margin-bottom: 18px; text-transform: uppercase; }
.about-text h2 em { color: var(--red); font-style: normal; }
.about-text p { color: var(--gray); margin-bottom: 14px; text-align: justify; }
.about-list { margin: 10px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.about-list li { font-size: 14px; display: flex; gap: 8px; align-items: center; }
.about-list li::before { content: "✓"; color: var(--red); font-weight: 800; }

.stats-band { background: var(--dark) url("") center/cover; position: relative; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 56px 0; }
.stat { text-align: center; color: #fff; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: rgba(255,255,255,.15); }
.stat .num { font-size: 42px; font-weight: 800; color: var(--red); line-height: 1.1; }
.stat .num small { font-size: 18px; font-weight: 700; }
.stat .label { font-size: 13px; color: #bbb; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* =========================================================
   Solutions
   ========================================================= */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sol-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: all .35s; display: flex; flex-direction: column;
}
.sol-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.sol-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.sol-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sol-card:hover .thumb img { transform: scale(1.06); }
.sol-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.sol-card h3 { font-size: 17px; margin-bottom: 8px; text-transform: uppercase; }
.sol-card p { font-size: 13.5px; color: var(--gray); flex: 1; }
.sol-card .more { margin-top: 14px; color: var(--red); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.sol-card:hover .more { gap: 12px; }

/* =========================================================
   News
   ========================================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .35s; display: flex; flex-direction: column; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.news-card .thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .date {
  position: absolute; left: 0; bottom: 0; background: var(--red); color: #fff;
  text-align: center; padding: 8px 14px; line-height: 1.25;
}
.news-card .date strong { display: block; font-size: 20px; }
.news-card .date span { font-size: 11px; }
.news-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card .meta { font-size: 12px; color: #999; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.news-card h3 { font-size: 16.5px; line-height: 1.45; }
.news-card h3 a:hover { color: var(--red); }
.news-card p { font-size: 13px; color: var(--gray); margin-top: 8px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .more { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--red); }

/* =========================================================
   Inquiry section
   ========================================================= */
.inquiry { background: var(--dark-2); color: #fff; position: relative; overflow: hidden; }
.inquiry::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 340px; height: 340px;
  border: 40px solid rgba(230,0,18,.08); border-radius: 50%;
}
.inquiry .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; position: relative; z-index: 2; }
.inquiry h2 { color: #fff; font-size: 30px; text-transform: uppercase; }
.inquiry .sec-sub { color: #aaa; margin: 8px 0 30px; }
.contact-list li { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.contact-list .ico {
  width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.contact-list .ico svg { width: 20px; height: 20px; fill: #fff; }
.contact-list strong { display: block; font-size: 14px; color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.contact-list p, .contact-list a { color: #aaa; font-size: 14px; }
.contact-list a:hover { color: var(--red); }

/* Form */
.inq-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inq-form input, .inq-form textarea {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  color: #fff; padding: 13px 16px; border-radius: var(--radius); font-family: inherit;
  font-size: 14px; transition: border .3s;
}
.inq-form textarea { min-height: 110px; resize: vertical; }
.inq-form input::placeholder, .inq-form textarea::placeholder { color: #888; }
.inq-form input:focus, .inq-form textarea:focus { outline: 0; border-color: var(--red); }
.inq-form .submit { margin-top: 14px; width: 100%; padding: 14px; border: 0; border-radius: 50px; background: var(--red); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 1px; cursor: pointer; text-transform: uppercase; transition: background .3s; }
.inq-form .submit:hover { background: var(--red-dark); }
.form-msg { margin-top: 12px; font-size: 13.5px; color: #7ddf8f; display: none; }
.form-msg.show { display: block; }

/* =========================================================
   Partners
   ========================================================= */
.partners { padding: 40px 0; border-top: 1px solid var(--border); }
.partner-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: center; }
.partner {
  height: 74px; border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: #aaa;
  font-weight: 700; font-size: 14px; letter-spacing: 1px; text-align: center;
  padding: 0 10px; filter: grayscale(1); transition: all .3s; background: #fff;
}
.partner:hover { color: var(--red); border-color: var(--red); filter: none; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--dark); color: #aaa; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: max-content max-content max-content minmax(0, 300px) max-content; justify-content: space-between; gap: 36px; padding: 64px 0 44px; }
.footer-col h4 { color: #fff; font-size: 16px; text-transform: uppercase; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--red); }
.footer-col p { margin: 10px 0; }
.footer-about .logo { margin-bottom: 16px; }
.footer-about p { max-width: 270px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #aaa; }
.footer-links a:hover { color: var(--red); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; fill: var(--red); flex: none; margin-top: 4px; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--red); }
.footer-social svg { width: 15px; height: 15px; fill: #fff; }
.footer-qr-imgs { display: flex; gap: 14px; }
.footer-qr-imgs figure { margin: 0; text-align: center; }
.footer-qr-imgs img { display: block; width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 6px; padding: 3px; }
.footer-qr-imgs figcaption { font-size: 11px; color: #999; margin-top: 5px; white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--red); }
@media (max-width: 1240px) and (min-width: 601px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Floating widgets
   ========================================================= */
.float-nav { position: fixed; right: 18px; bottom: 110px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-nav a {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .3s;
}
.float-nav a:hover { transform: scale(1.1); }
.float-nav .wa { background: #25d366; }
.float-nav .tel { background: var(--blue); }
.float-nav .top { background: var(--dark); font-size: 18px; cursor: pointer; }
.float-nav svg { width: 22px; height: 22px; fill: #fff; }

/* Chat widget */
.chat-widget { position: fixed; left: 18px; bottom: 18px; z-index: 95; font-size: 14px; }
.chat-panel {
  width: 300px; background: #fff; border-radius: 10px; box-shadow: 0 14px 40px rgba(0,0,0,.22);
  overflow: hidden; display: none; flex-direction: column; margin-bottom: 12px;
}
.chat-widget.open .chat-panel { display: flex; }
.chat-head { background: var(--red); color: #fff; padding: 14px 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.chat-head .close { cursor: pointer; font-size: 18px; line-height: 1; opacity: .85; }
.chat-body { padding: 14px; background: #f7f7f7; }
.chat-msg { background: #fff; border-radius: 8px; padding: 10px 12px; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.chat-fab {
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  padding: 12px 22px; border-radius: 40px; font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(230,0,18,.4); display: flex; align-items: center; gap: 8px;
}
.chat-fab:hover { background: var(--red-dark); }
.chat-fab svg { width: 18px; height: 18px; fill: #fff; }

/* Back-to-top in float nav triggers scroll */

/* =========================================================
   Inner page layouts
   ========================================================= */
.page-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; padding: 50px 0 70px; }
.page-wrap.cols-2r { grid-template-columns: 1fr 300px; }

/* Sidebar */
.sidebar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: sticky; top: 110px; }
.side-block + .side-block { border-top: 1px solid var(--border); }
.side-title { background: var(--dark); color: #fff; padding: 14px 20px; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; display: flex; align-items: center; gap: 10px; }
.side-title::before { content: ""; width: 4px; height: 16px; background: var(--red); border-radius: 2px; }
.side-cats > li > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; font-size: 14px; font-weight: 500; border-left: 3px solid transparent;
}
.side-cats > li > a:hover, .side-cats > li > a.active { color: var(--red); border-left-color: var(--red); background: var(--gray-light); }
.side-cats .sub { padding: 2px 0 10px; }
.side-cats .sub a { display: block; padding: 6px 20px 6px 34px; font-size: 13px; color: #777; position: relative; }
.side-cats .sub a::before { content: "·"; position: absolute; left: 24px; color: var(--red); font-weight: 800; }
.side-cats .sub a:hover, .side-cats .sub a.active { color: var(--red); }
.side-contact { padding: 20px; }
.side-contact .item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 13px; color: #666; align-items: flex-start; }
.side-contact .item svg { width: 17px; height: 17px; fill: var(--red); flex: none; margin-top: 3px; }
.side-contact .item a:hover { color: var(--red); }
.side-search { display: flex; padding: 16px; gap: 8px; }
.side-search input { flex: 1; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; font-size: 13px; font-family: inherit; min-width: 0; }
.side-search input:focus { outline: 0; border-color: var(--red); }
.side-search button { background: var(--red); border: 0; color: #fff; border-radius: var(--radius); width: 42px; cursor: pointer; font-size: 15px; }

/* Products page */
.prod-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.prod-toolbar .result { font-size: 14px; color: var(--gray); }
.prod-toolbar .result b { color: var(--red); }
.cat-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-chips a { font-size: 12.5px; padding: 6px 14px; border-radius: 30px; border: 1px solid var(--border); color: #666; }
.cat-chips a.active, .cat-chips a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Detail page */
.detail-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 50px 0 30px; align-items: start; }
.detail-gallery .main-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; }
.detail-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.detail-thumbs img { aspect-ratio: 4/3; object-fit: cover; border: 2px solid transparent; border-radius: 4px; cursor: pointer; transition: all .3s; }
.detail-thumbs img.active, .detail-thumbs img:hover { border-color: var(--red); }
.detail-info h1 { font-size: 26px; margin-bottom: 12px; }
.detail-info .lead { color: var(--gray); font-size: 14.5px; margin-bottom: 20px; }
.detail-points { margin-bottom: 24px; }
.detail-points li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 8px; align-items: baseline; }
.detail-points li::before { content: "•"; color: var(--red); font-weight: 800; font-size: 18px; line-height: 1; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-tabs { border-bottom: 2px solid var(--border); display: flex; gap: 6px; margin: 30px 0 26px; flex-wrap: wrap; }
.detail-tabs button {
  border: 0; background: none; padding: 12px 26px; font-size: 15px; font-weight: 600; cursor: pointer;
  color: #666; border-radius: 6px 6px 0 0; position: relative; font-family: inherit;
}
.detail-tabs button.active { color: var(--red); }
.detail-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--red); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp .4s ease; }
.tab-pane p { color: #555; margin-bottom: 12px; text-align: justify; }

/* Specs table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 11px 16px; text-align: left; }
.spec-table th { background: var(--gray-light); width: 30%; font-weight: 600; }
.spec-table tr:hover td { background: #fffafa; }

/* News detail */
.article { max-width: 860px; margin: 0 auto; padding: 50px 0 60px; }
.article-head h1 { font-size: 28px; line-height: 1.4; }
.article-meta { display: flex; gap: 22px; color: #999; font-size: 13px; margin: 16px 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.article-img { border-radius: var(--radius); margin-bottom: 26px; }
.article-body p { color: #444; margin-bottom: 16px; text-align: justify; font-size: 15px; }
.article-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; }
.article-nav a { color: #555; }
.article-nav a:hover { color: var(--red); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; margin-bottom: 46px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: all .3s; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.contact-card .ico { width: 54px; height: 54px; margin: 0 auto 14px; background: var(--gray-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.contact-card:hover .ico { background: var(--red); }
.contact-card .ico svg { width: 24px; height: 24px; fill: var(--red); transition: fill .3s; }
.contact-card:hover .ico svg { fill: #fff; }
.contact-card h3 { font-size: 15px; text-transform: uppercase; margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: var(--gray); word-break: break-word; }
.contact-card p a:hover { color: var(--red); }
.qr-block { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: var(--gray-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 32px; margin-bottom: 32px; }
.qr-block .qr-txt { max-width: 440px; }
.qr-block h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 8px; }
.qr-block p { color: var(--gray); font-size: 14px; }
.qr-grid { display: flex; gap: 18px; }
.qr-grid img { width: clamp(112px, 12vw, 150px); height: auto; background: #fff; border-radius: 8px; padding: 8px; box-shadow: var(--shadow); }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 380px; position: relative; background: #20242b; }
.map-box img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.map-box .overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; color: #fff; background: linear-gradient(180deg, rgba(10,12,16,.25), rgba(10,12,16,.65)); padding: 20px; }
.map-box .overlay strong { font-size: 18px; margin-bottom: 6px; }
.map-box .overlay span { color: #ddd; font-size: 14px; max-width: 560px; }

/* Solutions page intro rows */
.sol-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 34px 0; }
.sol-row + .sol-row { border-top: 1px solid var(--border); }
.sol-row .img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; }
.sol-row .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sol-row:hover .img img { transform: scale(1.05); }
.sol-row h3 { font-size: 22px; margin-bottom: 12px; text-transform: uppercase; }
.sol-row p { color: var(--gray); margin-bottom: 16px; }
.sol-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.sol-tags span { font-size: 12px; background: var(--gray-light); border: 1px solid var(--border); padding: 4px 12px; border-radius: 20px; color: #666; }
.sol-row.flip .img { order: 2; }

/* About page */
.about-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: all .3s; }
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.value-card .ico { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: rgba(230,0,18,.08); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.value-card h3 { font-size: 16px; margin-bottom: 8px; text-transform: uppercase; }
.value-card p { font-size: 13px; color: var(--gray); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.showcase-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.showcase-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.7)); }
.showcase-item h4 { position: absolute; left: 18px; bottom: 14px; z-index: 2; color: #fff; font-size: 15px; }
.showcase-item:hover img { transform: scale(1.08); }
.cert-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cert-row span { border: 1px dashed #bbb; color: #777; padding: 10px 26px; border-radius: var(--radius); font-weight: 600; font-size: 14px; transition: all .3s; }
.cert-row span:hover { border-color: var(--red); color: var(--red); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination button {
  min-width: 38px; height: 38px; border: 1px solid var(--border); background: #fff;
  border-radius: var(--radius); cursor: pointer; font-family: inherit; font-size: 14px; color: #555; transition: all .3s;
}
.pagination button.active, .pagination button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* Empty state */
.empty-state { text-align: center; padding: 70px 0; color: #999; }
.empty-state .big { font-size: 44px; margin-bottom: 10px; }

/* Toast */
.toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-80px);
  background: var(--dark); color: #fff; padding: 12px 26px; border-radius: 40px; z-index: 200;
  box-shadow: var(--shadow); font-size: 14px; transition: transform .4s; border-left: 4px solid var(--red);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(34px); transition: all .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero { height: 560px; }
}

@media (max-width: 900px) {
  .section { padding: 60px 0; }
  .sec-head h2 { font-size: 26px; }
  /* nav */
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: -320px; width: 320px; height: 100vh; background: var(--dark-2);
    z-index: 100; transition: right .35s; overflow-y: auto; padding-top: 80px;
  }
  .main-nav.open { right: 0; }
  .main-nav > ul { flex-direction: column; }
  .main-nav > ul > li > a { height: auto; padding: 14px 26px; justify-content: space-between; flex-direction: row; border-bottom: 1px solid rgba(255,255,255,.06); }
  .main-nav > ul > li > a::after { display: none; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: hidden; display: none;
    background: rgba(255,255,255,.04); box-shadow: none; border-radius: 0; min-width: 0; padding: 4px 0;
  }
  .main-nav li.sub-open .dropdown { display: block; visibility: visible; opacity: 1; }
  .dropdown.wide { display: none; grid-template-columns: 1fr; padding: 6px 0; min-width: 0; }
  .main-nav li.sub-open .dropdown.wide { display: grid; }
  .dropdown .dd-group { color: var(--red); }
  .dropdown li a { color: #ccc; border-left: 0; padding-left: 40px; }
  .dropdown li a:hover { background: rgba(255,255,255,.05); }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 90; opacity: 0; visibility: hidden; transition: all .3s; }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  .nav-close { position: absolute; top: 18px; right: 20px; color: #fff; font-size: 26px; cursor: pointer; background: none; border: 0; display: none; }
  .main-nav.open .nav-close { display: block; }
  .main-nav .has-sub > a::after { content: "+"; font-size: 18px; color: var(--red); }
  .main-nav li.sub-open > a::after { content: "−"; }

  .hero { height: 480px; }
  .hero-content h2 { font-size: 30px; }
  .hero-arrow { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .about-intro { grid-template-columns: 1fr; gap: 60px; }
  .about-imgs .img-sub { right: 0; bottom: -34px; }
  .inquiry .wrap { grid-template-columns: 1fr; gap: 40px; }
  .page-wrap, .page-wrap.cols-2r { grid-template-columns: 1fr; padding-top: 34px; }
  .sidebar { position: static; }
  .detail-top { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-row, .sol-row.flip { grid-template-columns: 1fr; }
  .sol-row.flip .img { order: 0; }
  .sol-row { gap: 22px; padding: 26px 0; }
  .partner-row { grid-template-columns: repeat(3, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 34px 10px; }
  .stat + .stat::before { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  .topbar-left span.hide-sm { display: none; }
  .header-inner { height: 70px; }
  .logo-mark { width: 42px; height: 42px; }
  .logo-text .en { font-size: 17px; }
  .logo-text .sub { font-size: 8px; letter-spacing: 2.6px; }
  .hero { height: 430px; }
  .hero-content h2 { font-size: 24px; }
  .hero-content p { font-size: 14.5px; }
  .cat-grid, .prod-grid, .sol-grid, .news-grid { grid-template-columns: 1fr; }
  .cat-card { height: 200px; }
  .about-text h2, .inquiry h2 { font-size: 24px; }
  .page-banner { height: 200px; }
  .page-banner h1 { font-size: 26px; }
  .inq-form .row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 30px; }
  .contact-grid, .value-grid { grid-template-columns: 1fr; }
  .partner-row { grid-template-columns: repeat(2, 1fr); }
  .detail-info h1 { font-size: 21px; }
  .article-head h1 { font-size: 22px; }
  .float-nav { bottom: 90px; right: 12px; }
  .chat-widget { left: 12px; bottom: 12px; }
  .chat-panel { width: calc(100vw - 60px); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat .num { font-size: 32px; }
  .about-imgs .exp { left: -6px; padding: 12px 16px; }
  .about-imgs .exp strong { font-size: 22px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .topbar-left { display: none; }
  .topbar-right { width: 100%; justify-content: center; gap: 8px; }
  .topbar-right .social { display: none; }
  .lang-switch a { padding: 2px 6px; font-size: 10.5px; }
}

/* =========================================================
   Language switch (header)
   ========================================================= */
.lang-switch {
  display: flex; align-items: center; gap: 2px; direction: ltr;
  background: rgba(255,255,255,.08); border-radius: 30px; padding: 2px;
}
@media (max-width: 1100px) {
  .topbar .hide-sm { display: none; }
  .topbar-right .social { display: none; }
}
.lang-switch a {
  display: inline-block; padding: 3px 9px; border-radius: 20px;
  color: #bdbdbd; font-size: 11.5px; line-height: 1.5; white-space: nowrap;
  transition: color .3s, background .3s;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { background: var(--red); color: #fff; font-weight: 600; }

/* =========================================================
   RTL (Arabic) overrides — only applies to [dir="rtl"]
   ========================================================= */
/* 顶栏保持与英文版相同的物理位置与内部顺序，避免切到阿语时顶栏元素位置变化 */
[dir="rtl"] .topbar .container { flex-direction: row-reverse; }
[dir="rtl"] .topbar-right { direction: ltr; }
[dir="rtl"] .topbar-left { direction: ltr; }
[dir="rtl"] .side-cats > li > a { border-left: 0; border-right: 3px solid transparent; }
[dir="rtl"] .side-cats > li > a:hover,
[dir="rtl"] .side-cats > li > a.active { border-right-color: var(--red); border-left-color: transparent; }
[dir="rtl"] .side-cats .sub a { padding: 6px 34px 6px 20px; }
[dir="rtl"] .side-cats .sub a::before { left: auto; right: 24px; }
[dir="rtl"] .side-search input { text-align: right; }
[dir="rtl"] .footer-col h4::after { left: auto; right: 0; }
[dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 4px; }
[dir="rtl"] .news-card .date { left: auto; right: 0; }
[dir="rtl"] .prod-card .badge { left: auto; right: 12px; }
[dir="rtl"] .about-imgs .img-sub { right: auto; left: -8%; }
[dir="rtl"] .about-imgs .exp { left: auto; right: -20px; }
[dir="rtl"] .showcase-item h4 { left: auto; right: 18px; }
[dir="rtl"] .spec-table th,
[dir="rtl"] .spec-table td { text-align: right; }
[dir="rtl"] .hero-arrow.prev { left: auto; right: 24px; }
[dir="rtl"] .hero-arrow.next { right: auto; left: 24px; }
[dir="rtl"] .float-nav { right: auto; left: 18px; }
[dir="rtl"] .chat-widget { left: auto; right: 18px; }
[dir="rtl"] .toast { border-left: 0; border-right: 4px solid var(--red); }
[dir="rtl"] .stat + .stat::before { left: auto; right: 0; }
[dir="rtl"] .inq-form input,
[dir="rtl"] .inq-form textarea { text-align: right; }
[dir="rtl"] .article-body p,
[dir="rtl"] .tab-pane p { text-align: right; }
[dir="rtl"] .about-text p { text-align: right; }

@media (max-width: 900px) {
  [dir="rtl"] .main-nav { right: auto; left: -320px; }
  [dir="rtl"] .main-nav.open { left: 0; right: auto; }
  [dir="rtl"] .nav-close { right: auto; left: 20px; }
  [dir="rtl"] .main-nav li.sub-open .dropdown { display: block; }
  [dir="rtl"] .dropdown li a { padding-left: 26px; padding-right: 40px; border-left: 0; }
  [dir="rtl"] .about-imgs .img-sub { left: 0; right: auto; }
}

@media (max-width: 600px) {
  [dir="rtl"] .float-nav { left: 12px; right: auto; }
  [dir="rtl"] .chat-widget { right: 12px; left: auto; }
  [dir="rtl"] .about-imgs .exp { right: -6px; left: auto; }
}
