/* ============================================
   Hightek Group — style.css  (Redesign: Clean Professional White)
   Brand Red #E60819 · light, airy, premium B2B
   ============================================ */

:root {
    --red: #E60819;
    --red-dark: #C20015;
    --red-soft: #FCE9EB;
    --ink: #15181D;
    --ink-2: #2C313A;
    --grey: #59606B;
    --grey-2: #8A929E;
    --line: #E7E9ED;
    --white: #FFFFFF;
    --bg-soft: #F6F8FA;
    --bg-soft-2: #EEF1F5;

    --nav-h: 76px;
    --maxw: 1200px;

    --font-zh: 'Noto Sans TC', sans-serif;
    --font-en: 'Inter', sans-serif;

    --transition: 0.35s cubic-bezier(.4, 0, .2, 1);
    --shadow-sm: 0 1px 2px rgba(20,24,30,.04), 0 6px 20px rgba(20,24,30,.05);
    --shadow-md: 0 10px 30px rgba(20,24,30,.09);
    --shadow-lg: 0 24px 60px rgba(20,24,30,.14);
    --radius: 14px;
    --radius-sm: 10px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
    font-family: var(--font-zh);
    color: var(--ink);
    background: var(--white);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

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

/* Language Specific Fonts */
html[lang="th"] { font-family: 'Noto Sans Thai', var(--font-zh); }
html[lang="ja"] { font-family: 'Noto Sans JP', var(--font-zh); }
html[lang="ko"] { font-family: 'Noto Sans KR', var(--font-zh); }

/* ============================================
   NAVBAR  (transparent over hero → white on scroll)
   ============================================ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
#navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(20,24,30,.06);
    height: 66px;
}
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo img { height: 38px; width: auto; transition: height var(--transition); }
#navbar.scrolled .nav-logo img { height: 34px; }
.nav-brand {
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    transition: color var(--transition);
}
#navbar.scrolled .nav-brand { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    transition: color var(--transition);
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--red);
    transition: width var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--grey); }
#navbar.scrolled .nav-links a:hover { color: var(--red); }

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    margin-left: 14px;
    border-left: 1px solid rgba(255,255,255,0.22);
    padding-left: 18px;
    transition: border-color var(--transition);
}
#navbar.scrolled .lang-dropdown { border-left-color: var(--line); }
.lang-dropbtn {
    background: none; border: none;
    color: rgba(255,255,255,0.85);
    font-size: 0.84rem; font-weight: 500;
    cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    padding: 6px 0;
    font-family: inherit;
    transition: color var(--transition);
}
.lang-dropbtn i:first-child { font-size: 0.92rem; color: var(--red); }
.lang-dropbtn i:last-child { font-size: 0.68rem; opacity: 0.6; }
.lang-dropdown:hover .lang-dropbtn { color: #fff; }
#navbar.scrolled .lang-dropbtn { color: var(--grey); }
#navbar.scrolled .lang-dropdown:hover .lang-dropbtn { color: var(--ink); }

.lang-dropdown-content {
    position: absolute;
    top: 100%; right: 0;
    min-width: 150px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.lang-dropdown:hover .lang-dropdown-content { opacity: 1; visibility: visible; transform: translateY(8px); }
.lang-dropdown-content .lang-btn {
    display: block; width: 100%;
    background: none; border: none;
    text-align: left;
    padding: 9px 14px;
    font-size: 0.86rem;
    color: var(--ink-2);
    cursor: pointer;
    border-radius: 7px;
    font-family: inherit;
    transition: background var(--transition), color var(--transition);
}
.lang-dropdown-content .lang-btn:hover { background: var(--bg-soft); color: var(--red); }
.lang-dropdown-content .lang-btn.active { color: var(--red); font-weight: 700; background: var(--red-soft); }

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

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('../images/hero-bg.webp') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(13,15,20,.78) 0%, rgba(13,15,20,.50) 42%, rgba(13,15,20,.30) 100%),
        radial-gradient(ellipse at 72% 42%, rgba(230,8,25,0.18) 0%, transparent 58%);
}
.hero::after {     /* fade into the white content below */
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 22%;
    background: linear-gradient(to top, #fff 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 0 28px;
    margin-bottom: 4vh;
}
.hero-label {
    font-family: var(--font-en);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 6px;
    color: #fff;
    margin-bottom: 22px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.hero-label::before, .hero-label::after {
    content: '';
    width: 28px; height: 2px;
    background: var(--red);
    display: inline-block;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 22px;
    line-height: 1.18;
}
.hero-sub {
    font-size: clamp(1.02rem, 2vw, 1.32rem);
    color: rgba(255,255,255,0.86);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}
.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 38px;
    background: var(--red);
    color: #fff;
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(230,8,25,.32);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-hero:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 16px 38px rgba(230,8,25,.42); }
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1.5px solid rgba(255,255,255,0.55);
    border-radius: 50px;
    backdrop-filter: blur(4px);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.18); border-color: #fff; transform: translateY(-3px); }

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    animation: hero-bounce 2s ease-in-out infinite;
}
@keyframes hero-bounce {
    0%,100% { transform: translate(-50%, 0); opacity: .55; }
    50%     { transform: translate(-50%, 9px); opacity: 1; }
}

/* ============================================
   STATS  (floating card overlapping hero)
   ============================================ */
.stats {
    position: relative;
    z-index: 5;
    margin-top: -70px;
    padding: 0 28px 0;
}
.stats .container {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 36px 24px;
}
.stat-item { flex: 1; min-width: 150px; text-align: center; padding: 8px 24px; }
.stat-number {
    font-family: var(--font-en);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -1px;
}
.stat-number span { font-size: 1.05rem; font-weight: 500; color: var(--red); letter-spacing: 0; }
.stat-label { font-size: 0.85rem; color: var(--grey); margin-top: 10px; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 52px; background: var(--line); flex-shrink: 0; }

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section { padding: 84px 0; }
.section-grey { background: var(--bg-soft); }
/* tighten only the About↔Global seam (white-on-white, no divider) */
.section.about { padding-bottom: 48px; }
.section.global { padding-top: 48px; }

.section-label {
    font-family: var(--font-en);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-label::before {
    content: '';
    width: 26px; height: 2px;
    background: var(--red);
    display: inline-block;
}
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }
.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 44px;
    letter-spacing: 0;
    line-height: 1.3;
}
.section-title.center { text-align: center; }
.center { text-align: center; }

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.about-text .section-title { margin-bottom: 28px; }
.about-text p { color: var(--grey); margin-bottom: 20px; font-size: 1rem; }
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    padding: 13px 34px;
    border: 1.5px solid var(--red);
    color: var(--red);
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
    transition: all var(--transition);
}
.btn-outline::after { content: '\2192'; transition: transform var(--transition); }
.btn-outline:hover { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(230,8,25,.28); }
.btn-outline:hover::after { transform: translateX(4px); }

.about-img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 64px; height: 64px;
    border-left: 4px solid var(--red);
    border-bottom: 4px solid var(--red);
    border-bottom-left-radius: var(--radius);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 52px;
}
.pillar {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--red-soft);
    color: var(--red);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    transition: background var(--transition), color var(--transition);
}
.pillar:hover .pillar-icon { background: var(--red); color: #fff; }
.pillar-body { flex: 1; min-width: 0; }
.pillar h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.pillar p { font-size: 0.9rem; color: var(--grey); line-height: 1.7; }

/* ============================================
   GLOBAL — world map + factory cards
   ============================================ */
.worldmap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 48px;
}
.worldmap-inner {
    position: relative;
    width: 100%;
}
.worldmap-img { width: 100%; height: auto; display: block; }

.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 14px; height: 14px;
    cursor: default;
    z-index: 2;
}
.map-marker i {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 3px rgba(230,8,25,.18);
    display: block;
}
.map-marker::before {     /* pulse ring */
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: rgba(230,8,25,.55);
    transform: translate(-50%, -50%);
    animation: map-pulse 2.4s ease-out infinite;
    z-index: -1;
}
@keyframes map-pulse {
    0%   { width: 14px; height: 14px; opacity: .6; }
    100% { width: 46px; height: 46px; opacity: 0; }
}
.map-marker .map-name {
    position: absolute;
    left: 50%; bottom: 150%;
    transform: translateX(-50%) translateY(6px);
    white-space: nowrap;
    background: var(--ink);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    z-index: 5;
}
.map-marker .map-name::after {
    content: '';
    position: absolute;
    left: 50%; top: 100%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--ink);
}
.map-marker:hover .map-name { opacity: 1; transform: translateX(-50%) translateY(0); }
.map-marker:hover i { box-shadow: 0 0 0 5px rgba(230,8,25,.22); }

/* HQ marker — larger, with permanent star + label */
.map-marker.hq { width: 18px; height: 18px; z-index: 4; }
.map-marker.hq i { background: var(--red); box-shadow: 0 0 0 4px rgba(230,8,25,.22), 0 2px 8px rgba(0,0,0,.25); }
.map-marker.hq i::after {
    content: '\2605';
    position: absolute;
    inset: 0;
    color: #fff;
    font-size: 9px;
    display: flex; align-items: center; justify-content: center;
}
.map-marker.hq .map-name { opacity: 1; transform: translateX(-50%) translateY(0); background: var(--red); font-weight: 600; }
.map-marker.hq .map-name::after { border-top-color: var(--red); }

.factories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.factory-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
}
.factory-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
    z-index: 2;
}
.factory-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.factory-card:hover::before { transform: scaleX(1); }
.factory-card.hq { border-color: rgba(230,8,25,.35); }
.factory-card.hq::before { transform: scaleX(1); }
.factory-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft-2); }
.factory-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.factory-card:hover .factory-img img { transform: scale(1.07); }
.factory-body { padding: 20px 20px 22px; }
.factory-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 5px; color: var(--ink); }
.factory-role { font-size: 0.78rem; color: var(--red); font-weight: 600; margin-bottom: 14px; letter-spacing: .3px; }
.factory-meta { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.factory-meta span { font-size: 0.82rem; color: var(--grey); display: flex; align-items: center; }
.factory-meta i { width: 18px; color: var(--grey-2); margin-right: 6px; font-size: .8rem; }

/* ============================================
   PRODUCTS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
    z-index: 2;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.product-card:hover::before { transform: scaleX(1); }
.product-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft-2); }
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.product-card:hover .product-img img { transform: scale(1.07); }
.product-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.product-card p { font-size: 0.86rem; color: var(--grey); line-height: 1.7; flex: 1; }

/* ============================================
   CUSTOMERS
   ============================================ */
.customers-group { margin-bottom: 48px; }
.customers-group:last-child { margin-bottom: 0; }
.customer-group-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--grey-2);
    text-transform: uppercase;
    margin-bottom: 26px;
    text-align: center;
    position: relative;
}
.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
}
.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 28px;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    min-width: 120px;
    height: 76px;
}
.brand-logo-item:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.brand-logo-item img {
    height: 46px; width: auto; max-width: 220px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter var(--transition), opacity var(--transition);
}
.brand-logo-item:hover img { filter: grayscale(0%); opacity: 1; }
.brand-logo-item img.logo-icon { height: 58px; }

/* ============================================
   TIMELINE
   ============================================ */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
    content: '';
    position: absolute;
    left: 86px; top: 6px; bottom: 6px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--line) 8%, var(--line) 92%, transparent);
}
.timeline-item { display: flex; gap: 36px; margin-bottom: 26px; position: relative; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-year {
    flex-shrink: 0;
    width: 86px;
    text-align: right;
    font-family: var(--font-en);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--red);
    padding-top: 14px;
    position: relative;
}
.timeline-year::after {
    content: '';
    position: absolute;
    right: -11px; top: 20px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--red);
    z-index: 1;
    transition: transform var(--transition), background var(--transition);
}
.timeline-item:hover .timeline-year::after { background: var(--red); transform: scale(1.25); }
.timeline-content {
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 22px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.timeline-item:hover .timeline-content { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.timeline-content p { font-size: 0.92rem; color: var(--grey); line-height: 1.7; }

/* ============================================
   CERTIFICATIONS
   ============================================ */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cert-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
}
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.cert-clickable { cursor: pointer; }
.cert-clickable:hover { box-shadow: 0 12px 32px rgba(230, 8, 25, 0.16); }
.cert-icon {
    width: 60px; height: 60px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: var(--red-soft);
    color: var(--red);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    transition: background var(--transition), color var(--transition);
}
.cert-card:hover .cert-icon { background: var(--red); color: #fff; }
.cert-name { font-family: var(--font-en); font-size: 1.05rem; font-weight: 700; margin-bottom: 5px; color: var(--ink); }
.cert-desc { font-size: 0.83rem; color: var(--grey); }
.cert-zoom-hint {
    position: absolute;
    top: 12px; right: 14px;
    font-size: 0.82rem;
    color: var(--grey-2);
    transition: color var(--transition);
}
.cert-clickable:hover .cert-zoom-hint { color: var(--red); }

/* Cert Lightbox */
.cert-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10,12,16, 0.90);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    cursor: zoom-out;
    animation: cert-lightbox-fade 0.25s ease-out;
}
.cert-lightbox.show { display: flex; }
.cert-lightbox img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border-radius: 6px;
    cursor: default;
}
.cert-lightbox-close {
    position: absolute;
    top: 18px; right: 28px;
    font-size: 2.6rem; line-height: 1;
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: color var(--transition), transform var(--transition);
}
.cert-lightbox-close:hover { color: var(--red); transform: scale(1.1); }
@keyframes cert-lightbox-fade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================
   AWARDS
   ============================================ */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}
.award-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    background: #fff;
    transition: transform var(--transition), box-shadow var(--transition);
    aspect-ratio: 3 / 4;
}
.award-card:hover { transform: translateY(-8px); box-shadow: 0 18px 45px rgba(230, 8, 25, 0.18); }
.award-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.award-card:hover .award-img { transform: scale(1.06); }
.award-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(10,12,16,0.92) 12%, rgba(10,12,16,0) 100%);
    padding: 34px 18px 18px;
    color: #fff;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--transition), transform var(--transition);
}
.award-card:hover .award-overlay { opacity: 1; transform: translateY(0); }
.award-year { font-size: 0.78rem; color: #ff5563; font-weight: 700; margin-bottom: 5px; display: block; font-family: var(--font-en); }
.award-name { font-size: 1.02rem; margin-bottom: 4px; font-weight: 600; line-height: 1.4; }
.award-org { font-size: 0.86rem; opacity: 0.82; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.contact-item { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item i {
    font-size: 1.05rem;
    color: var(--red);
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: var(--red-soft);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.contact-item strong { display: block; font-weight: 700; margin-bottom: 3px; color: var(--ink); }
.contact-item p { font-size: 0.92rem; color: var(--grey); }
.contact-cta-box {
    background: var(--ink);
    border-radius: var(--radius);
    padding: 52px 44px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact-cta-box::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(230,8,25,.35) 0%, transparent 70%);
}
.contact-cta-box h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; line-height: 1.45; position: relative; }
.contact-cta-box p { font-size: 0.92rem; color: rgba(255,255,255,0.72); margin-bottom: 30px; line-height: 1.8; position: relative; }
.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 34px;
    background: var(--red);
    color: #fff;
    font-size: 0.94rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: .5px;
    position: relative;
    box-shadow: 0 10px 28px rgba(230,8,25,.34);
    transition: background var(--transition), transform var(--transition);
}
.btn-red::after { content: '\2192'; transition: transform var(--transition); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-3px); }
.btn-red:hover::after { transform: translateX(4px); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #0F1115; color: rgba(255,255,255,0.6); padding: 48px 0 28px; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 30px; }
.footer-brand span { font-size: 0.9rem; font-weight: 600; color: #f0f0f0; letter-spacing: .5px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links a:hover { color: var(--red); }
.footer-copy { text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.32); }

/* ============================================
   PRODUCT MODAL  (kept, lightly refined)
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(10,12,16, 0.72);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.show { display: flex; align-items: center; justify-content: center; opacity: 1; }
.modal-content {
    background-color: #fff;
    position: relative;
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    overflow-y: auto;
    transform: translateY(24px);
    transition: transform 0.3s ease;
}
.modal.show .modal-content { transform: translateY(0); }
.modal-close {
    position: absolute;
    right: 20px; top: 16px;
    font-size: 28px; font-weight: bold;
    color: var(--grey);
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
    line-height: 1;
}
.modal-close:hover { color: var(--red); }
.modal-body { padding: 44px; }
.modal-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: start; }
.modal-info { padding-right: 20px; }
.modal-heading {
    background: var(--ink);
    color: #fff;
    padding: 11px 22px;
    display: inline-block;
    border-left: 4px solid var(--red);
    border-radius: 0 6px 6px 0;
    margin-bottom: 22px;
}
.modal-heading h2 { margin: 0; font-size: 1.2rem; letter-spacing: 0.5px; }
.modal-spec-table { margin-top: 4px; margin-bottom: 16px; }
.modal-spec-table h3, .modal-spec h3, .modal-features h3, .modal-section-title {
    font-size: 0.95rem; font-weight: 700; color: var(--ink);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--red-soft);
    padding-bottom: 4px;
    display: inline-block;
}
.modal-spec-table table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.modal-spec-table th { background: var(--bg-soft); color: var(--ink-2); font-weight: 600; padding: 7px 11px; text-align: left; border-bottom: 1.5px solid var(--line); }
.modal-spec-table td { padding: 6px 11px; color: var(--grey); border-bottom: 1px solid var(--line); }
.modal-spec-table tr:last-child td { border-bottom: none; }
.modal-spec ul, .modal-features ul { list-style: none; margin-bottom: 16px; }
.modal-spec li, .modal-features li { font-size: 0.83rem; color: var(--grey); margin-bottom: 6px; line-height: 1.5; padding-left: 16px; position: relative; }
.modal-spec li::before, .modal-features li::before { content: '\2013'; position: absolute; left: 0; color: var(--red); }
.modal-gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.app-card { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft-2); }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.app-card:hover img { transform: scale(1.08); }
.app-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 12px;
    background: linear-gradient(to top, rgba(10,12,16,.78) 0%, transparent 55%);
}
.app-label { color: #fff; font-size: 0.78rem; font-weight: 500; line-height: 1.3; }

/* ============================================
   SCROLL REVEAL easing tune
   ============================================ */
[data-aos] { transition-timing-function: cubic-bezier(.4, 0, .2, 1) !important; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .factories-grid { grid-template-columns: repeat(2, 1fr); }
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .awards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(78vw, 320px);
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: calc(var(--nav-h) + 12px) 0 24px;
        box-shadow: -10px 0 40px rgba(0,0,0,.12);
        overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .nav-links a { width: 100%; padding: 14px 28px; font-size: 1.02rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
    .nav-links a::after { display: none; }
    .nav-links a:hover { color: var(--red); background: var(--bg-soft); }
    .lang-dropdown { margin: 18px 28px 0; padding-left: 0; border-left: none; }
    .lang-dropbtn { color: var(--grey); }
    .lang-dropdown-content { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 8px 0 0; }

    .section { padding: 60px 0; }
    .section-title { margin-bottom: 30px; }

    .about-grid { grid-template-columns: 1fr; gap: 44px; }
    .about-pillars { grid-template-columns: 1fr; margin-top: 44px; gap: 16px; }

    .stats { margin-top: -50px; }
    .stats .container { padding: 26px 12px; }
    .stat-item { min-width: 130px; padding: 12px 14px; }
    .stat-divider { display: none; }

    .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .factories-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .certs-grid { grid-template-columns: 1fr 1fr; }
    .awards-grid { grid-template-columns: repeat(3, 1fr); }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }

    .timeline::before { left: 64px; }
    .timeline-year { width: 64px; font-size: 0.92rem; }
    .timeline-item { gap: 26px; }

    .modal-body { padding: 28px; }
    .modal-grid { grid-template-columns: 1fr; gap: 28px; }

    .cert-lightbox { padding: 20px 8px; }
    .cert-lightbox-close { top: 10px; right: 14px; font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .factories-grid { grid-template-columns: 1fr; }
    .certs-grid { grid-template-columns: 1fr 1fr; }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { min-width: 45%; }
    .contact-cta-box { padding: 36px 26px; }
    .hero-cta-group { flex-direction: column; }
    .btn-hero, .btn-hero-ghost { width: 100%; justify-content: center; }
    .map-marker .map-name, .map-marker.hq .map-name { font-size: 0.66rem; padding: 3px 7px; }
}
