/* =====================================================
   PTN Electronics - Public Website Styles
   Color scheme: Green only (no accent color)
   All accent references point to the green palette.
   ===================================================== */

/* CSS Variables
   ----
   Brand requirement: a SINGLE green tone (#009944) is used everywhere.
   No lighter / darker / tinted variants are exposed as separate tokens —
   any "depth" effect (hover, active, focus) is achieved via
   filter:brightness() or rgba() shadows off the single primary value.
*/
:root {
    --color-primary: #009944;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-border: #e0e0e0;
    --color-bg: #ffffff;
    --color-bg-light: #f5f7fa;
    --color-bg-dark: #f0f2f5;
    --color-success: #009944;
    --color-error: #d63638;
    --color-warning: #dba617;

    --container-width: 1200px;
    --header-height: 110px;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);

    --radius: 4px;
    --radius-lg: 8px;
    --transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    /* Font stack: Inter (loaded from Google Fonts) is the primary face for
       English / numbers. CJK glyphs fall through to the user's OS native
       CJK font, which keeps Chinese rendering sharp on every platform
       without us having to ship a CJK web font.
       - macOS / iOS  : SF Pro, then PingFang SC
       - Windows 10/11: Segoe UI, then Microsoft YaHei
       - Linux        : system default, then Noto Sans SC
       - Android      : Roboto, then Noto Sans SC */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial,
                 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
                 "Noto Sans SC", sans-serif;
    font-feature-settings: "cv11", "ss01", "ss03"; /* Inter stylistic alternates */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* ============== Typography ============== */
h1, h2, h3, h4, h5, h6 { margin: 0 0 15px; line-height: 1.3; color: var(--color-primary); font-weight: 600; }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
p { margin: 0 0 15px; }

.lead { font-size: 18px; color: var(--color-text-light); font-weight: 300; }

/* ============== Buttons ============== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn-primary:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--color-primary); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { display: block; width: 100%; }

/* ============== Header ============== */
.site-header { background: #fff; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }

.top-bar {
    background: var(--color-primary);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 8px 0;
}
.top-bar-info { display: flex; align-items: center; gap: 18px; }
/* Phone / Email contact chips in the top bar.
   Each chip has a small circular icon, then the value. */
.topbar-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.92);
}
.topbar-contact a { color: rgba(255,255,255,0.92); text-decoration: none; }
.topbar-contact a:hover { color: #fff; }
.topbar-contact i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 11px;
    transition: background 0.2s;
}
.topbar-contact:hover i { background: rgba(255,255,255,0.25); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar-info { gap: 22px; }
.top-bar-social { display: flex; align-items: center; gap: 14px; }
.top-bar-social a { color: rgba(255,255,255,0.85); font-size: 14px; }
.top-bar-social a:hover { color: var(--color-primary); }
.admin-link { font-size: 12px; opacity: 0.8; }

.main-nav .container { display: flex; align-items: center; height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; }
.logo img { height: 36px; width: auto; display: block; }
.logo:hover img { opacity: 0.85; }
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}
.logo-text em { font-style: normal; color: var(--color-primary); font-weight: 400; font-size: 18px; margin-left: 4px; }

.primary-nav { flex: 1; }
.primary-nav > ul { display: flex; gap: 5px; justify-content: flex-end; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
    display: block;
    padding: 10px 14px;
    color: var(--color-text);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > a.active {
    color: var(--color-primary);
}
.primary-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--color-primary);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 99;
}
.has-dropdown:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--color-text);
    font-size: 13px;
}
.submenu li a:hover { background: var(--color-bg-light); color: var(--color-primary); padding-left: 22px; }
.submenu li a i { color: var(--color-primary); width: 16px; }

/* Second-level submenu (Product line > Sub-series) */
.has-sub-dropdown { position: relative; }
.sub-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: var(--shadow);
    border-left: 3px solid var(--color-primary);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 100;
}
.has-sub-dropdown:hover .sub-submenu { opacity: 1; visibility: visible; transform: translateX(0); }
.sub-submenu li a {
    padding: 8px 18px;
    color: var(--color-text);
    font-size: 13px;
    display: block;
}
.sub-submenu li a:hover { background: var(--color-bg-light); color: var(--color-primary); padding-left: 22px; }
.sub-arrow { margin-left: auto !important; color: var(--color-text-muted) !important; width: auto !important; }

.btn-inquiry {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
}
.btn-inquiry:hover { background: var(--color-primary); color: #fff; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--color-primary);
}

/* ============== Hero / Banner ============== */
.hero { position: relative; overflow: hidden; }
.hero-slider { position: relative; }
.hero-slide {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: none;
    align-items: center;
}
.hero-slide.active { display: flex; }
.hero-content { max-width: 720px; padding: 60px 0; color: #fff; }
.hero-content h1 { color: #fff; font-size: 42px; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-content p { font-size: 17px; line-height: 1.6; margin-bottom: 30px; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero-dots .dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.hero-dots .dot.active { background: var(--color-primary); width: 30px; border-radius: 6px; }

/* ============== Sections ============== */
.section { padding: 70px 0; }
.section + .section { padding-top: 0; }
.section:nth-child(even) { background: var(--color-bg-light); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--color-text-light); max-width: 600px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 40px; }
.section-title-small { text-align: center; margin: 50px 0 30px; font-size: 24px; }

/* ============== Why Us ============== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--color-text-light); font-size: 14px; margin: 0; }

/* ============== Product Lines ============== */
.lines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.line-card {
    display: block;
    text-align: center;
    padding: 50px 30px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}
.line-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--color-primary); color: var(--color-text); }
.line-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #009944);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}
.line-card h3 { font-size: 20px; margin-bottom: 12px; }
.line-card p { color: var(--color-text-light); font-size: 14px; margin-bottom: 20px; }
.line-link { color: var(--color-primary); font-weight: 500; font-size: 14px; }

/* ============== Product Grid ============== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--color-text);
    border: 1px solid transparent;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--color-text); border-color: var(--color-primary); }
.product-image {
    position: relative;
    aspect-ratio: 1;
    background: #f8f9fa;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-placeholder {
    color: #ccc;
    font-size: 60px;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: #f8f9fa;
}
.product-badge {
    position: absolute;
    top: 10px; right: 10px;
    padding: 4px 10px;
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}
.badge-new { background: var(--color-primary); }
.badge-hot { background: var(--color-error); }

.product-info { padding: 20px; }
.product-cat { color: var(--color-primary); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }
.product-name { font-size: 16px; margin: 8px 0; color: var(--color-primary); line-height: 1.4; }
.product-model { color: var(--color-text-light); font-size: 12px; margin: 0 0 8px; }
.product-desc { color: var(--color-text-light); font-size: 13px; margin: 0 0 12px; line-height: 1.5; }

/* ============== Solutions ============== */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.solutions-grid-large { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.solution-card, .solution-card-large {
    display: block;
    background: #fff;
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.solution-card:hover, .solution-card-large:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--color-text); border-color: var(--color-primary); }
.solution-icon, .solution-icon-large {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--color-bg-light);
    color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.solution-icon-large { width: 90px; height: 90px; font-size: 36px; }
.solution-icon { font-size: 28px; }
.solution-card h3, .solution-card-large h3 { font-size: 18px; margin-bottom: 10px; }
.solution-card p, .solution-card-large p { color: var(--color-text-light); font-size: 14px; margin-bottom: 15px; }

/* ============== Stats ============== */
.stats-section { background: linear-gradient(135deg, var(--color-primary), var(--color-primary)) !important; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { padding: 20px; }
.stat-num { font-size: 48px; font-weight: 700; color: var(--color-primary); margin-bottom: 8px; line-height: 1; }
.stat-label { font-size: 15px; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 1px; }

/* ============== News ============== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--color-text);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--color-text); }
.news-image { position: relative; aspect-ratio: 16/9; background: #f0f2f5; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-image img { transform: scale(1.05); }
.news-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #ccc; font-size: 48px;
    background: linear-gradient(135deg, #f0f2f5, #e0e3e7);
}
.news-category-tag {
    position: absolute;
    top: 15px; left: 15px;
    padding: 4px 10px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-info { padding: 25px; }
.news-date { color: var(--color-text-muted); font-size: 12px; }
.news-date i { color: var(--color-primary); margin-right: 4px; }
.news-title { font-size: 17px; margin: 10px 0 12px; line-height: 1.4; color: var(--color-primary); }
.news-summary { color: var(--color-text-light); font-size: 14px; margin-bottom: 15px; line-height: 1.5; }

/* ============== CTA Section ============== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.cta-section p { font-size: 17px; max-width: 600px; margin: 0 auto 30px; opacity: 0.95; }
.cta-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

/* ============== Page Banner ============== */
.page-banner {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary));
    color: #fff;
    padding: 50px 0;
    text-align: center;
}
.page-banner h1 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.breadcrumb { font-size: 13px; opacity: 0.9; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span { margin: 0 5px; }

/* ============== Products Layout ============== */
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; }
.sidebar { background: #fff; padding: 25px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); height: fit-content; position: sticky; top: calc(var(--header-height) + 20px); }
.sidebar h3 { font-size: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--color-primary); margin-bottom: 15px; }
.category-tree li a {
    display: block;
    padding: 9px 12px;
    color: var(--color-text);
    font-size: 14px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.category-tree li a:hover,
.category-tree li a.active { background: var(--color-bg-light); color: var(--color-primary); padding-left: 16px; }
.category-tree li a i { color: var(--color-primary); margin-right: 8px; width: 16px; }
.category-tree li ul { padding-left: 20px; margin: 5px 0; }
.category-tree li ul a { font-size: 13px; padding: 6px 12px; }

.sidebar-cta { margin-top: 25px; padding: 20px; background: var(--color-bg-light); border-radius: var(--radius); }
.sidebar-cta h4 { font-size: 16px; margin-bottom: 8px; }
.sidebar-cta p { font-size: 13px; color: var(--color-text-light); margin-bottom: 12px; }

.products-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; }
.result-count { color: var(--color-text-light); font-size: 14px; margin: 0; }
.search-form-inline { display: flex; }
.search-form-inline input { padding: 8px 14px; border: 1px solid var(--color-border); border-right: none; border-radius: var(--radius) 0 0 var(--radius); font-size: 14px; min-width: 200px; outline: none; }
.search-form-inline input:focus { border-color: var(--color-primary); }
.search-form-inline button { background: var(--color-primary); color: #fff; border: none; padding: 8px 14px; border-radius: 0 var(--radius) var(--radius) 0; }
.search-form-inline button:hover { background: var(--color-primary); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-link {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}
.pagination .page-link:hover { background: var(--color-bg-light); color: var(--color-primary); }
.pagination .page-link.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ============== Product Detail ============== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.product-gallery { }
.gallery-main { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.gallery-thumbs img { width: 80px; height: 80px; object-fit: cover; border: 2px solid var(--color-border); border-radius: var(--radius); cursor: pointer; transition: var(--transition); }
.gallery-thumbs img:hover { border-color: var(--color-primary); }
.gallery-thumbs img.active { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(0,153,68,0.2); }

.product-detail-info { }
.product-detail-info .product-cat { font-size: 13px; }
.product-detail-info h1 { font-size: 28px; margin: 10px 0; }
.product-model-detail { color: var(--color-text-light); font-size: 14px; margin-bottom: 20px; }
.product-detail-desc { color: var(--color-text); font-size: 15px; line-height: 1.7; padding: 15px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin: 20px 0; }

.feature-list { margin: 20px 0; }
.feature-list li { padding: 6px 0; color: var(--color-text); font-size: 14px; display: flex; gap: 10px; }
.feature-list li i { color: var(--color-success); margin-top: 4px; flex-shrink: 0; }

.product-actions { display: flex; gap: 10px; margin: 25px 0; flex-wrap: wrap; }
.product-meta { display: flex; gap: 25px; padding-top: 20px; border-top: 1px solid var(--color-border); flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 6px; color: var(--color-text-light); font-size: 13px; }
.meta-item i { color: var(--color-primary); }

/* Product Tabs */
.product-tabs { margin: 50px 0; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--color-border); margin-bottom: 30px; }
.tab-btn {
    padding: 12px 30px;
    background: none;
    border: none;
    font-size: 16px;
    color: var(--color-text-light);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    font-weight: 500;
}
.tab-btn:hover, .tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.tabs-content { }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p, .tab-panel li { color: var(--color-text); line-height: 1.8; }
.tab-panel table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.tab-panel table th, .tab-panel table td { padding: 12px 15px; border: 1px solid var(--color-border); text-align: left; }
.tab-panel table th { background: var(--color-bg-light); font-weight: 600; color: var(--color-primary); }
.tab-panel table tr:hover td { background: var(--color-bg-light); }

/* ============== Single Content ============== */
.single-content { max-width: 900px; margin: 0 auto; }
.single-content h2 { margin-top: 30px; }
.single-content h3 { margin-top: 25px; }
.single-content p { line-height: 1.8; margin-bottom: 18px; }
.single-content ul, .single-content ol { padding-left: 25px; margin-bottom: 20px; }
.single-content ul li, .single-content ol li { list-style: disc; line-height: 1.8; margin-bottom: 5px; }
.single-content ol li { list-style: decimal; }
.single-content address { font-style: normal; line-height: 1.8; }

.about-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 50px; }
.about-feature { text-align: center; padding: 30px 15px; background: var(--color-bg-light); border-radius: var(--radius-lg); }
.about-feature i { font-size: 36px; color: var(--color-primary); margin-bottom: 15px; }
.about-feature h3 { font-size: 16px; margin-bottom: 10px; }
.about-feature p { font-size: 13px; color: var(--color-text-light); margin: 0; }

/* ============== Contact ============== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--color-text-light); margin-bottom: 30px; line-height: 1.7; }
.contact-info-item { display: flex; gap: 20px; margin-bottom: 25px; }
.contact-info-item i { width: 50px; height: 50px; border-radius: 50%; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.contact-info-item h4 { font-size: 16px; margin: 0 0 5px; }
.contact-info-item p { color: var(--color-text-light); margin: 0; line-height: 1.6; font-size: 14px; }
.contact-info-item a { color: var(--color-text-light); }
.contact-info-item a:hover { color: var(--color-primary); }

.contact-form-wrapper { background: #fff; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-form-wrapper h2 { margin-bottom: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--color-text); }
.required { color: var(--color-error); }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px rgba(0, 102, 168, 0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; border-left: 4px solid; font-size: 14px; }
.alert-success { background: #e8f5e9; border-color: var(--color-success); color: #1b5e20; }
.alert-error { background: #ffebee; border-color: var(--color-error); color: #b71c1c; }
.alert-info { background: #e3f2fd; border-color: var(--color-primary); color: #0d47a1; }

/* ============== News Detail ============== */
.news-article { max-width: 800px; margin: 0 auto; background: #fff; padding: 50px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.news-article-header { text-align: center; margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid var(--color-border); }
.news-article-header h1 { font-size: 30px; margin: 15px 0; }
.news-meta { display: flex; justify-content: center; gap: 20px; color: var(--color-text-light); font-size: 13px; flex-wrap: wrap; }
.news-meta i { color: var(--color-primary); margin-right: 4px; }
.news-article-image { width: 100%; max-height: 450px; object-fit: cover; border-radius: var(--radius); margin-bottom: 30px; }
.news-article-body { font-size: 16px; line-height: 1.8; }
.news-article-body p { margin-bottom: 18px; }
.news-article-body h2, .news-article-body h3 { margin-top: 30px; }
.news-article-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 15px 0; }
.news-article-body ul, .news-article-body ol { padding-left: 25px; margin-bottom: 20px; }
.news-article-body ul li { list-style: disc; }
.news-article-body ol li { list-style: decimal; }

.related-news { margin-top: 50px; }

/* ============== News Filter ============== */
.news-filter { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.news-filter a { padding: 8px 18px; border-radius: 20px; color: var(--color-text); background: #fff; border: 1px solid var(--color-border); font-size: 14px; transition: var(--transition); }
.news-filter a:hover, .news-filter a.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ============== Empty State ============== */
.empty-state { text-align: center; padding: 80px 20px; color: var(--color-text-light); }
.empty-state i { font-size: 60px; color: var(--color-border); margin-bottom: 20px; }
.empty-state h3 { color: var(--color-text); margin-bottom: 10px; }

/* ============== Solution Detail ============== */
.solution-hero { text-align: center; padding: 40px 0; border-bottom: 1px solid var(--color-border); margin-bottom: 30px; }
.solution-body { font-size: 16px; line-height: 1.8; }
.solution-body p { margin-bottom: 18px; }
.solution-cta { text-align: center; margin-top: 50px; padding: 40px; background: var(--color-bg-light); border-radius: var(--radius-lg); }
.solution-cta h3 { margin-bottom: 10px; }
.solution-cta p { color: var(--color-text-light); margin-bottom: 20px; }

/* ============== Footer ============== */
.site-footer { background: #1a2a3a; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--color-primary); }
.footer-col p { line-height: 1.7; font-size: 14px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col ul a:hover { color: var(--color-primary); padding-left: 4px; }
.cert-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.badge { padding: 4px 10px; background: rgba(255,255,255,0.1); border-radius: 3px; font-size: 12px; color: #fff; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; font-size: 14px; }
.contact-list li i { color: var(--color-primary); margin-top: 4px; flex-shrink: 0; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--color-primary); }

.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--color-primary); }

/* ============== Floating & Back to top ============== */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 45px; height: 45px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-primary); color: #fff; transform: translateY(-3px); }

.floating-inquiry {
    display: none;
    position: fixed;
    bottom: 90px; right: 30px;
    width: 55px; height: 55px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    align-items: center; justify-content: center;
    font-size: 20px;
    z-index: 99;
    box-shadow: var(--shadow);
    animation: pulse 2s infinite;
}
.floating-inquiry:hover { color: #fff; transform: scale(1.05); }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(255, 102, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}

/* ============== Responsive ============== */
@media (max-width: 1024px) {
    .primary-nav > ul > li > a { padding: 10px 8px; font-size: 13px; }
    .features-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .lines-grid, .solutions-grid, .solutions-grid-large { grid-template-columns: repeat(2, 1fr); }
    .products-grid, .news-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    .section { padding: 50px 0; }

    .top-bar { display: none; }
    .main-nav .container { height: 60px; }
    .logo-text { font-size: 20px; }
    .logo-text em { font-size: 14px; }

    .mobile-toggle { display: block; }
    .primary-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        z-index: 99;
    }
    .primary-nav.open { max-height: 80vh; overflow-y: auto; }
    .primary-nav > ul { flex-direction: column; gap: 0; padding: 0; }
    .primary-nav > ul > li { width: 100%; border-bottom: 1px solid var(--color-border); }
    .primary-nav > ul > li > a { padding: 12px 20px; }
    .primary-nav .submenu {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none;
        border-top: none;
        background: var(--color-bg-light);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        padding: 0;
    }
    .has-dropdown.open .submenu { max-height: 800px; padding: 8px 0; }
    .has-sub-dropdown .sub-submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-left: none; max-height: 0; overflow: hidden; transition: max-height 0.3s; }
    .has-sub-dropdown.open .sub-submenu { max-height: 1000px; padding: 4px 0 4px 20px; }
    .btn-inquiry { display: none; }

    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .hero-slide { min-height: 400px; }

    .features-grid, .lines-grid, .solutions-grid, .solutions-grid-large, .products-grid, .news-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .products-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .news-article { padding: 25px; }
    .news-article-header h1 { font-size: 22px; }
    .contact-form-wrapper { padding: 25px; }
    .floating-inquiry { display: flex; }
    .section-header h2 { font-size: 24px; }

    .stat-num { font-size: 36px; }
}
