/**
  * 芝麻通 www.rdcms.com 
  * 任意程序 功能定制/二次开发/API接口/模板制作 
  * 任意数据库/CMS相互转换    
  * QQ：1174742835 
**/
/* ---------- 1. Design tokens ---------- */
:root {
  --blue: #0f6bff;
  --blue-hover: #0a56d6;
  --blue-deep: #0a3aa8;
  --navy: #0b1f3a;
  --cyan: #00c6ff;
  --ink: #1f2d3d;
  --gray: #5a6b7f;
  --gray-light: #8b99ab;
  --line: #e6ecf5;
  --bg-soft: #f4f8ff;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(15, 107, 255, .08);
  --shadow-md: 0 10px 30px rgba(11, 31, 58, .10);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, .16);
  --grad: linear-gradient(135deg, #0f6bff 0%, #00c6ff 100%);
  --grad-dark: linear-gradient(135deg, #0a3aa8 0%, #0f6bff 100%);
  --t: .3s cubic-bezier(.22, .8, .3, 1);
  --font: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
.clearfix::after { content: ""; display: block; clear: both; }

.layout { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 3. Font icons (FontAwesome 4) ---------- */
@font-face {
  font-family: "FontAwesome";
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2"),
       url("../fonts/fontawesome-webfont.woff") format("woff"),
       url("../fonts/fontawesome-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.fa-home::before { content: "\f015"; }
.fa-search::before { content: "\f002"; }
.fa-close::before { content: "\f00d"; }
.fa-plus::before { content: "\f067"; }
.fa-minus::before { content: "\f068"; }
.fa-angle-right::before { content: "\f105"; }
.fa-angle-down::before { content: "\f107"; }
.fa-arrow-right::before { content: "\f061"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-phone::before { content: "\f095"; }
.fa-map-marker::before { content: "\f041"; }
.fa-facebook::before { content: "\f09a"; }
.fa-twitter::before { content: "\f099"; }
.fa-linkedin::before { content: "\f0e1"; }
.fa-youtube::before { content: "\f167"; }
.fa-instagram::before { content: "\f16d"; }
.fa-pinterest-p::before { content: "\f231"; }
.fa-whatsapp::before { content: "\f232"; }
.fa-skype::before { content: "\f17e"; }
.fa-wechat::before { content: "\f1d7"; }
.fa-clock-o::before { content: "\f017"; }
.fa-eye::before { content: "\f06e"; }
.fa-user::before { content: "\f007"; }

/* ---------- 4. Buttons (rounded / pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 34px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  box-shadow: 0 6px 18px rgba(15, 107, 255, .30);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15, 107, 255, .40); color: #fff; }
.btn:active { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--blue); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-sm { padding: 9px 24px; font-size: 13px; }

/* ---------- 5. Section titles ---------- */
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head .sec-sub {
  display: inline-block;
  padding: 5px 18px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-head h2 { font-size: 34px; color: var(--navy); letter-spacing: 1px; }
.sec-head .sec-line {
  width: 56px; height: 4px; border-radius: 2px;
  background: var(--grad); margin: 16px auto 0;
}

/* ============================================================
   6. Header
   ============================================================ */
.header-top {
  background: var(--navy);
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
}
.header-top .layout { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.header-top .ht-welcome i { color: var(--cyan); margin-right: 6px; }
.header-top .ht-search {
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color var(--t), background var(--t);
}
.header-top .ht-search:hover { color: #fff; background: rgba(255, 255, 255, .10); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-main { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { max-height: 46px; width: auto; }

/* --- Desktop nav --- */
.site-nav > ul { display: flex; align-items: center; gap: 4px; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a {
  position: relative;
  display: block;
  padding: 26px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .8px;
  color: var(--ink);
}
/* underline grow effect */
.site-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 16px;
  width: 0; height: 3px;
  border-radius: 2px;
  background: var(--grad);
  transform: translateX(-50%);
  transition: width .35s cubic-bezier(.22, .8, .3, 1);
}
.site-nav > ul > li:hover > a::after,
.site-nav > ul > li.active > a::after { width: 60%; }
.site-nav > ul > li.active > a,
.site-nav > ul > li:hover > a { color: var(--blue); }
/* caret */
.site-nav li.has-children > a .fa-angle-down { font-size: 12px; margin-left: 5px; transition: transform var(--t); }
.site-nav li.has-children:hover > a .fa-angle-down { transform: rotate(180deg); }

/* --- Dropdown: fade + slide-up, staggered items --- */
.site-nav ul ul {
  position: absolute;
  top: 100%; left: 50%;
  min-width: 230px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity .28s ease, transform .28s cubic-bezier(.22, .8, .3, 1), visibility .28s;
}
.site-nav li:hover > ul { opacity: 1; visibility: visible; transform: translate(-50%, 8px); }
.site-nav ul ul li { position: relative; }
.site-nav ul ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--gray);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background var(--t), color var(--t), padding-left var(--t);
}
.site-nav li:hover > ul a { opacity: 1; transform: translateY(0); }
.site-nav ul ul li:nth-child(1) a { transition-delay: .03s; }
.site-nav ul ul li:nth-child(2) a { transition-delay: .07s; }
.site-nav ul ul li:nth-child(3) a { transition-delay: .11s; }
.site-nav ul ul li:nth-child(4) a { transition-delay: .15s; }
.site-nav ul ul li:nth-child(5) a { transition-delay: .19s; }
.site-nav ul ul li:nth-child(6) a { transition-delay: .23s; }
.site-nav ul ul a:hover { background: var(--bg-soft); color: var(--blue); padding-left: 20px; }
.site-nav ul ul a .fa { font-size: 11px; color: var(--gray-light); }
/* third level: flyout right */
.site-nav ul ul ul {
  top: -6px; left: calc(100% - 8px);
  transform: translate(10px, 0);
}
.site-nav ul ul li:hover > ul { opacity: 1; visibility: visible; transform: translate(0, 0); }

/* --- Mobile toggle (right side, same row as logo) --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  position: relative;
  z-index: 1002;
  transition: background var(--t);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  margin: 2.6px 0;
  transition: transform .35s cubic-bezier(.22, .8, .3, 1), opacity .25s;
}
.nav-toggle.active { background: rgba(255, 255, 255, .15); }
.nav-toggle.active span { background: #fff; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile drawer --- */
.nav-mask {
  position: fixed; inset: 0;
  background: rgba(11, 31, 58, .5);
  backdrop-filter: blur(3px);
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.nav-mask.show { opacity: 1; visibility: visible; }
.m-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 84vw);
  height: 100%;
  background: linear-gradient(180deg, #0d2a52 0%, #0b1f3a 100%);
  z-index: 1001;
  padding: 90px 26px 40px;
  overflow-y: auto;
  transform: translateX(102%);
  transition: transform .42s cubic-bezier(.22, .8, .3, 1);
}
.m-nav.show { transform: translateX(0); }
.m-nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.m-nav > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.22, .8, .3, 1), color var(--t);
}
.m-nav.show > ul > li > a { opacity: 1; transform: translateX(0); }
.m-nav > ul > li:nth-child(1) > a { transition-delay: .10s; }
.m-nav > ul > li:nth-child(2) > a { transition-delay: .15s; }
.m-nav > ul > li:nth-child(3) > a { transition-delay: .20s; }
.m-nav > ul > li:nth-child(4) > a { transition-delay: .25s; }
.m-nav > ul > li:nth-child(5) > a { transition-delay: .30s; }
.m-nav > ul > li:nth-child(6) > a { transition-delay: .35s; }
.m-nav > ul > li:nth-child(7) > a { transition-delay: .40s; }
.m-nav > ul > li.active > a { color: var(--cyan); }
.m-nav .m-caret { font-size: 13px; transition: transform .3s; color: rgba(255, 255, 255, .5); }
.m-nav li.open > a .m-caret { transform: rotate(180deg); color: var(--cyan); }
.m-nav ul ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.22, .8, .3, 1);
}
.m-nav li.open > ul { max-height: 600px; }
.m-nav ul ul a {
  display: block;
  padding: 10px 6px 10px 18px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  border-left: 2px solid rgba(255, 255, 255, .12);
  margin-left: 8px;
}
.m-nav ul ul a:hover { color: var(--cyan); }
.m-nav ul ul ul a { padding-left: 34px; font-size: 13px; }

/* ============================================================
   7. Search overlay
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 31, 58, .96);
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18vh 20px 0;
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.search-overlay.show { opacity: 1; visibility: visible; }
.search-box { width: min(680px, 100%); position: relative; }
.search-box form {
  display: flex;
  align-items: center;
  border-bottom: 3px solid rgba(255, 255, 255, .35);
  padding-bottom: 12px;
  transform: translateY(24px);
  opacity: 0;
  transition: transform .45s cubic-bezier(.22, .8, .3, 1) .1s, opacity .45s .1s;
}
.search-overlay.show .search-box form { transform: translateY(0); opacity: 1; }
.search-box input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 26px;
  padding: 6px 10px;
}
.search-box input::placeholder { color: rgba(255, 255, 255, .45); }
.search-box .search-go {
  color: #fff; font-size: 24px;
  padding: 6px 12px;
  transition: color var(--t), transform var(--t);
}
.search-box .search-go:hover { color: var(--cyan); transform: scale(1.12); }
.search-tip { margin-top: 14px; color: rgba(255, 255, 255, .45); font-size: 13px; letter-spacing: 1px; }
.search-close {
  position: absolute;
  top: 26px; right: 30px;
  color: #fff; font-size: 30px;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08);
  transition: background var(--t), transform .5s;
}
.search-close:hover { background: rgba(255, 255, 255, .18); transform: rotate(90deg); }

/* ============================================================
   8. Floating tools + inquiry modal
   ============================================================ */
.float-tools { position: fixed; right: 22px; bottom: 90px; z-index: 950; display: flex; flex-direction: column; gap: 12px; }
.float-tools button {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(15, 107, 255, .40);
  transition: transform var(--t), box-shadow var(--t), opacity var(--t), visibility var(--t);
}
.float-tools button:hover { transform: translateY(-4px) scale(1.06); }
#backTop { opacity: 0; visibility: hidden; transform: translateY(12px); }
#backTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

.inquiry-modal {
  position: fixed; inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 31, 58, .6);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.inquiry-modal.show { opacity: 1; visibility: visible; }
.inquiry-dialog {
  width: min(460px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(26px) scale(.97);
  transition: transform .38s cubic-bezier(.22, .8, .3, 1);
}
.inquiry-modal.show .inquiry-dialog { transform: translateY(0) scale(1); }
.inquiry-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), color var(--t), transform .5s;
}
.inquiry-close:hover { background: var(--blue); color: #fff; transform: rotate(90deg); }
.inquiry-dialog h3 {
  font-size: 22px;
  color: var(--navy);
  text-align: center;
  margin-bottom: 4px;
}
.inquiry-dialog .modal-sub {
  text-align: center;
  color: var(--gray-light);
  font-size: 13px;
  margin-bottom: 20px;
}
.inquiry-dialog .qr { text-align: center; margin-top: 18px; }
.inquiry-dialog .qr img { width: 110px; border-radius: 10px; border: 1px solid var(--line); padding: 6px; }

/* ---------- 9. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-input, .form-area {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  font-size: 14px;
}
.form-area { border-radius: 18px; min-height: 120px; resize: vertical; }
.form-input:focus, .form-area:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 107, 255, .12);
}
.form-input::placeholder, .form-area::placeholder { color: var(--gray-light); }
.fc-red { color: #ff4d4f; }

/* ============================================================
   10. Footer
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); }
.foot-main {
  background:
    linear-gradient(rgba(9, 26, 51, .88), rgba(9, 26, 51, .92)),
    url("../images/footer_bg.jpg") center/cover no-repeat;
  padding: 70px 0 50px;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 44px; }
.foot-title {
  color: #fff;
  font-size: 17px;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.foot-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 2px;
  background: var(--grad);
}
.foot-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.foot-contact .fa { color: var(--cyan); margin-top: 4px; font-size: 16px; }
.foot-contact a:hover { color: var(--cyan); }
.foot-service p { font-size: 14px; margin-bottom: 18px; color: rgba(255, 255, 255, .6); }
.foot-sns { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  transition: background var(--t), transform var(--t), color var(--t), box-shadow var(--t);
}
.foot-sns a:hover {
  background: var(--grad);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 198, 255, .35);
}
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .10); padding: 20px 0; font-size: 13px; }
.foot-bottom .layout { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.foot-bottom a { color: rgba(255, 255, 255, .55); }
.foot-bottom a:hover { color: var(--cyan); }

/* ============================================================
   11. Home page
   ============================================================ */
/* Swiper 4 core structure (JS does not ship styles) */
.swiper-container {
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  box-sizing: content-box;
  align-items: stretch;
}
.swiper-slide { flex-shrink: 0; width: 100%; height: 100%; position: relative; }
.swiper-pagination { position: absolute; left: 0; right: 0; text-align: center; z-index: 10; }
.swiper-pagination-bullet {
  display: inline-block;
  border-radius: 999px;
  margin: 0 4px;
  cursor: pointer;
}
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}
.swiper-button-prev { left: 20px; }
.swiper-button-next { right: 20px; }
/* fade effect (about media slider) */
.swiper-container-fade .swiper-slide { opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.swiper-container-fade .swiper-slide-active { opacity: 1; pointer-events: auto; }

/* banner slider */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider .swiper-slide img { width: 100%; object-fit: cover; max-height: 560px; }
.hero-slider .swiper-pagination { bottom: 26px !important; }
.hero-slider .swiper-pagination-bullet {
  width: 26px; height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .5);
  opacity: 1;
  transition: all var(--t);
}
.hero-slider .swiper-pagination-bullet-active { background: var(--cyan); width: 40px; }
.hero-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .3);
  transition: background var(--t), transform var(--t);
}
.hero-arrow:hover { background: var(--blue); }
.hero-arrow::before {
  font-family: "FontAwesome";
  font-size: 22px;
  color: #fff;
  line-height: 1;
}
.hero-slider .swiper-button-prev::before { content: "\f104"; }
.hero-slider .swiper-button-next::before { content: "\f105"; }

/* product carousel */
.sec-products { padding: 84px 0; background: #fff; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card .p-img { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.product-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, .8, .3, 1); }
.product-card:hover .p-img img { transform: scale(1.08); }
.product-card .p-name {
  display: block;
  padding: 16px 18px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  transition: color var(--t);
}
.product-card:hover .p-name { color: var(--blue); }

/* about section */
.sec-about {
  padding: 84px 0;
  background:
    linear-gradient(rgba(244, 248, 255, .94), rgba(244, 248, 255, .96)),
    url("../images/company_intr_bg.jpg") center/cover fixed;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; display: block; }
.about-tag {
  display: inline-block;
  padding: 5px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.about-copy h2 { font-size: 32px; color: var(--navy); margin-bottom: 18px; }
.about-copy p { color: var(--gray); margin-bottom: 26px; }

/* news section */
.sec-news { padding: 84px 0; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.news-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--t), box-shadow var(--t);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-card .n-img { width: 150px; flex-shrink: 0; border-radius: 12px; overflow: hidden; }
.news-card .n-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .n-img img { transform: scale(1.08); }
.news-card time { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-light); font-size: 13px; margin-bottom: 8px; }
.news-card time .fa { color: var(--blue); }
.news-card h3 a { font-size: 16px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card h3 a:hover { color: var(--blue); }
.news-card .n-desc {
  margin: 10px 0 14px;
  color: var(--gray);
  font-size: 13.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-feature { grid-column: 1 / -1; padding: 0; overflow: hidden; position: relative; min-height: 260px; display: flex; align-items: flex-end; }
.news-feature .n-img { position: absolute; inset: 0; width: 100%; border-radius: 0; }
.news-feature .n-img img { width: 100%; height: 100%; object-fit: cover; }
.news-feature .n-body {
  position: relative;
  padding: 26px;
  background: linear-gradient(transparent, rgba(11, 31, 58, .88));
  width: 100%;
}
.news-feature h3 a, .news-feature time, .news-feature .n-desc { color: #fff; }
.news-feature .n-desc { color: rgba(255, 255, 255, .8); }

/* ============================================================
   12. Inner pages common
   ============================================================ */
.page-banner { position: relative; overflow: hidden; max-height: 320px; }
.page-banner img { width: 100%; object-fit: cover; max-height: 320px; }
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb .layout { display: flex; align-items: center; gap: 8px; height: 48px; font-size: 13.5px; color: var(--gray-light); overflow-x: auto; white-space: nowrap; }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: #c3cede; }
.breadcrumb .here { color: var(--blue); font-weight: 600; }

.page-body { padding: 56px 0 76px; }
.cate-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.cate-pills a {
  padding: 10px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--gray);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: all var(--t);
}
.cate-pills a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.cate-pills a.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(15, 107, 255, .30); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a {
  min-width: 42px; height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--gray);
  font-size: 14px;
  transition: all var(--t);
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination a.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(15, 107, 255, .30); }

/* ---------- product list page ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; margin-bottom: 60px; }
.pd-gallery .main-img {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 16px;
}
.pd-gallery .main-img img { width: 100%; display: block; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pd-thumbs button {
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  transition: border-color var(--t), transform var(--t);
  aspect-ratio: 1;
}
.pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs button:hover { transform: translateY(-3px); }
.pd-thumbs button.active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 107, 255, .15); }
.pd-info h1 { font-size: 28px; color: var(--navy); margin-bottom: 14px; }
.pd-lead { color: var(--gray); padding-bottom: 18px; border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.pd-meta { margin-bottom: 26px; }
.pd-meta li { display: flex; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.pd-meta li:last-child { border-bottom: 0; }
.pd-meta em { font-style: normal; width: 130px; color: var(--gray-light); flex-shrink: 0; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-detail { margin-bottom: 60px; }
.pd-detail h2 {
  display: inline-block;
  font-size: 20px;
  color: var(--navy);
  padding: 10px 26px;
  background: var(--bg-soft);
  border-radius: 999px;
  margin-bottom: 22px;
}
.pd-detail .entry p { color: var(--gray); margin-bottom: 14px; }
.related-title { font-size: 22px; color: var(--navy); margin-bottom: 24px; text-align: center; }
.related-title em { font-style: normal; color: var(--blue); }

/* ---------- news list ---------- */
.blog-item {
  display: flex;
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 22px;
  background: #fff;
  transition: transform var(--t), box-shadow var(--t);
}
.blog-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-item .b-img { width: 240px; flex-shrink: 0; border-radius: 14px; overflow: hidden; }
.blog-item .b-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-item:hover .b-img img { transform: scale(1.07); }
.blog-item time { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-light); font-size: 13px; margin-bottom: 8px; }
.blog-item time .fa { color: var(--blue); }
.blog-item h3 a { font-size: 18px; color: var(--navy); }
.blog-item h3 a:hover { color: var(--blue); }
.blog-item .b-desc { color: var(--gray); font-size: 14px; margin: 10px 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- news detail ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 330px; gap: 40px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.article-card h1 { font-size: 26px; color: var(--navy); margin-bottom: 14px; }
.article-meta { display: flex; gap: 22px; color: var(--gray-light); font-size: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.article-meta .fa { color: var(--blue); margin-right: 5px; }
.article-content p { color: var(--gray); margin-bottom: 14px; }
.article-nav { margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--line); font-size: 14px; }
.article-nav p { margin-bottom: 8px; }
.article-nav span { color: var(--gray-light); }
.article-nav a { color: var(--blue); }
.article-nav a:hover { text-decoration: underline; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 24px; }
.side-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-soft);
  position: relative;
}
.side-card h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--grad); }
.side-news li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.side-news li:last-child { border-bottom: 0; }
.side-news .s-img { display: block; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.side-news a.t { color: var(--ink); font-size: 14px; font-weight: 600; display: block; }
.side-news a.t:hover { color: var(--blue); }
.side-news time { font-size: 12.5px; color: var(--gray-light); }

/* ---------- about page ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 70px; }
.about-hero .txt h2 { font-size: 30px; color: var(--navy); margin-bottom: 20px; }
.about-hero .txt p { color: var(--gray); margin-bottom: 16px; }
.about-hero .pic { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.msg-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 46px;
}
.msg-card h2 { text-align: center; font-size: 26px; color: var(--navy); margin-bottom: 6px; }
.msg-card .msg-sub { text-align: center; color: var(--gray-light); font-size: 14px; margin-bottom: 26px; }

/* ============================================================
   13. FAQ page (new layout)
   ============================================================ */
.faq-hero { text-align: center; padding: 60px 0 46px; background: var(--bg-soft); }
.faq-hero .faq-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.faq-hero h1 { font-size: 36px; color: var(--navy); margin-bottom: 12px; }
.faq-hero p { color: var(--gray); max-width: 560px; margin: 0 auto; }
.faq-layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 60px 0 80px; align-items: start; }
.faq-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.faq-aside .help-card {
  background: var(--grad-dark);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  color: #fff;
}
.faq-aside .help-card h3 { font-size: 19px; margin-bottom: 10px; }
.faq-aside .help-card p { font-size: 13.5px; color: rgba(255, 255, 255, .75); margin-bottom: 18px; }
.faq-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; }
.faq-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gray);
  transition: all var(--t);
}
.faq-nav button .fa { font-size: 12px; opacity: 0; transform: translateX(-6px); transition: all var(--t); }
.faq-nav button:hover { color: var(--blue); background: var(--bg-soft); }
.faq-nav button.active { background: var(--grad); color: #fff; box-shadow: 0 6px 14px rgba(15, 107, 255, .28); }
.faq-nav button.active .fa { opacity: 1; transform: translateX(0); }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item.open { border-color: rgba(15, 107, 255, .5); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  background: none;
  border: 0;
}
.faq-q .q-ico {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background var(--t), color var(--t);
}
.faq-item.open .q-ico { background: var(--grad); color: #fff; }
.faq-q .q-text { flex: 1; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.faq-q .q-arrow {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-light);
  font-size: 13px;
  transition: transform .35s cubic-bezier(.22, .8, .3, 1), background var(--t), color var(--t);
}
.faq-item.open .q-arrow { transform: rotate(180deg); background: var(--blue); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.22, .8, .3, 1);
}
.faq-a .a-inner { padding: 0 22px 22px 70px; color: var(--gray); font-size: 14.5px; }
.faq-a .a-inner p { margin-bottom: 10px; }
.faq-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: var(--navy);
  margin: 30px 0 16px;
  scroll-margin-top: 110px;
}
.faq-group-title::before {
  content: "";
  width: 6px; height: 20px;
  border-radius: 3px;
  background: var(--grad);
}
.faq-group-title:first-child { margin-top: 0; }
.faq-cta {
  margin-top: 26px;
  border-radius: var(--radius-lg);
  background: var(--grad);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #fff;
}
.faq-cta h3 { font-size: 22px; margin-bottom: 6px; }
.faq-cta p { color: rgba(255, 255, 255, .85); font-size: 14px; }

/* ============================================================
   14. Contact page
   ============================================================ */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 60px; }
.contact-card {
  text-align: center;
  padding: 34px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--t), box-shadow var(--t);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .c-ico {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 107, 255, .30);
  transition: transform var(--t);
}
.contact-card:hover .c-ico { transform: rotate(-8deg) scale(1.08); }
.contact-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--gray); word-break: break-all; }
.contact-card a:hover { color: var(--blue); }

/* ============================================================
   15. Reveal animations
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .3, 1);
}
[data-animate="left"] { transform: translateX(-40px); }
[data-animate="right"] { transform: translateX(40px); }
[data-animate="zoom"] { transform: scale(.92); }
[data-animate].in-view { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

/* ============================================================
   16. Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .site-nav > ul > li > a { padding: 26px 12px; }
}
@media (max-width: 992px) {
  .header-top .ht-welcome { font-size: 12px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  /* mobile header: logo left, toggle right, same row */
  .header-main { height: 64px; }
  .logo img { max-height: 38px; }
  .about-grid, .about-hero, .pd-layout, .news-layout { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .article-card { padding: 26px; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .sec-head h2 { font-size: 26px; }
  .hero-slider .swiper-slide img { max-height: 300px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .blog-item { flex-direction: column; padding: 16px; }
  .blog-item .b-img { width: 100%; }
  .news-card { flex-direction: column; }
  .news-card .n-img { width: 100%; }
  .contact-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .msg-card { padding: 30px 22px; }
  .search-box input { font-size: 18px; }
  .float-tools { right: 14px; bottom: 76px; }
  .float-tools button { width: 46px; height: 46px; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cate-pills a { padding: 8px 18px; font-size: 13px; }
  .page-banner img { max-height: 180px; }
  .faq-cta { flex-direction: column; text-align: center; }
  .faq-a .a-inner { padding-left: 22px; }
}
@media (max-width: 480px) {
  .header-top { display: none; }
}
