/* ============================================
   Ingotta Energy — Main Stylesheet
   ============================================ */

/* --- Fonts --- */
@font-face {
    font-family: 'MyCustomFont';
    src: url('/wp-content/themes/wordpress-theme/assets/font/poppins-v24-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MyCustomFont';
    src: url('/wp-content/themes/wordpress-theme/assets/font/poppins-v24-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MyCustomFont';
    src: url('/wp-content/themes/wordpress-theme/assets/font/poppins-v24-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --- CSS Variables / Design Tokens --- */
:root {
    --color-brand: #f69422;
    --color-dark: #0f172a;
    --color-dark-light: #1e293b;
    --color-white: #ffffff;
    --color-bg: #f8fafc;
    --color-bg-alt: #f1f5f9;
    --color-text: #334155;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --color-accent: #059669;
    --font-family: 'MyCustomFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: min(92%, 1280px);
    --section-padding: clamp(60px, 8vw, 120px);
    --radius: 12px;
    --radius-sm: 6px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --transition: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; padding: 0;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--color-brand); }
ul { margin: 0; padding: 0; list-style: none; }

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

/* --- Section --- */
.section { padding: 40px 0 }
.section-bg { background: var(--color-bg); }
.section-dark { background: var(--color-dark); color: var(--color-white); }
.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-dark);
    margin: 0 0 12px;
}
.section-dark .section-title { color: var(--color-white); }
.section-subtitle {
    font-size: 16px;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    margin: 0 0 8px;
}
.section-desc {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
    line-height: 1.6;
}
.section-header {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 60px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-inner {
    max-width: var(--container); margin: 0 auto;
    display: flex; align-items: center;
    justify-content: space-between;
    height: 72px; padding: 0 20px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: block; padding: 8px 18px;
    font-size: 14px; font-weight: 500;
    color: rgba(0,0,0,0.85);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}
.nav-menu > li > a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--color-brand);
}
.nav-menu li.menu-item-has-children > a {
    display: inline-flex; align-items: center;
    gap: 6px;
}
.nav-menu li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 10px; height: 10px;
    background: transparent;
    border: none;
    border-right: 2px solid var(--color-brand, #f69422);
    border-bottom: 2px solid var(--color-brand, #f69422);
    transform: rotate(45deg);
    margin-top: -6px;
    margin-left: 10px;
    transition: transform .25s;
}
.nav-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}
.nav-menu .sub-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--color-white);
    min-width: 220px; padding: 8px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 50;
}
.nav-menu li:hover > .sub-menu {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.nav-menu .sub-menu li { list-style: none; }
.nav-menu .sub-menu a {
    display: block; padding: 10px 20px;
    font-size: 14px; color: var(--color-dark);
    transition: background var(--transition), color var(--transition);
}
.nav-menu .sub-menu a:hover {
    background: var(--color-bg);
    color: var(--color-brand);
}

.nav-tools { display: flex; align-items: center; gap: 16px; }
.nav-search { cursor: pointer; color: rgba(255,255,255,0.7); }
.nav-search svg { width: 20px; height: 20px; }

/* Mobile menu button */
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 8px; background: none; border: none;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--color-white); border-radius: 2px;
    transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative; height: 100vh; min-height: 600px;
    overflow: hidden;
}
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: var(--container); margin: 0 auto; padding: 0 20px;
    width: 100%;
}
.hero-content h1 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700; line-height: 1.1;
    color: var(--color-white);
    margin: 0 0 24px; max-width: 700px;
}
.hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.7);
    margin: 0 0 36px; max-width: 520px;
    line-height: 1.6;
}
.hero-cta {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 36px;
    background: var(--color-brand);
    color: var(--color-white);
    font-size: 16px; font-weight: 600;
    border-radius: 50px; border: none;
    cursor: pointer; transition: transform var(--transition), box-shadow var(--transition);
}
.hero-cta:hover { transform: translateY(-2px); color: white; }

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

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.about-text .section-subtitle { text-align: left; }
.about-text .section-title { text-align: left; }
.about-text p { font-size: 17px; line-height: 1.8; color: var(--color-text); margin: 0 0 24px; }
.about-text .btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    border: 2px solid var(--color-brand);
    color: var(--color-brand);
    font-weight: 600; font-size: 14px;
    border-radius: 50px;
    transition: all var(--transition);
}
.about-text .btn-outline:hover { background: var(--color-brand); color: var(--color-white); }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: var(--radius); }
.about-image .exp-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--color-brand); color: var(--color-white);
    padding: 24px 28px; border-radius: var(--radius);
    text-align: center;
}
.about-image .exp-badge span { font-size: 36px; font-weight: 700; display: block; line-height: 1; }
.about-image .exp-badge small { font-size: 12px; opacity: 0.9; }

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-item { text-align: center; padding: 40px 20px; }
.stat-number {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700; color: var(--color-brand);
    line-height: 1; margin: 0 0 8px;
    transition: transform .4s ease, opacity .4s ease;
}
.stat-number.animated {
    animation: countPop .3s ease-out both;
}
@keyframes countPop {
    0% { transform: scale(0.6); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
.stat-label { font-size: 16px; color: rgba(255,255,255,0.7); }

/* ============================================
   PRODUCTS
   ============================================ */
.products-tabs {
    display: flex; gap: 8px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 40px;
}
.product-tab {
    padding: 12px 28px;
    background: var(--color-bg);
    border-radius: 50px; font-size: 14px; font-weight: 500;
    cursor: pointer; transition: all var(--transition);
    border: 1px solid transparent;
    user-select: none;
}
.product-tab:hover { border-color: var(--color-brand); color: var(--color-brand); }
.product-tab.active { background: var(--color-brand); color: var(--color-white); }

.products-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.product-card-img { aspect-ratio: 1/1; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 24px; }
.product-card-body h3 { margin: 0 0 8px; font-size: 20px; color: var(--color-dark); }
.product-card-body p { margin: 0; font-size: 14px; color: var(--color-text-light); line-height: 1.5; }

/* ============================================
   WHY US
   ============================================ */
.why-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-item {
    text-align: center; padding: 40px 24px;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
    width: 64px; height: 64px; margin: 0 auto 20px;
    background: rgba(246, 148, 34, 0.1);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
}
.why-icon svg { width: 28px; height: 28px; fill: var(--color-brand); }
.why-item h3 { font-size: 20px; margin: 0 0 12px; color: var(--color-dark); }
.why-item p { font-size: 15px; color: var(--color-text-light); line-height: 1.6; margin: 0; }

/* ============================================
   CASE STUDIES
   ============================================ */
.cases-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.case-card {
    position: relative; border-radius: var(--radius);
    overflow: hidden; height: 320px;
    cursor: pointer;
}
.case-card img { width: 100%; height: 100%; object-fit: cover; }
.case-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.8) 0%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px;
    transition: opacity var(--transition);
}
.case-card-overlay h3 { color: var(--color-white); margin: 0; font-size: 20px; }
.case-card-overlay span {
    font-size: 13px; color: var(--color-brand);
    margin-top: 6px; text-transform: uppercase; letter-spacing: 1px;
}

/* ============================================
   NEWS
   ============================================ */
.news-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.news-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-body { padding: 28px; }
.news-date { font-size: 13px; color: var(--color-text-light); margin-bottom: 8px; }
.news-card-body h3 {
    font-size: 20px; margin: 0 0 12px; line-height: 1.3;
}
.news-card-body h3 a { color: var(--color-dark); }
.news-card-body h3 a:hover { color: var(--color-brand); }
.news-excerpt { font-size: 15px; color: var(--color-text-light); line-height: 1.6; margin: 0 0 16px; }
.news-link {
    font-size: 14px; font-weight: 600; color: var(--color-brand);
    display: inline-flex; align-items: center; gap: 6px;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
    background: var(--color-brand);
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--color-white);
    margin: 0 0 16px;
}
.cta-section p {
    font-size: 18px; color: rgba(255,255,255,0.8);
    margin: 0 0 32px;
}
.cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 40px;
    background: var(--color-white);
    color: var(--color-brand);
    font-size: 16px; font-weight: 600;
    border-radius: 50px; border: none;
    cursor: pointer; transition: transform var(--transition), box-shadow var(--transition);
}
.cta-btn:hover { transform: translateY(-2px); color: var(--color-brand); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 0 0 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    transition: background var(--transition);
}
.footer-social a:hover { background: var(--color-brand); }
.footer-social svg { width: 18px; height: 18px; fill: var(--color-white); }

.footer-col h4 {
    font-size: 16px; font-weight: 600;
    color: var(--color-white);
    margin: 0 0 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    font-size: 14px; color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--color-brand); }
.footer-contact li {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 14px; font-size: 14px;
}
.footer-contact svg { width: 18px; height: 18px; fill: var(--color-brand); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 14px; color: rgba(255,255,255,0.35);
}

/* ============================================
   PRODUCT LIST (inner pages)
   ============================================ */
.product-list-box {
    padding: 120px 0 60px;
    background: var(--color-bg);
}
.product-list .content-box {
    background: var(--color-white);
    text-align: center; padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-list .content-box:hover { transform: translateY(-4px); }
.product-list .box-w { padding: 0 15px; margin-bottom: 30px; }
.product-list .content-box img { width: 70%; margin: 0 auto; }
.celan > div {
    background: var(--color-white);
    margin-bottom: 30px; overflow: hidden;
    border-radius: var(--radius);
}
.celan > div > p {
    margin: 0; padding: 12px 20px;
    background: var(--color-brand); color: var(--color-white);
    font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 1px;
}
.celan > div ul { padding: 20px; }
.celan > div ul li { line-height: 32px; }
.downloads-celan .Others-listpage {
    display: flex; align-items: center; padding: 20px; margin: 10px;
    gap: 10px; color: #fff; border-radius: var(--radius-sm);
}
.downloads-celan .Others-listpage svg { width: 24px; height: 24px; fill: #fff; }

/* ============================================
   INNER PAGE BANNER
   ============================================ */
.page-banner {
    height: 300px; position: relative;
    display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center;
}
.page-banner::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(15,23,42,0.6);
}
.page-banner h1 {
    position: relative; z-index: 2;
    color: var(--color-white); font-size: 40px; margin: 0;
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */
.custom-language-select {
    position: relative; display: inline-block;
    min-width: 120px;
}
.nav-lang .select-trigger {
    padding: 6px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; font-size: 13px; color: rgba(255,255,255,0.8);
    user-select: none;
}
.nav-lang .select-trigger .current-flag{display:flex;align-items:center}
.nav-lang .select-trigger .current-flag img{height:11px;width:16px}
.nav-lang .select-trigger::after {
    content: '▾'; font-size: 10px; margin-left: 6px;
    transition: transform var(--transition);
}
.nav-lang.open .select-trigger::after { transform: rotate(180deg); }
.nav-lang .select-dropdown {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    margin-top: 4px; box-shadow: var(--shadow-md);
    display: none; z-index: 100;
}
.nav-lang.open .select-dropdown { display: block; }
.nav-lang .select-dropdown li { padding: 8px 12px; cursor: pointer; }
.nav-lang .select-dropdown li:hover { background: var(--color-bg); }
.nav-lang .select-dropdown li a { font-size: 13px; color: var(--color-dark); display: flex; align-items: center; gap: 6px; }
.nav-lang .select-dropdown li.selected { background: var(--color-bg); font-weight: 600; }


/* === About Carousel === */
.about-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}
.about-slide {
    display: none;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
}
.about-slide.active { display: block; }
.carousel-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    width: 40px; height: 40px;
    font-size: 28px;
    cursor: pointer;
    border-radius: 50%;
    transition: background .3s;
    z-index: 2;
    line-height: 40px;
    text-align: center;
}
.carousel-btn:hover { background: rgba(0,0,0,0.6); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%; transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.carousel-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background .3s;
}
.carousel-dot.active {
    background: #fff;
    border-color: #fff;
}


/* === Archive / Taxonomy Pages === */
.archive-page {}
.archive-breadcrumb {
    font-size: 14px; color: #6b7280; margin-bottom: 32px;
    display: flex; align-items: center; gap: 8px;
}
.archive-breadcrumb a { color: #6b7280; transition: color .2s; }
.archive-breadcrumb a:hover { color: var(--color-brand); }
.archive-breadcrumb .current { color: var(--color-dark); font-weight: 500; }

.archive-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar */
.archive-sidebar { position: sticky; top: 100px; }
.sidebar-widget {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 24px;
}
.sidebar-title {
    font-size: 16px; font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-brand);
}
.sidebar-cat-list {
    list-style: none; margin: 0; padding: 0;
}
.sidebar-cat-item { margin: 0; }
.sidebar-cat-item a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: color .2s;
    color: #475569; font-size: 14px;
}
.sidebar-cat-item:last-child a { border-bottom: none; }
.sidebar-cat-item a:hover { color: var(--color-brand); }
.sidebar-cat-item.active a { color: var(--color-brand); font-weight: 600; }
.cat-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px; font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
}
.sidebar-cat-item.active .cat-count {
    background: var(--color-brand);
    color: #fff;
}

/* Resource cards */
.sidebar-resources { display: flex; flex-direction: column; gap: 12px; }
.resource-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px; border-radius: var(--radius);
    background: #f8fafc;
    transition: background .2s, transform .2s;
}
.resource-card:hover { background: var(--color-brand); color: #fff; transform: translateX(4px); }
.resource-card svg { flex-shrink: 0; width: 20px; height: 20px; }
.resource-text { display: flex; flex-direction: column; }
.resource-title { font-size: 14px; font-weight: 600; }
.resource-desc { font-size: 12px; opacity: 0.7; }

/* Main content */
.archive-header {
    margin-bottom: 32px;
    display: flex; align-items: baseline; gap: 16px;
}
.archive-header h1 {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700; color: var(--color-dark); margin: 0;
}
.archive-count {
    font-size: 14px; color: #6b7280; margin: 0;
}
.archive-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.archive-grid .product-card { margin: 0; }

/* Pagination */
.archive-page .pagination {
    margin-top: 48px; text-align: center;
}
.archive-page .nav-links { display: inline-flex; gap: 8px; }
.archive-page .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
    color: #475569; font-size: 14px;
    transition: all .2s;
}
.archive-page .page-numbers:hover { border-color: var(--color-brand); color: var(--color-brand); }
.archive-page .page-numbers.current {
    background: var(--color-brand); color: #fff; border-color: var(--color-brand);
}

/* Empty state */
.archive-empty {
    text-align: center; padding: 80px 20px;
    color: #94a3b8; font-size: 16px;
}


/* === Blog Category Page === */
.cat-banner {
    position: relative; width: 100%; height: clamp(260px, 40vh, 420px);
    overflow: hidden; margin-top: 0;
}
.cat-banner-img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}
.cat-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.5) 100%);
    display: flex; align-items: center;
}
.cat-banner-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 700; color: #fff; margin: 0;
    line-height: 1.15;
}
.cat-banner-count {
    color: rgba(255,255,255,0.7);
    font-size: 16px; margin: 12px 0 0;
}

/* Blog category grid */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.cat-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.cat-card-img {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.cat-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.cat-card:hover .cat-card-img img { transform: scale(1.08); }
.cat-card-body { padding: 24px; }
.cat-card-date {
    font-size: 13px; color: #94a3b8; margin: 0 0 8px;
}
.cat-card-body h3 {
    margin: 0 0 10px; font-size: 18px;
    color: var(--color-dark);
}
.cat-card-body h3 a { color: inherit; }
.cat-card-body h3 a:hover { color: var(--color-brand); }
.cat-card-excerpt {
    font-size: 14px; color: #64748b;
    line-height: 1.6; margin: 0 0 16px;
}
.cat-card-link {
    font-size: 14px; font-weight: 600;
    color: var(--color-brand);
    transition: gap .2s;
    display: inline-flex; align-items: center; gap: 4px;
}
.cat-card-link:hover { gap: 8px; }

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

/* --- 1401~ (Wide) --- */

/* --- 1281~1400 (Small desktop) --- */
@media (max-width: 1400px) {
    .container { max-width: 96%; }
}

/* --- 1025~1280 (Desktop) --- */
@media (max-width: 1280px) {
    .hero-content h1 { font-size: clamp(32px, 5vw, 56px); }
    .hero-content p { font-size: 16px; }
}

/* --- 769~1024 (Tablet landscape) --- */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .about-text .section-subtitle,
    .about-text .section-title { text-align: center; }
    .about-image .exp-badge { right: 50%; transform: translateX(50%); bottom: -16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .why-grid { grid-template-columns: repeat(4, 1fr); }
    .cases-grid { grid-template-columns: repeat(4, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
    .hero { min-height: 500px; height: 80vh; }
    .hero-slide > div { background-position: center !important; }
    .hero-content h1 { font-size: clamp(30px, 4vw, 48px); }
    .section { padding: clamp(40px, 6vw, 80px) 0; }
    .section-title { font-size: clamp(24px, 3.5vw, 36px); }
    .exp-badge { padding: 18px 22px !important; }
    .exp-badge span { font-size: 28px !important; }
    .product-tab { padding: 10px 20px; font-size: 13px; }
}

/* --- 577~768 (Tablet portrait / Small tablet) --- */
@media (max-width: 768px) {
    /* cat-banner */
    .cat-banner { height: 220px; }
    .cat-banner-title { font-size: 28px; }

    /* Nav */
    .nav-toggle { display: flex; }
    .nav-inner { height: 60px; }
    .nav-logo img { height: 32px; }
    .nav-menu {
        display: none; flex-direction: column;
        position: absolute; top: 60px; left: 0; width: 100%;
        background: var(--color-dark); padding: 16px;
        gap: 0; z-index: 100;
    }
    .nav-menu.open { display: flex; }
    .nav-menu > li > a { padding: 12px 16px; font-size: 15px; }
    .nav-menu .sub-menu {
        position: static; box-shadow: none;
        opacity: 1; visibility: visible; transform: none;
        background: rgba(255,255,255,0.05);
        padding: 8px 16px; border-radius: 6px;
    }
    .nav-menu .sub-menu a { color: rgba(255,255,255,0.6); font-size: 14px; }
    .nav-menu .sub-menu a:hover { color: var(--color-brand); }
    .nav-tools { gap: 8px; }
    .nav-lang { display: none; }

    /* Hero */
    .hero { min-height: 400px; height: 70vh; }
    .hero-content { text-align: center; }
    .hero-content h1 { font-size: clamp(26px, 6vw, 36px); margin-bottom: 16px; }
    .hero-content p { font-size: 15px; margin-bottom: 24px; }
    .hero-cta { padding: 14px 28px; font-size: 14px; }
    .hero-dots { bottom: 24px; }
    .hero-dot { width: 8px; height: 8px; }
    .hero-dot.active { width: 24px; }

    /* Grids */
    .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .cases-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .news-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-social { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-item { padding: 24px 16px; }
    .stat-number { font-size: clamp(32px, 8vw, 48px); }

    /* Section spacing */
    .section { padding: clamp(32px, 5vw, 60px) 0; }
    .section-header { margin-bottom: 32px; }
    .section-title { font-size: clamp(22px, 5vw, 28px); }
    .section-subtitle { font-size: 14px; letter-spacing: 2px; }
    .section-desc { font-size: 15px; margin-bottom: 32px; }

    /* About */
    .about-image .exp-badge { position: relative; bottom: 0; right: 0; transform: none; margin-top: -12px; display: inline-block; }

    /* Product Tabs */
    .products-tabs { gap: 6px; }
    .product-tab { padding: 8px 16px; font-size: 13px; }

    /* Case */
    .case-card { height: 240px	�; }

    /* CTA */
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: clamp(24px, 5vw, 32px); }
    .cta-section p { font-size: 16px; }
    .cta-btn { padding: 14px 32px; font-size: 15px; }

    /* Footer */
    .site-footer { padding: 60px 0 0; }
    .footer-col h4 { margin-bottom: 16px; }
    .footer-brand p { max-width: 400px; margin: 0 auto 20px; }
    .footer-contact { justify-content: center; }

    /* Product list (index.php) */
    .product-list .box-w { padding: 0; }
    .product-list-box { padding: 100px 0 40px; }
    .celan > div { margin-bottom: 20px; }
}

/* --- 0~576 (Mobile) --- */
@media (max-width: 576px) {
    .cat-banner { height: 180px; }
    .cat-banner-title { font-size: 22px; }

    .hero { height: 60vh; min-height: 350px; }
    .hero-content h1 { font-size: clamp(22px, 7vw, 28px); }
    .hero-content p { font-size: 14px; }
    .hero-cta { padding: 12px 24px; font-size: 13px; width: 100%; justify-content: center; }
    .hero-dots { bottom: 16px; gap: 6px; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat-item { padding: 16px; }
    .stat-number { font-size: 32px; }
    .stat-label { font-size: 13px; }
    .product-tab { padding: 6px 14px; font-size: 12px; }
    .product�s-tabs { gap: 4px; }
    .product-card-img { aspect-ratio: 1/1; }
    .product-card-body h3 { font-size: 17px; }
    .case-card { height: 200px; }
    .case-card-overlay { padding: 16px; }
    .case-card-overlay h3 { font-size: 16px; }
    .news-card-body { padding: 20px; }
    .news-card-body h3 { font-size: 17px; }
    .cta-section { padding: 40px 0; }
    .cta-section p { font-size: 14px; margin-bottom: 20px; }
    .section { padding: 32px 0; }
    .section-title { font-size: 22px; }
    .section-desc { font-size: 14px; }
    .about-image .exp-badge { padding: 14px 18px !important; }
    .about-image .exp-badge span { font-size: 24px !important; }
    .about-image .exp-badge small { font-size: 11px; }
}

/* --- 0~380 (Small mobile) --- */
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero { height: 50vh; min-height: 300px; }
}

/* --- Print --- */
@media print {
    .site-header, .hero-dots, .nav-toggle, .cta-section, .site-footer { display: none !important; }
}




/* === Single Post / Article Detail === */
.width {
    max-width: min(92%, 1280px);
    margin: 0 auto;
    padding: 0 20px;
}

/* Outer wrapper */
.category-project {
    padding: 40px 0;
}

/* Main layout: override PureCSS grid with CSS Grid */
.category-project > .pure-g {
    display: grid !important;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    width: 100%;
    margin: 0;
}

/* Inner layout: content + TOC sidebar */
.category-project > .pure-g > .pure-u-xl-18-24 > .pure-g {
    display: grid !important;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    width: 100%;
    margin: 0;
}

/* Reset PureCSS fixed widths */
.category-project [class*="pure-u-xl"] {
    width: auto !important;
    max-width: none !important;
}

/* ===== Post Content ===== */
.post-content h1 {
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 700; color: var(--color-dark, #0f172a);
    margin: 0 0 24px; line-height: 1.2;
}
.post-content h2 {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700; color: var(--color-dark, #0f172a);
    margin: 32px 0 12px;
}
.post-content h3 {
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 600; color: var(--color-dark, #0f172a);
    margin: 28px 0 10px;
}
.post-content p {
    font-size: 15px; line-height: 1.8; color: #475569;
    margin: 0 0 16px;
}
.post-content img {
    max-width: 100%; height: auto; border-radius: 8px;
}
.post-content ul, .post-content ol {
    padding-left: 24px; margin: 0 0 16px;
}
.post-content li {
    font-size: 15px; line-height: 1.7; color: #475569;
    margin-bottom: 6px;
}
.post-content ul li::marker { color: var(--color-brand, #f69422); }
.post-content ol li::marker { color: var(--color-brand, #f69422); font-weight: 600; }

/* Blockquote */
.post-content blockquote {
    border-left: 4px solid var(--color-brand, #f69422);
    padding: 16px 24px; margin: 24px 0;
    background: #fffbeb; border-radius: 0 8px 8px 0;
    font-style: italic;
}
.post-content blockquote p { margin: 0; }

/* Tables */
.post-content table {
    width: 100%; border-collapse: collapse;
    margin: 20px 0; font-size: 14px;
    border-radius: 8px; overflow: hidden;
}
.post-content td, .post-content th {
    padding: 10px 16px; border: 1px solid #e2e8f0; text-align: left;
}
.post-content th { background: #f8fafc; font-weight: 600; }
.post-content tr:nth-child(even) { background: #fafafa; }

/* Links in content */
.post-content a { color: var(--color-brand, #f69422); text-decoration: underline; }
.post-content a:hover { text-decoration: none; }

/* Inline TOC (at top of content) */
.post-content #ez-toc-container {
    background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 20px 24px;
    margin: 0 0 24px; max-width: 100% !important;
}
.post-content #ez-toc-container .ez-toc-title {
    font-size: 16px !important; font-weight: 700 !important;
    color: var(--color-dark, #0f172a);
}
.post-content .ez-toc-list { padding: 0; margin: 8px 0 0; }
.post-content .ez-toc-list li {
    list-style: none; padding: 4px 0; border-bottom: none;
}
.post-content .ez-toc-list a {
    font-size: 14px; color: #475569; text-decoration: none;
}
.post-content .ez-toc-list a:hover { color: var(--color-brand, #f69422); }

/* ===== TOC Sidebar ===== */
.toc {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 24px;
    position: sticky; top: 100px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.toc #ez-toc-container {
    background: none; border: none; padding: 0;
    width: 100% !important;
}
.toc .ez-toc-title {
    font-size: 15px; font-weight: 700;
    color: var(--color-dark, #0f172a);
    margin: 0 0 12px; display: block;
}
.toc .ez-toc-list { padding: 0; margin: 0; }
.toc .ez-toc-list li {
    list-style: none; margin: 0;
    border-bottom: 1px solid #f1f5f9; padding: 7px 0;
}
.toc .ez-toc-list li:last-child { border-bottom: none; }
.toc .ez-toc-list a {
    font-size: 13px; color: #64748b; text-decoration: none;
    display: block; transition: color .2s;
}
.toc .ez-toc-list a:hover { color: var(--color-brand, #f69422); }
.toc .ez-toc-list .active > a { color: var(--color-brand, #f69422); font-weight: 600; }

/* Hide ez-toc toggle icons in sidebar */
.toc .ez-toc-cssicon-toggle-label,
.toc .ez-toc-cssicon,
.toc .ez-toc-icon-toggle-span,
.toc .eztoc-hide,
.toc input[type="checkbox"] { display: none !important; }

/* ===== Sidebar (post-celan) ===== */
.post-celan { }
.post-celan > div {
    background: #fff; border-radius: 12px;
    padding: 24px; margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.post-celan h3 {
    font-size: 15px; font-weight: 700; color: var(--color-dark, #0f172a);
    margin: 0 0 16px; padding-bottom: 10px;
    border-bottom: 2px solid var(--color-brand, #f69422);
}
.post-celan ul { list-style: none; padding: 0; margin: 0; }
.post-celan li {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 10px 0; border-bottom: 1px solid #f1f5f9;
}
.post-celan li:last-child { border-bottom: none; padding-bottom: 0; }
.post-celan li > div:first-child {
    width: 56px; height: 56px; flex-shrink: 0;
    border-radius: 8px; overflow: hidden;
}
.post-celan li > div:first-child img {
    width: 100%; height: 100%; object-fit: cover;
}
.post-celan li > a:last-child {
    font-size: 13px; line-height: 1.4; color: #475569;
    text-decoration: none; transition: color .2s;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-celan li > a:last-child:hover { color: var(--color-brand, #f69422); }

/* ===== Post Navigation ===== */
.post-navigation {
    margin-top: 40px; padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.post-navigation div {
    padding: 16px 20px; background: #f8fafc;
    border-radius: 8px; transition: background .2s;
}
.post-navigation div:hover { background: #f1f5f9; }
.post-navigation a {
    font-size: 14px; color: var(--color-dark, #0f172a);
    text-decoration: none; line-height: 1.5;
    transition: color .2s;
}
.post-navigation a:hover { color: var(--color-brand, #f69422); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .category-project > .pure-g {
        grid-template-columns: 1fr 280px;
        gap: 28px;
    }
    .category-project > .pure-g > .pure-u-xl-18-24 > .pure-g {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .toc { position: static; margin-bottom: 28px; }
}
@media (max-width: 768px) {
    .category-project { padding: 24px 0; }
    .category-project > .pure-g {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .post-celan { margin-top: 32px; }
    .post-navigation { grid-template-columns: 1fr; gap: 12px; }
    .post-content h1 { margin-bottom: 16px; }
}


/* === Warehouse Event Images (uniform height) === */
.warehouse-event-page .content-box {
    overflow: hidden;
    border-radius: 8px;
}
.warehouse-event-page .content-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.warehouse-event-page .content-box:hover img {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .warehouse-event-page .content-box img {
        height: 180px;
    }
}


/* === Warehouse spacing === */
.warehouse-list { padding: 50px 0; }
.warehouse-event-page { padding: 50px 0; }


/* === Page Banner (Company, Warehouse, Contact) === */
.page-contact-img {
    position: relative; width: 100%; height: 350px;
    overflow: hidden; background: var(--color-dark, #0f172a);
    display: flex; align-items: center; justify-content: center;
}
.page-contact-img h1 {
    position: relative; z-index: 2;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700; color: #fff; margin: 0;
    text-align: center;
}
.page-contact-img img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.page-contact-img::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(15,23,42,0.55);
    z-index: 1;
}
@media (max-width: 768px) {
    .page-contact-img { height: 250px; }
}


/* === Floating Buttons === */
.floating-btns {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}
.floating-btns a, .floating-btns button {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    transition: transform .2s, box-shadow .2s;
}
.floating-btns a:hover, .floating-btns button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.floating-wa { background: #25D366; }
.floating-top { background: var(--color-dark, #0f172a); }

@media (max-width: 600px) {
    .floating-btns { right: 12px; bottom: 20px; gap: 10px; }
    .floating-btns a, .floating-btns button { width: 42px; height: 42px; }
}
.slide-img-about{overflow:hidden}