:root {
    --primary: #0a2d5e;
    --primary-dark: #071e3f;
    --primary-light: #1a4a8a;
    --accent: #3b82f6;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: .3s ease;
}

*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    margin: 0;
}

img { max-width: 100%; height: auto; }

/* ── Top Bar ── */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,.7);
    font-size: 13px;
    padding: 6px 0;
}
.top-bar a { color: rgba(255,255,255,.7); transition: color var(--transition); text-decoration: none; }
.top-bar a:hover { color: var(--white); }
.top-bar-right strong { color: #fff; }

/* ── Header ── */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100px;
}
.logo img {
    max-height: 80px;
    width: auto;
    display: block;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
    flex-shrink: 0;
    padding: 10px 0;
}
.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}
.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--primary);
}
.logo-text span {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
    flex-shrink: 0;
}
.header-phone i { font-size: 20px; color: var(--accent); }
.header-phone strong {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

/* ── Navigation ── */
.main-nav {
    background: var(--primary);
    position: relative;
    z-index: 99;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    justify-content: center;
}
.nav-list li { position: relative; }
.nav-list li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 22px;
    height: 50px;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
}
.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
    transition: width var(--transition);
}
.nav-list li a:hover,
.nav-list li a.active {
    color: var(--white);
    background: rgba(255,255,255,.1);
}
.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 60%;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
}

/* ── Banner / Hero ── */
.banner {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: var(--primary-dark);
}
.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.banner-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .8s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-slide.active { opacity: 1; }
.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10,45,94,.8) 0%, rgba(10,45,94,.4) 100%);
}
.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    padding: 0 24px;
}
.banner-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.banner-content p {
    font-size: 18px;
    opacity: .9;
    margin-bottom: 28px;
    line-height: 1.7;
}
.banner-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: all var(--transition);
}
.banner-dots span.active {
    background: var(--white);
    transform: scale(1.2);
}
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-arrow:hover { background: rgba(255,255,255,.3); }
.banner-arrow.prev { left: 24px; }
.banner-arrow.next { right: 24px; }

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 14px rgba(59,130,246,.4);
    line-height: 1.4;
}
.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59,130,246,.5);
    color: #fff;
}
.btn-primary:visited{
    color: #fff;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1.4;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 14px rgba(0,0,0,.1);
    line-height: 1.4;
}
.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    color: var(--primary);
}

/* ── Section Styles ── */
.section {
    padding: 72px 0;
}
.section-gray { background: var(--gray-50); }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 3px;
}
.section-header p {
    font-size: 15px;
    color: var(--gray-500);
    margin-top: 8px;
}

/* ── Product Grid ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-grid-list { grid-template-columns: repeat(3, 1fr); }
.empty-state {
    padding: 48px 24px;
    background: var(--gray-50);
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-500);
    text-align: center;
}
.pagination-wrap { margin-top: 36px; text-align: center; }
.pagination { display: inline-flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.pagination li a,
.pagination li span {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    text-decoration: none;
    background: #fff;
}
.pagination li.active span,
.pagination li a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination li.disabled span { color: var(--gray-400); background: var(--gray-50); }
.article-detail,
.article-body {
    background: #fff;
    border-radius: var(--radius-md);
    color: var(--gray-700);
    line-height: 1.9;
}
.article-detail { padding: 32px; box-shadow: var(--shadow-sm); }
.article-head { text-align: center; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--gray-200); }
.article-head h1 { color: var(--primary); font-size: 30px; margin: 0 0 14px; }
.article-body h2,
.article-body h3 { color: var(--primary); margin: 24px 0 12px; }
.article-body p { margin: 0 0 14px; }
.article-body img { border-radius: var(--radius-md); margin: 12px 0; }
.article-prev-next { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--gray-200); color: var(--gray-500); }
.article-prev-next a { color: var(--primary); text-decoration: none; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-100);
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.product-card:hover .product-card-img img {
    transform: scale(1.08);
}
.product-card-body {
    padding: 16px 20px 20px;
}
.product-card-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card-body p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* ── About Intro ── */
.about-intro {
    display: flex;
    align-items: center;
    gap: 48px;
}
.about-intro-img {
    flex: 0 0 460px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.about-intro-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}
.about-intro-img::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: -1;
    pointer-events: none;
}
.about-intro-text {
    flex: 1;
    min-width: 0;
}
.about-intro-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.4;
}
.about-intro-text p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 10px;
}
.about-intro-text p:last-child{
    margin-bottom: 15px;
}
/* ── News Section (Homepage) ── */
.news-home {
    display: flex;
    gap: 32px;
    align-items: stretch;
}
.news-list-home {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}
.news-item-home {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}
.news-item-home:first-child { padding-top: 0; }
.news-item-home:last-child { border-bottom: none; }
.news-item-home:hover { padding-left: 8px; }
.news-item-home .date-box {
    flex: 0 0 60px;
    text-align: center;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 8px 4px;
    border: 1px solid var(--gray-200);
}
.news-item-home .date-box .day {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    display: block;
}
.news-item-home .date-box .month {
    font-size: 12px;
    color: var(--gray-500);
    display: block;
}
.news-item-home .info {
    flex: 1;
    min-width: 0;
}
.news-item-home .info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 4px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-item-home .info p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-img-home {
    flex: 0 0 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.news-img-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.news-img-home:hover img {
    transform: scale(1.05);
}

/* ── News List Page ── */
.news-list-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.news-card {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}
.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.news-card-img {
    flex: 0 0 280px;
    overflow: hidden;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.news-card:hover .news-card-img img {
    transform: scale(1.05);
}
.news-card-body {
    flex: 1;
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.news-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 10px;
}
.news-card-body p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-meta {
    font-size: 13px;
    color: var(--gray-400);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.news-card-meta i { margin-right: 4px; }

/* ── News Detail ── */
.article-container {
    max-width: 800px;
    margin: 0 auto;
}
.article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}
.article-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.4;
}
.article-meta {
    font-size: 13px;
    color: var(--gray-400);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.article-meta i { margin-right: 4px; }
.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray-700);
}
.article-body p { margin-bottom: 18px; }
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 16px 0;
    display: block;
}
.article-body h2 {
    font-size: 22px;
    color: var(--gray-800);
    margin: 28px 0 12px;
}
.article-body h3 {
    font-size: 18px;
    color: var(--gray-800);
    margin: 24px 0 10px;
}
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}
.article-nav a {
    font-size: 14px;
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition);
    line-height: 1.6;
}
.article-nav a:hover { color: var(--accent); }

/* ── Sidebar ── */
.page-with-sidebar {
    display: flex;
    gap: 32px;
}
.page-main { flex: 1; min-width: 0; }
.page-sidebar {
    flex: 0 0 280px;
}
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 24px;
}
.sidebar-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-list li a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: var(--gray-600);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.sidebar-list li a:hover,
.sidebar-list li a.active {
    color: var(--accent);
    padding-left: 6px;
}
.sidebar-list li:last-child a { border-bottom: none; }

/* ── Contact / Message Form ── */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.contact-info-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.contact-info-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.contact-info-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 8px;
}
.contact-info-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.7;
}
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
}
.form-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 8px;
    text-align: center;
}
.form-card .form-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 28px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-800);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    background: var(--white);
    font-family: inherit;
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Advantage Grid (About Page) ── */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.factory-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.factory-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.factory-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.factory-card-body {
    padding: 16px 20px;
    background: #fff;
}
.factory-card-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 4px;
}
.factory-card-body p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}
.history-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}
.history-year {
    flex: 0 0 80px;
    text-align: center;
}
.history-year .year-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto;
}
.history-content {
    flex: 1;
    padding-top: 8px;
}
.history-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 6px;
}
.history-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

/* ── Footer ── */
.site-footer {
    background: var(--gray-900);
    color: rgba(255,255,255,.7);
}
.footer-main {
    padding: 56px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: background var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: all var(--transition);
    display: inline-block;
}
.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}
.footer-links a i {
    margin-right: 6px;
    font-size: 12px;
}
.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
}
.footer-contact-item i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.4);
}
.footer-bottom a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ── Page Banner ── */
.page-banner {
    height: 260px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,.03);
    pointer-events: none;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.02);
    pointer-events: none;
}
.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}
.page-banner-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px;
}
.breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,.6);
}
.breadcrumb a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 8px; }

/* ── Pagination ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-600);
    text-decoration: none;
    transition: all var(--transition);
}
.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination .active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* ── Product Detail ── */
.product-detail-top {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
}
.product-gallery {
    flex: 0 0 480px;
}
.product-gallery-main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-50);
    margin-bottom: 12px;
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .2s ease;
}
.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
    display: block;
}
.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
    border-color: var(--accent);
}
.product-info {
    flex: 1;
    min-width: 0;
}
.product-info h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 16px;
}
.product-info .desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}
.product-info .info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.product-info .info-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    color: var(--gray-600);
    display: flex;
    align-items: baseline;
}
.product-info .info-list li strong {
    flex: 0 0 100px;
    color: var(--gray-800);
}
.product-detail-tabs {
    margin-top: 16px;
}
.product-detail-tabs .tab-header {
    border-bottom: 2px solid var(--primary);
    margin-bottom: 24px;
}
.product-detail-tabs .tab-header span {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.related-products h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 24px;
}

/* ── FAQ Accordion ── */
.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 15px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition);
    user-select: none;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question i.ri-question-line { color: var(--accent); }
.faq-question i.ri-arrow-down-s-line {
    margin-left: auto;
    transition: transform var(--transition);
    color: var(--gray-400);
}
.faq-item.open .faq-question i.ri-arrow-down-s-line {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-answer {
    padding: 16px 24px;
    max-height: 300px;
}
.faq-answer p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.8;
    margin: 0;
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* ── Spinner animation ── */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Scroll animation ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */

/* ── Tablet Landscape (≤1024px) ── */
@media (max-width: 1024px) {
    .nav-list li a {
        padding: 0 16px;
        font-size: 14px;
    }
    .about-intro { flex-direction: column; }
    .about-intro-img { flex: none; width: 100%; }
    .about-intro-img::after { display: none; }
    .news-home { flex-direction: column; }
    .news-img-home { flex: none; width: 100%; height: 280px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .product-detail-top { flex-direction: column; }
    .product-gallery { flex: none; width: 100%; max-width: 500px; }
    .page-with-sidebar { flex-direction: column; }
    .page-sidebar { flex: none; width: 100%; order: 2; }
    .page-main { order: 1; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .factory-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet Portrait (≤768px) ── */
@media (max-width: 768px) {
    .top-bar { font-size: 12px; }
    .top-bar .top-bar-left { display: none; }

    .header-inner { height: 64px; }
    .logo { padding: 7px 0; }
    .logo img { max-height: 50px; }
    .header-phone .phone-label { display: none; }
    .header-phone strong { font-size: 17px; }

    .menu-toggle { display: block; }
    .nav-inner { justify-content: flex-end; }
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        box-shadow: var(--shadow-lg);
        z-index: 98;
    }
    .nav-list.open { display: flex; }
    .nav-list li a {
        padding: 0 24px;
        height: 46px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .nav-list li a::after { display: none; }
    .nav-list li:last-child a { border-bottom: none; }

    .banner { height: 380px; }
    .banner-content h2 { font-size: 28px; }
    .banner-content p { font-size: 15px; margin-bottom: 20px; }
    .banner-arrow { display: none; }

    .section { padding: 48px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 26px; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .about-intro-text h3 { font-size: 22px; }

    .contact-info-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 28px 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    .news-card { flex-direction: column; }
    .news-card-img { flex: none; height: 200px; }
    .news-card-body { padding: 16px; }

    .article-header h1 { font-size: 22px; }
    .article-body { font-size: 15px; }
    .article-nav { flex-direction: column; gap: 12px; }

    .page-banner { height: 200px; }
    .page-banner-content h2 { font-size: 26px; }

    .advantage-grid { grid-template-columns: 1fr; }
    .factory-grid { grid-template-columns: 1fr; }
    .history-item { gap: 16px; }
    .history-year { flex: 0 0 60px; }
    .history-year .year-badge { width: 50px; height: 50px; font-size: 15px; }

    .product-info h1 { font-size: 22px; }
    .product-info .info-list li strong { flex: 0 0 80px; }

    .related-products .product-grid,
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
    .header-inner { height: 56px; padding: 0 16px; }
    .logo { padding: 6px 0; }
    .logo img { max-height: 44px; }
    .logo-icon { width: 36px; height: 36px; font-size: 16px; }
    .logo-text h1 { font-size: 16px; }
    .logo-text span { font-size: 10px; letter-spacing: 1px; }
    .header-phone i { font-size: 18px; }
    .header-phone strong { font-size: 15px; }

    .container { padding: 0 16px; }

    .banner { height: 260px; }
    .banner-content h2 { font-size: 22px; }
    .banner-content p { font-size: 14px; margin-bottom: 16px; }
    .btn-white { padding: 10px 24px; font-size: 14px; }
    .banner-dots span { width: 10px; height: 10px; }
    .banner-dots { bottom: 16px; }

    .section { padding: 36px 0; }
    .section-header { margin-bottom: 24px; }
    .section-header h2 { font-size: 22px; }
    .section-header p { font-size: 13px; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card-body { padding: 10px 12px 14px; }
    .product-card-body h3 { font-size: 13px; margin-bottom: 4px; }
    .product-card-body p { font-size: 12px; -webkit-line-clamp: 1; }

    .about-intro-text h3 { font-size: 20px; }
    .about-intro-text p { font-size: 14px; }
    .btn-primary { padding: 10px 24px; font-size: 14px; }

    .news-item-home .date-box { flex: 0 0 50px; }
    .news-item-home .date-box .day { font-size: 18px; }
    .news-item-home .info h4 { font-size: 14px; }
    .news-item-home .info p { font-size: 12px; }
    .news-img-home { height: 200px; }

    .page-banner { height: 160px; }
    .page-banner-content h2 { font-size: 22px; }
    .breadcrumb { font-size: 12px; }

    .form-card { padding: 20px 16px; }
    .form-card h3 { font-size: 18px; }

    .footer-main { padding: 36px 0 28px; }
    .footer-col h4 { font-size: 15px; margin-bottom: 14px; }
    .footer-links a { font-size: 13px; }
    .footer-contact-item { font-size: 13px; }
    .footer-bottom { font-size: 12px; padding: 14px 0; }

    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 16px; }

    .related-products .product-grid,
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-top { gap: 24px; }
    .product-gallery-thumbs img { width: 64px; height: 64px; }

    .news-card-img { height: 180px; }
    .news-card-body h3 { font-size: 16px; }
}
