/* ============================================================
   润迅数据 - 全站样式
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --primary: #0055A6;
    --primary-dark: #003366;
    --primary-light: #1E90FF;
    --accent: #FF6600;
    --accent-hover: #e55b00;
    --white: #FFFFFF;
    --bg-light: #F5F7FA;
    --bg-dark: #00264D;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #E5E9EF;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 6px;
    --font: -apple-system, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
    --wrap: 1200px;
    --header-h: 70px;
    --transition: .3s ease;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; }

/* --- Utilities --- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFE 100%); }
.section-light {
    background: var(--bg-light);
    background-image:
        linear-gradient(rgba(0,85,166,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,85,166,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
.section-dark {
    background: linear-gradient(135deg, #001A33 0%, #003366 50%, #004080 100%);
    color: var(--white);
    position: relative;
}
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: var(--text); margin-bottom: 12px; position: relative; display: inline-block; }
.section-dark .section-title h2 { color: var(--white); }
.section-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--primary); border-radius: 2px; }
.section-title h2::before { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 30px; height: 3px; background: var(--accent); border-radius: 2px; z-index: 1; }
.section-title p { color: var(--text-light); font-size: 16px; margin-top: 18px; }
.section-dark .section-title p { color: rgba(255,255,255,0.7); }
.btn { display: inline-block; padding: 12px 32px; border-radius: var(--radius); font-size: 15px; font-weight: 500; cursor: pointer; border: none; transition: all var(--transition); text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: var(--white); box-shadow: 0 4px 15px rgba(0,85,166,0.3), inset 0 1px 0 rgba(255,255,255,0.15); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,85,166,0.4); }
.btn-accent { background: linear-gradient(135deg, #FF6600 0%, #FF8C00 100%); color: var(--white); box-shadow: 0 4px 15px rgba(255,102,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2); }
.btn-accent:hover { background: linear-gradient(135deg, #FF8C00 0%, #FF6600 100%); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,102,0,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.text-accent { color: var(--accent); }
.clearfix::after { content: ''; display: table; clear: both; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar { background: var(--primary-dark); color: rgba(255,255,255,0.8); font-size: 13px; padding: 8px 0; }
.top-bar .wrap { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; align-items: center; gap: 20px; }
.top-bar-left span { display: flex; align-items: center; gap: 5px; }
.top-bar-right { display: flex; align-items: center; gap: 15px; }
.top-bar-right a { color: rgba(255,255,255,0.8); font-size: 13px; }
.top-bar-right a:hover { color: var(--white); }
.top-bar .icon-svg { width: 14px; height: 14px; fill: currentColor; vertical-align: middle; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header { background: var(--white); height: var(--header-h); position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.header .wrap { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; }
.logo-img { height: 55px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 0; }
.nav-icon { width: 16px; height: 16px; fill: currentColor; vertical-align: -2px; margin-right: 3px; opacity: 0.6; }
.dm-icon { width: 15px; height: 15px; fill: var(--primary); vertical-align: -2px; margin-right: 6px; opacity: 0.7; }
.main-nav > a,
.main-nav > .nav-dropdown > .nav-dropdown-trigger { display: block; padding: 0 16px; line-height: var(--header-h); color: var(--text); font-size: 14px; font-weight: 500; position: relative; transition: color var(--transition); cursor: pointer; }
.main-nav > a::after,
.main-nav > .nav-dropdown > .nav-dropdown-trigger::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background: var(--primary); transform: translateX(-50%); transition: width var(--transition); border-radius: 2px 2px 0 0; }
.main-nav > a:hover,
.main-nav > a.active,
.main-nav > .nav-dropdown > .nav-dropdown-trigger.active,
.main-nav > .nav-dropdown:hover > .nav-dropdown-trigger { color: var(--primary); }
.main-nav > a:hover::after,
.main-nav > a.active::after,
.main-nav > .nav-dropdown > .nav-dropdown-trigger.active::after,
.main-nav > .nav-dropdown:hover > .nav-dropdown-trigger::after { width: 60%; }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .nav-arrow { margin-left: 2px; transition: transform var(--transition); }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 160px; background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transition: opacity var(--transition), transform var(--transition); transform: translateX(-50%) translateY(6px); z-index: 100; padding: 6px 0; border-top: 2px solid var(--primary); }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px 20px !important; line-height: 1.5 !important; font-size: 14px !important; color: var(--text-light) !important; white-space: nowrap; transition: all var(--transition); }
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { color: var(--primary) !important; background: var(--bg-light); }

/* Language dropdown - right aligned */
.nav-lang .nav-dropdown-menu { left: auto; right: 0; transform: translateX(0) translateY(6px); min-width: 140px; }
.nav-lang:hover .nav-dropdown-menu { transform: translateX(0) translateY(0); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; z-index: 1100; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: var(--transition); border-radius: 1px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   BANNER / SLIDER (Canvas animation + fade transitions)
   ============================================================ */
.banner { position: relative; width: 100%; height: 510px; overflow: hidden; transition: background-color 1s ease; }
#bannerCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.banner-overlay { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%); pointer-events: none; }
.banner-slides { position: relative; width: 100%; height: 100%; z-index: 3; }
.banner-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-slide .wrap { width: 100%; display: flex; justify-content: center; }
.banner-content-inner { max-width: 700px; color: var(--white); text-align: center; }
.banner-content-inner h2 { font-size: 42px; font-weight: 700; line-height: 1.25; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0,0,0,0.25); letter-spacing: 0.5px; }
.banner-content-inner .banner-sub { font-size: 20px; color: rgba(255,255,255,0.85); margin-bottom: 16px; font-weight: 400; letter-spacing: 1px; }
.banner-content-inner .banner-desc { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 28px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.banner-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.banner-btn { padding: 12px 30px; border-radius: var(--radius); font-size: 15px; font-weight: 600; transition: all var(--transition); border: 2px solid transparent; }
.banner-btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.banner-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.banner-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.banner-btn-outline:hover { background: #fff; color: var(--primary-dark); border-color: #fff; }
.banner-btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: transparent; backdrop-filter: blur(4px); }
.banner-btn-ghost:hover { background: rgba(255,255,255,0.2); }
.banner-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.banner-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); border: 2px solid rgba(255,255,255,0.5); cursor: pointer; transition: all var(--transition); padding: 0; }
.banner-dot.active { background: var(--white); border-color: var(--white); transform: scale(1.15); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--bg-light); padding: 45px 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 10px; }
.stat-num { font-size: 48px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-num .unit { font-size: 20px; font-weight: 600; }
.stat-label { font-size: 15px; color: var(--text-light); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.service-card { background: var(--white); border: 1px solid rgba(0,85,166,0.08); border-radius: var(--radius); padding: 35px 25px; text-align: center; transition: all var(--transition); cursor: pointer; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #0055A6, #1E90FF); border-radius: 10px 10px 0 0; opacity: 0; transition: opacity .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(0,85,166,0.2); }
.service-card:hover::before { opacity: 1; }
.service-card .icon { width: 64px; height: 64px; margin: 0 auto 20px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.service-card:hover .icon { background: var(--primary); }
.service-card .icon svg { width: 32px; height: 32px; fill: var(--primary); transition: fill var(--transition); }
.service-card:hover .icon svg { fill: var(--white); }
.service-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--text); }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 15px; }
.service-card .arrow { color: var(--primary); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.service-card .arrow::after { content: '\2192'; transition: transform var(--transition); }
.service-card:hover .arrow::after { transform: translateX(4px); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h3 { font-size: 26px; margin-bottom: 20px; color: var(--text); }
.about-text p { color: var(--text-light); font-size: 15px; line-height: 1.8; margin-bottom: 15px; }
.about-text .btn { margin-top: 10px; }
.about-img { border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); height: 350px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 18px; position: relative; }
.about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.news-featured { border-radius: var(--radius); overflow: hidden; background: var(--bg-light); }
.news-featured-img { height: 240px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); overflow: hidden; position: relative; }
.news-featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-featured-body { padding: 25px; }
.news-featured-body h3 { font-size: 20px; margin-bottom: 10px; }
.news-featured-body h3 a { color: var(--text); }
.news-featured-body h3 a:hover { color: var(--primary); }
.news-featured-body p { color: var(--text-light); font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
.news-featured-body .date { color: var(--text-muted); font-size: 13px; }

.news-list { display: flex; flex-direction: column; gap: 0; }
.news-list-item { padding: 18px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.news-list-item:first-child { padding-top: 0; }
.news-list-item:last-child { border-bottom: none; }
.news-list-item h4 { font-size: 15px; font-weight: 500; line-height: 1.5; flex: 1; }
.news-list-item h4 a { color: var(--text); }
.news-list-item h4 a:hover { color: var(--primary); }
.news-list-item .date { color: var(--text-muted); font-size: 13px; white-space: nowrap; }

.news-more { text-align: center; margin-top: 40px; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-track { overflow: hidden; position: relative; }
.partners-track::before,
.partners-track::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.partners-track::before { left: 0; background: linear-gradient(to right, #FBFCFE, transparent); }
.partners-track::after { right: 0; background: linear-gradient(to left, #FBFCFE, transparent); }
.partners-scroll { display: flex; gap: 40px; animation: partnerScroll 25s linear infinite; width: max-content; }
.partners-scroll:hover { animation-play-state: paused; }
.partner-item { width: 140px; height: 70px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-muted); font-weight: 500; filter: grayscale(100%); opacity: 0.7; transition: all var(--transition); flex-shrink: 0; }
.partner-item:hover { filter: grayscale(0%); opacity: 1; border-color: var(--primary); color: var(--primary); }
@keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   CONTACT / INQUIRY SECTION
   ============================================================ */
.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.inquiry-info h3 { font-size: 24px; margin-bottom: 20px; }
.inquiry-info p { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.8; margin-bottom: 15px; }
.inquiry-info .contact-list { margin-top: 20px; }
.inquiry-info .contact-list li { padding: 8px 0; color: rgba(255,255,255,0.85); font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.inquiry-info .contact-list li strong { color: var(--white); min-width: 70px; }

.inquiry-form { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 35px; backdrop-filter: blur(4px); }
.inquiry-form h3 { font-size: 20px; margin-bottom: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; padding: 11px 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); color: var(--white); font-size: 14px; transition: border var(--transition); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.12); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit { width: 100%; padding: 13px; background: var(--accent); color: var(--white); border: none; border-radius: var(--radius); font-size: 16px; font-weight: 600; cursor: pointer; transition: background var(--transition); }
.form-submit:hover { background: var(--accent-hover); }
.form-msg { margin-top: 12px; font-size: 14px; text-align: center; }
.form-msg.success { color: #52c41a; }
.form-msg.error { color: #ff4d4f; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { background: var(--bg-light); border-bottom: 1px solid var(--border); padding: 14px 0; font-size: 14px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; color: var(--border); }

/* ============================================================
   PAGE BANNER (legacy, kept for compat)
   ============================================================ */
.page-banner { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 60px 0; text-align: center; color: var(--white); }
.page-banner h1 { font-size: 32px; margin-bottom: 10px; }
.page-banner p { font-size: 15px; opacity: 0.8; }

/* ============================================================
   UNIFIED HERO (canvas particle fission)
   ============================================================ */
.site-hero { position: relative; height: 250px; overflow: hidden; background: linear-gradient(160deg, #001122 0%, #002244 40%, #001a33 100%); }
.site-hero-tall { height: 380px; }
.site-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.site-hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 20px; max-width: var(--wrap); margin: 0 auto; }
.site-hero h1 { font-size: 34px; margin-bottom: 10px; text-shadow: 0 2px 16px rgba(0,0,0,0.3); }
.site-hero-desc { font-size: 15px; opacity: 0.85; max-width: 750px; line-height: 1.7; margin-bottom: 20px; text-align: center; }
.site-hero .tags { display: flex; gap: 8px; margin-bottom: 16px; justify-content: center; }
.site-hero .tag { padding: 4px 14px; border-radius: 20px; font-size: 13px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(4px); }
.site-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.site-hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 24px; }
.site-hero-stats .stat { text-align: center; }
.site-hero-stats .stat-val { font-size: 36px; font-weight: 700; color: var(--accent); }
.site-hero-stats .stat-lbl { font-size: 13px; opacity: 0.7; margin-top: 4px; }

@media (max-width: 768px) {
    .site-hero { height: 200px; }
    .site-hero-tall { height: 260px; }
    .site-hero h1 { font-size: 22px; }
    .site-hero-desc { font-size: 13px; }
    .site-hero-stats { gap: 20px; }
    .site-hero-stats .stat-val { font-size: 28px; }
}

/* ============================================================
   CONTENT LAYOUT (sidebar + main)
   ============================================================ */
.content-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 35px; padding: 40px 0; }

/* Sidebar */
.sidebar { flex-shrink: 0; }
.sidebar-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 25px; }
.sidebar-box-title { background: var(--primary); color: var(--white); padding: 14px 20px; font-size: 16px; font-weight: 600; }
.sidebar-menu { padding: 8px 0; }
.sidebar-menu a { display: block; padding: 10px 20px; color: var(--text); font-size: 14px; border-left: 3px solid transparent; transition: all var(--transition); }
.sidebar-menu a:hover,
.sidebar-menu a.active { background: var(--bg-light); color: var(--primary); border-left-color: var(--primary); }
.sidebar-menu .sub { padding-left: 15px; }
.sidebar-menu .sub a { font-size: 13px; color: var(--text-light); padding: 8px 20px; }

/* Article list */
.article-list { display: flex; flex-direction: column; gap: 25px; }
.article-card { display: flex; gap: 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.article-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.article-card-img { width: 240px; min-height: 160px; flex-shrink: 0; background: var(--bg-light); overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 13px; }
.article-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-card-body h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.article-card-body h3 a { color: var(--text); }
.article-card-body h3 a:hover { color: var(--primary); }
.article-card-body .desc { color: var(--text-light); font-size: 14px; line-height: 1.7; flex: 1; margin-bottom: 10px; }
.article-card-body .meta { color: var(--text-muted); font-size: 13px; display: flex; gap: 15px; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 35px; }
.pagination a,
.pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text); transition: all var(--transition); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination .disabled { color: var(--text-muted); cursor: not-allowed; }
.pagination .info { border: none; font-size: 13px; color: var(--text-muted); }

/* ============================================================
   ARTICLE DETAIL
   ============================================================ */
.article-detail { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.article-detail h1 { font-size: 26px; margin-bottom: 15px; line-height: 1.4; }
.article-detail .meta { color: var(--text-muted); font-size: 14px; padding-bottom: 20px; margin-bottom: 25px; border-bottom: 1px solid var(--border); display: flex; gap: 20px; }
.article-detail .content { line-height: 1.9; font-size: 15px; color: var(--text); }
.article-detail .content p { margin-bottom: 15px; }
.article-detail .content img { max-width: 100%; border-radius: var(--radius); margin: 15px 0; }
.article-detail .content h2,
.article-detail .content h3 { margin: 25px 0 15px; }

.article-nav { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--border); font-size: 14px; }
.article-nav a { color: var(--text-light); max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-nav a:hover { color: var(--primary); }

/* Sidebar recommend */
.recommend-list a { display: block; padding: 10px 15px; font-size: 14px; color: var(--text); border-bottom: 1px dashed var(--border); line-height: 1.5; }
.recommend-list a:last-child { border-bottom: none; }
.recommend-list a:hover { color: var(--primary); background: var(--bg-light); }

/* ============================================================
   PRODUCT
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.product-card-img { height: 200px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 13px; overflow: hidden; position: relative; }
.product-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 16px; margin-bottom: 8px; }
.product-card-body h3 a { color: var(--text); }
.product-card-body h3 a:hover { color: var(--primary); }
.product-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 10px; }
.product-card-body .price { color: var(--accent); font-size: 16px; font-weight: 600; }

/* Product detail */
.product-detail { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.product-detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 35px; }
.product-detail-img { height: 350px; background: var(--bg-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.product-detail-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 { font-size: 24px; margin-bottom: 15px; }
.product-detail-info .price { font-size: 28px; color: var(--accent); font-weight: 700; margin-bottom: 20px; }
.product-detail-info .desc { color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }

/* ============================================================
   PAGE (about / contact)
   ============================================================ */
.page-content-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; line-height: 1.9; font-size: 15px; }
.page-content-box p { margin-bottom: 15px; }
.page-content-box img { max-width: 100%; border-radius: var(--radius); margin: 15px 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: linear-gradient(135deg, #001A33 0%, #003366 50%, #004080 100%); color: rgba(255,255,255,0.75); }
.footer-main { padding: 50px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h4 { color: var(--white); font-size: 17px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact li { font-size: 13px; line-height: 1.7; padding: 4px 0; }
/* Footer Social Icons */
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); transition: all var(--transition); }
.social-icon svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.6); transition: fill var(--transition); }
.social-icon:hover { background: var(--accent); }
.social-icon:hover svg { fill: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   MODAL (front-end)
   ============================================================ */
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:2000; align-items:center; justify-content:center; }
.modal-overlay.show { display:flex; }
.modal { background:#fff; border-radius:8px; max-width:90vw; max-height:85vh; overflow-y:auto; box-shadow:0 10px 40px rgba(0,0,0,0.2); }
.modal-header { padding:16px 20px; border-bottom:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; }
.modal-header h3 { font-size:17px; font-weight:600; }
.modal-close { background:none; border:none; font-size:24px; cursor:pointer; color:var(--text-muted); line-height:1; padding:0 4px; }
.modal-close:hover { color:var(--text); }
.modal-body { padding:20px; }

/* Top bar right links */
.top-bar-right { display:flex; align-items:center; gap:16px; }
.top-bar-right a { color:rgba(255,255,255,0.8); font-size:13px; display:flex; align-items:center; gap:4px; transition:color .2s; }
.top-bar-right a:hover { color:#fff; }
.top-bar-right .icon-svg { width:13px; height:13px; fill:currentColor; }

/* Nav CTA Button */
.nav-cta { display: inline-flex; align-items: center; padding: 6px 18px !important; margin-left: 8px; background: var(--accent); color: #fff !important; border-radius: 4px; font-size: 13px !important; font-weight: 600 !important; line-height: 1.5 !important; transition: all var(--transition); white-space: nowrap; }
.nav-cta:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Floating CTA */
.float-cta { position: fixed; right: 24px; bottom: 80px; z-index: 900; width: 52px; height: 52px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(255,102,0,0.35); transition: all .3s; overflow: hidden; text-decoration: none; }
.float-cta:hover { width: auto; border-radius: 26px; padding: 0 20px; }
.float-cta svg { flex-shrink: 0; }
.float-cta-text { max-width: 0; overflow: hidden; white-space: nowrap; color: #fff; font-size: 14px; font-weight: 600; margin-left: 0; transition: all .3s; }
.float-cta:hover .float-cta-text { max-width: 120px; margin-left: 8px; }
.float-cta.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.92); z-index:3000; align-items:center; justify-content:center; }
.lightbox-overlay.show { display:flex; }
.lightbox-content { text-align:center; max-width:90vw; max-height:85vh; }
.lightbox-content img { max-width:90vw; max-height:80vh; object-fit:contain; border-radius:4px; }
.lightbox-caption { color:rgba(255,255,255,0.8); font-size:14px; margin-top:12px; }
.lightbox-close { position:absolute; top:20px; right:24px; background:none; border:none; color:#fff; font-size:36px; cursor:pointer; z-index:10; line-height:1; padding:8px; }
.lightbox-close:hover { color:var(--accent); }
.lightbox-prev, .lightbox-next { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,0.1); border:none; color:#fff; font-size:48px; cursor:pointer; padding:10px 16px; z-index:10; border-radius:4px; transition:.2s; line-height:1; }
.lightbox-prev { left:20px; }
.lightbox-next { right:20px; }
.lightbox-prev:hover, .lightbox-next:hover { background:rgba(255,255,255,0.25); }

/* ============================================================
   FADE-IN SCROLL ANIMATIONS
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   GLOBAL CARD UPGRADES
   ============================================================ */
.service-card,
.home-prod-card,
.home-dc-card,
.home-news-card,
.home-why-card,
.feature-card,
.related-card {
    border: 1px solid rgba(0,85,166,0.08);
    position: relative;
}
.service-card:hover,
.home-prod-card:hover,
.home-dc-card:hover,
.home-news-card:hover,
.feature-card:hover,
.related-card:hover {
    border-color: rgba(0,85,166,0.2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1200px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-top { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }
    .top-bar { display: none; }

    .hamburger { display: flex; }
    .main-nav { position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: var(--white); flex-direction: column; padding-top: 70px; box-shadow: -4px 0 20px rgba(0,0,0,0.15); transition: right var(--transition); z-index: 1050; gap: 0; overflow-y: auto; }
    .main-nav.open { right: 0; }
    .main-nav > a,
    .main-nav > .nav-dropdown > .nav-dropdown-trigger { line-height: 50px !important; border-bottom: 1px solid var(--border); padding: 0 25px !important; }
    .main-nav > a::after,
    .main-nav > .nav-dropdown > .nav-dropdown-trigger::after { display: none !important; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; border-radius: 0; background: var(--bg-light); display: none; padding: 0; }
    .nav-dropdown.mobile-open .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu a { padding: 10px 25px 10px 40px !important; border-bottom: 1px solid var(--border); }
    .nav-lang .nav-dropdown-menu { left: 0; right: auto; transform: none; }

    .banner { height: 370px; }
    .banner-content-inner h2 { font-size: 28px; }
    .banner-content-inner .banner-sub { font-size: 16px; }
    .banner-content-inner .banner-desc { font-size: 14px; -webkit-line-clamp: 2; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-num { font-size: 36px; }

    .service-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .service-card { padding: 25px 15px; }

    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-img { height: 250px; }

    .news-grid { grid-template-columns: 1fr; }

    .inquiry-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; }

    .content-wrap { grid-template-columns: 1fr; gap: 25px; }
    .sidebar { order: 2; }

    .article-card { flex-direction: column; }
    .article-card-img { width: 100%; min-height: 180px; }

    .product-grid { grid-template-columns: 1fr 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom .wrap { flex-direction: column; gap: 8px; text-align: center; }

    .section { padding: 45px 0; }
    .section-title h2 { font-size: 24px; }
    .section-title { margin-bottom: 30px; }

    .page-banner { padding: 35px 0; }
    .page-banner h1 { font-size: 24px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 30px; }

    .service-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }

    .banner { height: 325px; }
    .banner-content-inner h2 { font-size: 22px; }
    .banner-content-inner .banner-sub { font-size: 14px; }
    .banner-content-inner .banner-desc { display: none; }
    .banner-btn { padding: 10px 22px; font-size: 13px; }

    .article-detail { padding: 20px; }
    .article-detail h1 { font-size: 20px; }
}
