/*
========================================
  Website Developer: Zhou Xian
  WeChat: 18059278280
  Email: zxm_it@qq.com
========================================
*/
/* ============================================================
   Bansar 外贸模板样式 v2.0.0
   Elementor 质感 / 响应式 / 悬浮联系组件 / 弹窗表单 / 全部内页
   ============================================================ */

/* ============================================================
   字体声明（Poppins 标题 + Inter 正文）
   字体文件放在 template/default/fonts/ 目录
   ============================================================ */
/* Google Fonts loaded via CDN in head.html */

:root {
  --brand-primary: #1a3a6b; --brand-accent: #f26522; --brand-dark: #0f2547;
  --brand-light: #f4f7fb; --text-body: #4a5568; --text-heading: #1a202c;
  --border-light: #e2e8f0; --shadow-soft: 0 10px 40px rgba(26,58,107,0.08);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.06); --radius-lg: 16px; --radius-md: 10px;
  --font-heading: 'Poppins', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}
* { -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text-body); line-height: 1.7; overflow-x: hidden; background: #fff; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--text-heading); font-weight: 700; line-height: 1.3; }
.main-nav .nav-link { font-family: var(--font-heading); }
a { text-decoration: none; }

/* 顶部信息条（白色细条，与导航一体） */
.top-info-bar { background: #f8f9fb; font-size: 12px; padding: 6px 0; border-bottom: 1px solid var(--border-light); }
.top-info-bar a { color: var(--text-body); margin-right: 18px; }
.top-info-bar a:hover { color: var(--brand-primary); }
.top-info-bar i { color: var(--brand-primary); margin-right: 4px; }
.geo-switcher { display: inline-flex; align-items: center; gap: 6px; color: var(--text-body); }
.geo-switcher i { color: var(--brand-primary); }
.geo-switcher select { background: #fff; color: var(--text-heading); border: 1px solid var(--border-light); border-radius: 4px; padding: 2px 8px; font-size: 12px; outline: none; cursor: pointer; }

/* 导航 */
.main-nav { background: #fff; padding: 14px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.main-nav .navbar-brand { margin-right: 30px; }
.main-nav .nav-link { color: var(--text-heading) !important; font-weight: 500; padding: 8px 16px !important; font-size: 15px; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--brand-primary) !important; }
.main-nav .nav-link.btn-quote { background: var(--brand-accent); color: #fff !important; border-radius: 50px; margin-left: 6px; padding: 9px 24px !important; font-weight: 600; }
.main-nav .nav-link.btn-quote:hover { background: var(--brand-primary); }

/* ============================================================
   Mega Menu 多级下拉菜单
   ============================================================ */
.main-nav { position: relative; }
.has-mega { position: static; }
.mega-arrow { font-size: 11px; margin-left: 4px; transition: transform 0.2s; }
.has-mega:hover .mega-arrow { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-top: 3px solid var(--brand-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1001;
  padding: 36px 0;
}
.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.mega-col {
  min-width: 160px;
  flex: 0 0 auto;
}
.mega-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-light);
}
.mega-col-title a { color: var(--brand-primary); text-decoration: none; }
.mega-col-title a:hover { color: var(--brand-accent); }

.mega-sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-sub-list li { margin-bottom: 6px; }
.mega-sub-list li a {
  color: var(--text-body);
  font-size: 13.5px;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: all 0.15s;
}
.mega-sub-list li a:hover {
  color: var(--brand-primary);
  padding-left: 6px;
}

/* 二级下拉（没有三级时用简单下拉） */
.has-dropdown { position: relative; }
.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s;
  z-index: 1001;
  padding: 10px 0;
}
.has-dropdown:hover .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu-custom a {
  display: block;
  padding: 8px 20px;
  color: var(--text-body);
  font-size: 14px;
  text-decoration: none;
}
.dropdown-menu-custom a:hover {
  background: var(--brand-light);
  color: var(--brand-primary);
}

/* 首页板块通用 */
.bansar-section { min-height: auto; display: flex; align-items: center; padding: 60px 0; }
.bg-gray { background: var(--brand-light); }
.section-text { padding: 40px 50px; }
.section-eyebrow { color: var(--brand-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 12px; }
.section-title { font-size: 38px; font-weight: 800; margin-bottom: 20px; line-height: 1.25; }
.section-desc { font-size: 16px; margin-bottom: 24px; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame-gradient { background: linear-gradient(135deg,var(--brand-primary),var(--brand-dark)); min-height: 420px; display: flex; align-items: center; justify-content: center; }
.big-bg-icon { font-size: 140px; color: rgba(255,255,255,0.15); }

/* 按钮 */
.btn-primary-custom { background: var(--brand-accent); color: #fff; border: 2px solid var(--brand-accent); border-radius: 50px; padding: 12px 32px; font-weight: 600; display: inline-block; transition: all 0.3s; }
.btn-primary-custom:hover { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; transform: translateY(-2px); }
.btn-outline-custom { background: transparent; color: var(--brand-primary); border: 2px solid var(--brand-primary); border-radius: 50px; padding: 12px 32px; font-weight: 600; display: inline-block; transition: all 0.3s; margin-left: 10px; }
.btn-outline-custom:hover { background: var(--brand-primary); color: #fff; }
.btn-light-custom { background: #fff; color: var(--brand-primary); border: 2px solid #fff; border-radius: 50px; padding: 14px 36px; font-weight: 700; display: inline-block; transition: all 0.3s; }
.link-more { color: var(--brand-primary); font-weight: 600; font-size: 14px; }
.link-more:hover { color: var(--brand-accent); }

/* HERO */
.hero-section { background: linear-gradient(135deg,#f8fafc,#eef2f7); min-height: 90vh; }
.hero-text { padding: 40px 50px; }
.hero-eyebrow { color: var(--brand-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: 13px; }
.hero-title { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-title span { color: var(--brand-primary); }
.hero-desc { font-size: 18px; margin-bottom: 30px; }

/* 特性条/服务/评价等首页组件省略（同 v1.0，保持一致） */
.features-strip { background: #fff; padding: 40px 0; }
.feature-item { display: flex; gap: 20px; padding: 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); transition: all 0.3s ease; cursor: default; }
.feature-item:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(26,58,107,0.15); }
.feature-icon { width: 60px; height: 60px; min-width: 60px; background: linear-gradient(135deg,var(--brand-primary),#2b6cb0); color: #fff; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: all 0.3s ease; }
.feature-item:hover .feature-icon { background: linear-gradient(135deg,var(--brand-accent),#ff8c42); transform: scale(1.05); }
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; padding: 20px; }
.service-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 24px 20px; transition: all 0.3s; }
.service-card:hover { border-color: var(--brand-primary); box-shadow: var(--shadow-card); transform: translateY(-3px); }
.service-card i { font-size: 28px; color: var(--brand-primary); margin-bottom: 12px; display: block; }
.cta-banner { background: linear-gradient(135deg,var(--brand-primary),var(--brand-dark)); color: #fff; padding: 70px 0; }
.why-list { list-style: none; padding: 0; }
.why-list li { padding: 10px 0; display: flex; gap: 12px; }
.why-list li i { color: var(--brand-accent); margin-top: 4px; }
.special-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.special-tag { background: var(--brand-light); color: var(--brand-primary); padding: 8px 18px; border-radius: 50px; font-weight: 600; }
.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 28px; box-shadow: var(--shadow-card); border-top: 4px solid var(--brand-accent); }
.testimonial-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; border: 3px solid var(--brand-light); }
.blog-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.blog-thumb { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 56px; color: rgba(255,255,255,0.9); }
.blog-thumb-1 { background: linear-gradient(135deg,#2b6cb0,#1a3a6b); }
.blog-thumb-2 { background: linear-gradient(135deg,#ed8936,#c05621); }
.blog-thumb-3 { background: linear-gradient(135deg,#38a169,#22543d); }
.contact-cta { background: linear-gradient(135deg,var(--brand-accent),#e67e22); color: #fff; padding: 80px 0; }
.faq-accordion .accordion-item { border: none; background: #fff; border-radius: var(--radius-md) !important; margin-bottom: 12px; box-shadow: var(--shadow-card); }
.faq-accordion .accordion-button { background: #fff; font-weight: 600; padding: 18px 22px; box-shadow: none !important; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--brand-light); color: var(--brand-primary); }

/* 页脚 */
.site-footer { background: var(--brand-dark); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.site-footer h5 { color: #fff; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--brand-accent); }
.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-links li, .footer-contact li { padding: 5px 0; font-size: 14px; }
.footer-links a { color: rgba(255,255,255,0.75); }
.footer-contact li i { color: var(--brand-accent); width: 20px; }
.footer-social a { display: inline-flex; width: 36px; height: 36px; background: rgba(255,255,255,0.1); color: #fff; border-radius: 50%; align-items: center; justify-content: center; margin-right: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; margin-top: 40px; font-size: 13px; }
.geo-hidden { display: none !important; }

/* ========== v1.1.0 悬浮联系组件 ========== */
.side-contact { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 998; display: flex; flex-direction: column; }
.side-contact-item { position: relative; width: 48px; height: 48px; background: var(--brand-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all 0.3s; border-bottom: 1px solid rgba(255,255,255,0.1); }
.side-contact-item:hover { background: var(--brand-accent); width: 56px; }
.side-contact-item.whatsapp { background: #25d366; }
.side-contact-item.wechat { background: #07c160; }
.side-contact-item.email { background: #ea4335; }
.side-contact-item.phone { background: #1a73e8; }
.side-contact-item .tip { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); background: #333; color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all 0.25s; }
.side-contact-item .tip::after { content: ''; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); border: 4px solid transparent; border-left-color: #333; }
.side-contact-item:hover .tip { opacity: 1; right: 60px; }

/* 右下角浮标 + 弹窗 */
.fab-quote { position: fixed; bottom: 30px; right: 30px; z-index: 999; width: 60px; height: 60px; background: var(--brand-accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; border: none; box-shadow: 0 6px 24px rgba(245,166,35,0.4); animation: fabPulse 2s infinite; }
.fab-quote:hover { transform: scale(1.08); background: var(--brand-primary); }
@keyframes fabPulse { 0%,100% { box-shadow: 0 6px 24px rgba(245,166,35,0.4); } 50% { box-shadow: 0 6px 32px rgba(245,166,35,0.7); } }
.quote-modal-overlay { position: fixed; inset: 0; background: rgba(15,37,71,0.6); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(3px); }
.quote-modal-overlay.active { display: flex; }
.quote-modal { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); animation: modalIn 0.3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.quote-modal-header { background: linear-gradient(135deg,var(--brand-primary),var(--brand-dark)); color: #fff; padding: 24px 28px; position: relative; }
.quote-modal-header h4 { color: #fff; margin: 0; font-size: 20px; }
.quote-modal-header p { margin: 6px 0 0; opacity: 0.8; font-size: 13px; }
.quote-modal-close { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.2); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.quote-modal-body { padding: 28px; }
.quote-modal-body .form-group { margin-bottom: 16px; }
.quote-modal-body label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.quote-modal-body .form-control { width: 100%; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 10px 14px; font-size: 14px; outline: none; }
.quote-modal-body .form-control:focus { border-color: var(--brand-primary); }
.quote-modal-body textarea.form-control { min-height: 80px; resize: vertical; }
.quote-modal-body .btn-submit { width: 100%; background: var(--brand-accent); color: #fff; border: none; border-radius: 50px; padding: 13px; font-size: 15px; font-weight: 700; cursor: pointer; }

/* ========== v1.1.0 内页样式 ========== */
/* 内页标题区（浅色，面包屑清晰） */
.page-banner { background: var(--brand-light); padding: 50px 0; text-align: center; border-bottom: 1px solid var(--border-light); }
.page-banner h1 { color: var(--text-heading); font-size: 34px; margin-bottom: 10px; font-weight: 800; }
.breadcrumb-custom { color: #888; font-size: 14px; }
.breadcrumb-custom a { color: var(--brand-primary); }
.breadcrumb-custom span { color: var(--brand-accent); margin: 0 6px; }

/* 时间轴 */
.timeline { position: relative; padding: 40px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom,var(--brand-accent),var(--brand-primary)); transform: translateX(-50%); }
.timeline-item { position: relative; width: 50%; padding: 20px 40px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-dot { position: absolute; top: 28px; width: 18px; height: 18px; background: var(--brand-accent); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 3px var(--brand-accent); z-index: 1; }
.timeline-item:nth-child(odd) .timeline-dot { right: -9px; }
.timeline-item:nth-child(even) .timeline-dot { left: -9px; }
.timeline-year { display: inline-block; background: var(--brand-primary); color: #fff; padding: 4px 16px; border-radius: 50px; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.timeline-content { background: #fff; border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-card); }

/* 产品列表 */
.product-filter-bar { background: var(--brand-light); border-radius: var(--radius-md); padding: 20px; margin: 30px 0; }
.filter-row { display: flex; align-items: flex-start; margin-bottom: 12px; flex-wrap: wrap; }
.filter-label { min-width: 60px; font-weight: 600; padding-top: 6px; font-size: 14px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-options .filter-btn { padding: 5px 16px; border-radius: 50px; border: 1px solid var(--border-light); background: #fff; font-size: 13px; transition: all 0.2s; }
.filter-options .filter-btn:hover, .filter-options .filter-btn.active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin: 30px 0; }
.product-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: all 0.3s; border: 1px solid var(--border-light); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--brand-primary); }
.product-card-img { width: 100%; height: 200px; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-body { padding: 18px; }
.product-card-body h5 { font-size: 15px; margin-bottom: 8px; }
.product-card-body h5 a { color: var(--text-heading); }
.product-card-body p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-bottom-intro { background: var(--brand-light); border-radius: var(--radius-lg); padding: 50px 40px; margin: 50px 0; }
.intro-text h3 { font-size: 26px; margin-bottom: 16px; }
.intro-form-box { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-soft); }
.intro-form-box .form-control { width: 100%; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 10px 14px; font-size: 14px; }
/* 分页美化 */
/* Pagination - page number buttons */
.pagination .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    margin: 0 4px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: #fff;
    color: #1a3a6b;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s;
}
.pagination .page-num:hover {
    border-color: #f26522;
    color: #f26522;
}
.pagination .page-num-current {
    background: #1a3a6b !important;
    color: #fff !important;
    border-color: #1a3a6b !important;
}
.pagination .page-item.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 48px;
    padding: 0 20px;
    margin: 0 4px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: #fff;
    color: #1a3a6b;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s;
}
.pagination .page-item.page-link:hover {
    border-color: #f26522;
    color: #f26522;
}
.pagination .page-item.page-link[href="javascript:;"] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-wrap { margin: 40px 0; text-align: center; }
.pagination { gap: 6px; }
.pagination .page-link { color: var(--text-heading) !important; border: 1px solid var(--border-light) !important; border-radius: 8px !important; padding: 8px 16px !important; font-size: 14px; background: #fff; transition: all 0.2s; }
.pagination .page-link:hover { color: var(--brand-primary) !important; border-color: var(--brand-primary) !important; background: var(--brand-light); }
.pagination .active .page-link { background: var(--brand-primary) !important; border-color: var(--brand-primary) !important; color: #fff !important; }

/* 产品详情 */
.product-detail-gallery { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.product-meta-list { list-style: none; padding: 0; margin: 20px 0; }
.product-meta-list li { padding: 10px 0; border-bottom: 1px dashed var(--border-light); display: flex; justify-content: space-between; font-size: 14px; }
.inquiry-form-section { background: var(--brand-light); border-radius: var(--radius-lg); padding: 40px; margin: 40px 0; }
.inquiry-form-section h3 { margin-bottom: 24px; }
.inquiry-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 0; }
.inquiry-form .form-group { margin-bottom: 20px; }
.inquiry-form .form-control { width: 100%; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 12px 16px; font-size: 14px; background: #fff; }
.inquiry-form .form-control:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(26,58,107,0.1); outline: none; }
.inquiry-form textarea.form-control { resize: vertical; }

/* 新闻列表/详情 */
.news-list-item { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border-light); }
.news-list-thumb { width: 220px; min-width: 220px; height: 150px; border-radius: var(--radius-md); overflow: hidden; }
.news-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list-body h4 { font-size: 18px; margin-bottom: 8px; }
.news-list-body h4 a { color: var(--text-heading); }
.news-list-meta { font-size: 13px; color: #999; margin-bottom: 8px; }
.news-list-body p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-detail { padding: 40px 0; }
.article-detail h1 { font-size: 30px; text-align: center; margin-bottom: 12px; }
.article-meta { text-align: center; color: #999; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); margin-bottom: 30px; }

/* 案例 Gallery */
.case-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 30px 0; }
.case-gallery-item { border-radius: var(--radius-md); overflow: hidden; cursor: pointer; }
.case-gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.3s; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 1100; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 36px; background: none; border: none; cursor: pointer; }

/* 联系我们页 */
.contact-info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 40px 0; }
.contact-info-card { text-align: center; padding: 36px 24px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); border-top: 4px solid var(--brand-accent); }
.contact-info-card i { font-size: 36px; color: var(--brand-primary); margin-bottom: 16px; }
.inner-page { padding: 40px 0 80px; }
.inner-page .container { max-width: 1200px; }

/* 响应式 */
@media (max-width: 991px) {
  .bansar-section { min-height: auto; padding: 40px 0; }
  .hero-title { font-size: 36px; } .section-title { font-size: 28px; }
  .hero-text, .section-text { padding: 20px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; text-align: left !important; padding-left: 50px; padding-right: 0; }
  .timeline-item .timeline-dot { left: 11px !important; right: auto !important; }
  .news-list-item { flex-direction: column; }
  .news-list-thumb { width: 100%; height: 200px; }
  .case-gallery { grid-template-columns: repeat(2,1fr); }
  .contact-info-cards { grid-template-columns: 1fr; }
  .inquiry-form .form-row { grid-template-columns: 1fr; }
  .list-bottom-intro { padding: 30px 20px; }
  .intro-form-box { margin-top: 24px; }
}
@media (max-width: 576px) {
  .hero-title { font-size: 28px; } .section-title { font-size: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .side-contact { display: none; }
  .fab-quote { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .case-gallery { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 26px; }
}

/* Route tags (Global Shipping Routes section) */
.route-tag { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--brand-light); border-radius: 20px; font-size: 13px; font-weight: 500; color: var(--text-heading); transition: all 0.3s; }
.route-tag:hover { background: var(--brand-primary); color: #fff; }
.route-tag i { color: var(--brand-accent); }
.route-tag:hover i { color: #fff; }
/* Service Detail Cards (Services page) */
.service-detail-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); height: 100%; transition: transform 0.3s, box-shadow 0.3s; }
.service-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.service-detail-icon { width: 56px; height: 56px; background: var(--brand-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--brand-primary); margin-bottom: 20px; }
.service-detail-card h4 { margin-bottom: 12px; }
.service-detail-card p { color: var(--text-body); font-size: 14px; margin-bottom: 16px; }
/* Sidebar widgets (Service detail page) */
.sidebar-widget { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card); margin-bottom: 24px; }
.sidebar-widget h5 { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { margin-bottom: 8px; }
.sidebar-links a { color: var(--text-body); font-size: 14px; transition: all 0.2s; }
.sidebar-links a:hover { color: var(--brand-primary); padding-left: 4px; }
.sidebar-points { list-style: none; padding: 0; margin: 0; }
.sidebar-points li { margin-bottom: 10px; font-size: 14px; color: var(--text-body); }
/* Section image height fix */
.section-media-right { display: flex; align-items: stretch; }
.section-media-right .section-img { width: 100%; height: 100%; object-fit: cover; max-height: 480px; }

/* Contact CTA text color fix */
.contact-cta h2 { color: #fff !important; }
.contact-cta p { color: rgba(255,255,255,0.9) !important; }

/* Remove white gap between CTA and footer */
.contact-cta { margin-bottom: 0 !important; padding-bottom: 60px !important; }
.site-footer { margin-top: 0 !important; }
body { margin: 0; }
