/* ========================================
   Y SIGNS LED — Light Theme v2.0
   Brand: #039617 | BG: #f5f7fa
   ======================================== */

/* === CSS Variables === */
:root {
    --brand: #039617;
    --brand-light: #04b81c;
    --brand-dark: #027a13;
    --brand-glow: rgba(3, 150, 23, 0.15);
    --brand-muted: rgba(3, 150, 23, 0.08);

    --bg: #f5f7fa;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-alt: #edf0f5;
    --bg-dark: #1a1a2e;

    --text: #1a1a2e;
    --text-secondary: #555770;
    --text-muted: #8e90a6;
    --text-light: #b0b2c4;
    --text-on-brand: #ffffff;

    --border: #e2e5ed;
    --border-light: #f0f2f6;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
    --shadow-glow: 0 4px 20px rgba(3,150,23,0.15);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --header-h: 72px;
    --topbar-h: 36px;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 7rem;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-base);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-light); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Container === */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* === Top Bar === */
.topbar {
    background: var(--brand);
    color: #fff;
    font-size: 16px;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
}
.topbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.topbar__slogan {
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    margin: 0;
    font-weight: 400;
}

/* === Header === */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s;
}
.header--scrolled { box-shadow: var(--shadow-sm); }
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__logo {
    display: flex;
    align-items: center;
}
.header__logo-img { display: block; height: 40px; width: auto; }

/* === Navigation === */
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav li { list-style: none; }
.nav a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    position: relative;
}
.nav a:hover,
.nav a:focus,
.nav .current-menu-item > a { color: var(--brand); background: var(--brand-muted); }

/* Dropdown Submenu */
.nav .menu-item-has-children { position: relative; }
.nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 5px;
    margin-bottom: 2px;
    opacity: 0.5;
    transition: transform 0.2s;
}
.nav .menu-item-has-children:hover > a::after { transform: rotate(-135deg); margin-bottom: -2px; }
.nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    list-style: none;
    margin: 0.25rem 0 0 0;
}
.nav .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}
.nav .sub-menu li { margin: 0; }
.nav .sub-menu a {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
    display: block;
    border-radius: var(--radius-sm);
}
.nav .sub-menu a:hover { background: var(--brand-muted); }
.submenu-toggle { display: none; } /* hidden on desktop, shown on mobile */

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
    color: var(--text);
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px auto;
    transition: all 0.3s;
    border-radius: 1px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero Carousel === */
.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
}
.hero--carousel {
    padding: 0;
}
.hero__slides {
    position: relative;
    width: 100%;
    height: clamp(280px, 40vw, 520px);
}
.hero__slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
}
.hero__slide.active {
    opacity: 1;
    z-index: 2;
}
.hero__slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mobile hero banners — override background-image with !important (beats inline style) */
@media (max-width: 768px) {
    .hero__slides {
        height: clamp(320px, 75vw, 480px);
    }
    .hero__slide-bg {
        background-size: contain !important;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .hero__slide[data-index="0"] .hero__slide-bg {
        background-image: url('../images/m-banner1.webp') !important;
    }
    .hero__slide[data-index="1"] .hero__slide-bg {
        background-image: url('../images/m-banner2.webp') !important;
    }
}
/* ============================================
   Hero CTA Section (below hero, replaces in-hero CTA + title)
   ============================================ */
.hero-cta-section {
    padding: var(--space-2xl) 0;
    text-align: center;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--color-border);
}
.hero-cta-section__title {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: var(--space-sm);
}
.hero-cta-section__title span {
    color: var(--brand);
}
.hero-cta-section__subtitle {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}
.hero-cta-section__tagline {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}
.hero-cta-section__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}
.hero-cta-section__badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-cta-section__badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.hero-cta-section__badge .badge-icon {
    color: var(--brand);
    font-size: 0.75rem;
}

@media (max-width: 480px) {
    .hero-cta-section {
        padding: var(--space-lg) 0;
    }
    .hero-cta-section__title {
        font-size: 1.5rem;
    }
    .hero-cta-section__subtitle {
        font-size: 0.875rem;
        margin-bottom: var(--space-md);
    }
    .hero-cta-section__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .hero-cta-section__badges {
        gap: 0.75rem;
    }
    .hero-cta-section__badge {
        font-size: 0.75rem;
    }
}

/* Hero Dots */
.hero__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}
.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.hero__dot.active {
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 0 8px rgba(3,150,23,0.5);
}
.hero__dot:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.3);
}
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}
.btn--primary {
    text-align: center;
    background: var(--brand);
    color: var(--text-on-brand)!important;
    box-shadow: 0 4px 15px var(--brand-glow);
}
.btn--primary:hover {
    background: var(--brand-dark);
    color: #fff;
    box-shadow: 0 6px 25px rgba(3,150,23,0.25);
    transform: translateY(-1px);
}
.btn--secondary {
    background: var(--bg-white);
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn--secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}

/* === Global Reach Section (3-col restructured) === */
.global-section {
    padding: var(--space-lg) 0;
    background: var(--bg-white);
    overflow: hidden;
}
.global-section__heading {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    letter-spacing: 0.02em;
    margin: 0 0 var(--space-lg);
    text-transform: uppercase;
}
.global-section__layout {
    display: grid;
    grid-template-columns: 300px 300px 600px;
    gap: var(--space-2xl);
    align-items: start;
}
.global-section__col {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.global-section__img-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.global-section__img-wrap img {
    display: block;
    width: 100%;
    height: auto;
}
.global-section__col-text {
    font-size: 14px;
    color: var(--bg-dark);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.7;
    margin: 0;
}
.global-section__strips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.global-section__strip {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
/* Col 1: image taller than wide */
.global-section__col--1 .global-section__img-wrap img {
    max-height: 420px;
    object-fit: cover;
}
/* Col 2: image shorter, wider */
.global-section__col--2 .global-section__img-wrap img {
    max-height: 320px;
    object-fit: cover;
}

/* === Section === */
.section { padding: var(--space-lg) 0; }
.section__header { text-align: center; margin-bottom: var(--space-xl); }
.section__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    text-align: center;
}
.section__title {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.section__desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

/* ── Alt Section Background ── */
.section--alt {
    background: var(--bg-alt);
}

/* ── Product Section (More Products on homepage) ── */
.product-section {
    padding: var(--space-xl) 0;
}
.product-section .section__cta {
    margin-top: var(--space-lg);
    text-align: center;
}

/* ── Product Card Image Placeholder ── */
.product-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    color: var(--text-muted);
    font-size: 2rem;
}

/* ── Team Grid ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.team-member {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}
.team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 0.75rem;
}
.team-member p { margin: 0; }
.team-member strong { display: block; font-size: 1rem; color: var(--text); }

/* ── Cert Grid ── */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.cert-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
    aspect-ratio: 1;
    object-fit: contain;
    background: #fff;
}

@media (max-width: 768px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === Product Series Grid === */
.product-series { background: var(--bg-white); }
.product-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}
.product-card {
    background: var(--bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand);
}
.product-card__image {
    aspect-ratio: 1;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card__body { padding: var(--space-sm); flex: 1; }
.product-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card__desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .btn {
    margin: var(--space-xs) var(--space-sm) var(--space-sm);
    align-self: flex-start;
    font-size: 0.8125rem;
    padding: 0.4rem 1rem;
}

/* === Category Section (Homepage) === */
.category-section { padding: var(--space-lg) 0; }
.category-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-sm);
}
.category-section__desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 650px;
}

/* === Factory Video Section — from original ysignsled.com EditableModule1~tbf35bf36b32_0 === */
.factory-video {
    background: #f2f2f2;
    text-align: center;
    padding: var(--space-md);
}
.factory-video__text {
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.factory-video__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.factory-video__card {
    flex: 0 0 auto;
}
.factory-video__card--left {
    max-width: 335px;
    width: 100%;
}
.factory-video__card--right {
    max-width: 608px;
    width: 100%;
}
.factory-video__player {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #000;
}
.factory-video__poster {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s;
}
.factory-video__player.playing .factory-video__poster {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
.factory-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s, opacity 0.3s;
}
.factory-video__player:hover .factory-video__play {
    transform: translate(-50%, -50%) scale(1.1);
}
.factory-video__player.playing .factory-video__play {
    opacity: 0;
    pointer-events: none;
}
.factory-video__video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .factory-video__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .factory-video__card--left,
    .factory-video__card--right {
        max-width: unset;
        width: 100%;
    }
    .factory-video__player {
        aspect-ratio: 1 / 1;
    }
    .factory-video__poster {
        height: 100%;
        object-fit: cover;
    }
    .factory-video__text {
        display: none;
    }
}
@media (max-width: 480px) {
    .factory-video__grid {
        gap: 0.375rem;
    }
}

/* === Factory Mission === */
.mission {
    background: linear-gradient(135deg, var(--brand) 0%, #026e10 100%);
    color: #fff;
    padding: var(--space-lg) 0;
    text-align: center;
}
.mission h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
}
.mission blockquote {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
    font-style: italic;
}
.mission blockquote::before { content: '"'; }
.mission blockquote::after { content: '"'; }

/* === Page Hero (Inner Pages) === */
.page-hero {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-xl) 0 var(--space-lg);
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.page-hero .page-hero__desc {
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1rem;
}

.page-hero--alt {
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-2xl) 0 var(--space-xl);
}
.page-hero--alt .section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: var(--space-sm);
}
.page-hero--alt h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: var(--space-sm);
}

/* === Services Grid (More Products) === */
.services-grid__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.service-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}
.service-card__icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: var(--brand-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
}
.service-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    flex: 1;
}
.service-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
}
.service-card__features li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}
.service-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--brand);
    border-radius: 50%;
    opacity: 0.6;
}
.service-card__cta {
    align-self: flex-start;
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .services-grid__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .services-grid__list { grid-template-columns: 1fr; }
    .page-hero--alt { padding: var(--space-xl) 0; }
}

/* === CTA Banner === */
.cta-banner__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta-banner__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-sm);
}
.cta-banner__desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}
.cta-banner__actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* === Btn Outline === */
.btn--outline {
    background: transparent;
    color: var(--brand);
    border: 1.5px solid var(--brand);
}
.btn--outline:hover {
    background: var(--brand);
    color: var(--text-on-brand);
    transform: translateY(-1px);
}
.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
}
.btn--ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}

/* === Page Content === */
.page-content .content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}
.page-content .content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: var(--space-lg) 0 var(--space-sm);
    color: var(--text);
}
.page-content .content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: var(--space-md) 0 var(--space-xs);
    color: var(--text);
}
.page-content .content p { margin-bottom: 1rem; color: var(--text-secondary); }
.page-content .content ul, .page-content .content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}
.page-content .content ul li { list-style: disc; margin-bottom: 0.5rem; color: var(--text-secondary); }
.page-content .content ol li { list-style: decimal; margin-bottom: 0.5rem; color: var(--text-secondary); }

/* === Product Detail === */
.product-detail { padding: var(--space-xl) 0; }
.product-detail__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}
.product-detail__gallery {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
}
.product-detail__gallery img { width: 100%; height: auto; display: block; }

/* === Product Detail Carousel === */
.pd-carousel__main {
    position: relative;
    background: #fafbfc;
    overflow: hidden;
}
.pd-carousel__track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pd-carousel__slide {
    flex: 0 0 100%;
    max-width: 100%;
    opacity: 0.3;
    transition: opacity 0.35s ease;
}
.pd-carousel__slide.active {
    opacity: 1;
}
.pd-carousel__slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 520px;
}
.pd-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
}
.pd-carousel__main:hover .pd-carousel__arrow {
    opacity: 1;
}
.pd-carousel__arrow:hover {
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    color: var(--brand);
}
.pd-carousel__arrow--prev { left: 12px; }
.pd-carousel__arrow--next { right: 12px; }
.pd-carousel__thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
}
.pd-carousel__thumbs::-webkit-scrollbar { height: 4px; }
.pd-carousel__thumbs::-webkit-scrollbar-track { background: transparent; }
.pd-carousel__thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.pd-carousel__thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-white);
    filter: grayscale(0.5) opacity(0.65);
}
.pd-carousel__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.pd-carousel__thumb:hover {
    filter: grayscale(0.2) opacity(0.85);
    border-color: var(--brand-light);
}
.pd-carousel__thumb.active {
    border-color: var(--brand);
    filter: none;
    box-shadow: 0 0 0 1px var(--brand);
}
@media (max-width: 768px) {
    .pd-carousel__thumb { width: 56px; height: 56px; }
    .pd-carousel__arrow { width: 34px; height: 34px; opacity: 1; background: rgba(255,255,255,0.92); }
    .pd-carousel__slide img { max-height: 360px; }
}
.product-detail__info { }
.product-detail__info h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: var(--space-md) 0 var(--space-sm);
}
.product-detail__info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand);
    margin: var(--space-md) 0 var(--space-xs);
}
.product-detail__info ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}
.product-detail__info ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--brand);
    border-radius: 50%;
}

/* === Contact Form === */
.contact-form-section {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    padding: var(--space-xl) 0;
}
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) var(--space-md);
    max-width: 600px;
    margin: 0 auto;
}
.form-group { margin: 0; }
.contact-form .form-group:nth-child(5) { /* Message textarea */
    grid-column: 1 / 1;
}
.contact-form button {
    grid-column: 1 / 1;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.375rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* === Footer === */
.footer {
    background: var(--bg-dark);
    color: #b0b2c4;
    padding: var(--space-xl) 0 var(--space-lg);
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
}
.footer h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer p { font-size: 0.875rem; line-height: 1.7; }
.footer a {
    color: #b0b2c4;
    font-size: 0.875rem;
    display: block;
    padding: 0.2rem 0;
    transition: color 0.2s;
}
.footer a:hover { color: var(--brand-light); }
.footer__socials { display: flex; gap: 0.75rem; margin-top: var(--space-sm); }
.footer__socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.footer__socials a:hover {
    background: var(--brand);
    transform: translateY(-2px);
}
.footer__socials svg { width: 18px; height: 18px; fill: #ccc; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
}

/* ============================================
   Footer Mobile Accordion
   ============================================ */
.footer__col-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    pointer-events: none;  /* desktop: no toggle */
}
.footer__col-toggle:hover {
    color: var(--brand-light, #02a81a);
}
.footer__col-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
    color: #b0b2c4;
}
.footer__col-icon svg {
    display: block;
}
.footer__col-toggle[aria-expanded="true"] .footer__col-icon {
    transform: rotate(180deg);
}
@media (max-width: 768px) {
    .footer__grid {
        display: block;
    }
    .footer__col {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .footer__col:last-child {
        border-bottom: none;
    }
    .footer__col-toggle {
        pointer-events: auto;  /* mobile: clickable */
    }
    .footer__col-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        padding: 0;
    }
    .footer__col-body > * {
        opacity: 0;
        transition: opacity 0.2s ease 0.1s;
    }
    .footer__col-toggle[aria-expanded="true"] + .footer__col-body {
        max-height: 600px;
        padding: 0 0 1rem;
    }
    .footer__col-toggle[aria-expanded="true"] + .footer__col-body > * {
        opacity: 1;
    }
    /* Remove any h4 styling that looks like a standalone heading inside body */
    .footer__col-body h4 {
        margin-top: 1rem !important;
    }
}
.footer__bottom {
    font-size: 0.8125rem;
}

/* === Breadcrumb === */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    padding: 1rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.breadcrumb__sep {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1;
    user-select: none;
}
.breadcrumb__link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb__link:hover {
    color: var(--accent);
    text-decoration: underline;
}
.breadcrumb__current {
    color: var(--text);
    font-weight: 600;
}

/* === Blog === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* === Blog Post Card === */
.post-card {
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* Image area — fixed ratio */
.post-card__img-link {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-alt);
    position: relative;
}
.post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.post-card:hover .post-card__img { transform: scale(1.05); }
.post-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--bg-alt);
}

/* Body — fixed card body so all cards equal height */
.post-card__body {
    padding: 1rem 1.125rem 0.875rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Category badge */
.post-card__cat {
    margin-bottom: 0.4rem;
}
.post-card__cat a {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brand);
    text-decoration: none;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    background: rgba(3,150,23,0.08);
}
.post-card__cat a:hover {
    background: rgba(3,150,23,0.15);
}

/* Title — dark text, NOT brand green */
.post-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.35rem;
    flex-shrink: 0;
}
.post-card__title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}
.post-card__title a:hover {
    color: var(--brand);
}

/* Excerpt — clamped to 3 lines */
.post-card__excerpt {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer — date + arrow, always at bottom of card */
.post-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.7rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-light);
}
.post-card__date {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.post-card__arrow {
    font-size: 1rem;
    color: var(--brand);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.25s, transform 0.25s;
}
.post-card:hover .post-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* === Related Posts Section === */
.related-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    margin-top: var(--space-lg);
}
.related-section .section__title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* === More Products - Gallery Section === */
.gallery-section { padding: var(--space-xl) 0; }
.gallery-section--alt { background: var(--bg-alt); }
.gallery-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--bg-alt);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item { cursor: pointer; }
@media (max-width: 768px) {
    .gallery-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .gallery-row { grid-template-columns: repeat(2, 1fr); gap: 0.375rem; }
}

/* === Lightbox Overlay === */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox__img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    cursor: default;
}
.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    width: 44px; height: 44px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 1;
}
.lightbox__close:hover { opacity: 1; }
@media (max-width: 768px) {
    .lightbox__img { max-width: 96vw; max-height: 90vh; }
    .lightbox__close { top: 0.75rem; right: 0.75rem; font-size: 1.75rem; }
}

/* === More Products - Brand CTA === */
.cta-banner--brand {
    background: linear-gradient(135deg, #039617 0%, #026b10 100%);
    color: #fff;
    text-align: center;
    padding: var(--space-3xl) 0;
}
.cta-banner--brand .cta-banner__title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-sm);
}
.cta-banner--brand .cta-banner__desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
}
.cta-banner--brand .btn--outline {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
.cta-banner--brand .btn--outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* === More Products - Contact CTA === */
.cta-section--contact {
    text-align: center;
    padding: var(--space-xl) 0;
    background: var(--bg-alt);
}
.cta-contact__inner { max-width: 700px; margin: 0 auto; }
.cta-contact__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: var(--space-sm);
}
.cta-contact__desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}
.cta-contact__actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}
.btn--lg {
    padding: 0.85rem 2.5rem;
    font-size: 1.05rem;
}

/* === 404 Page === */

.error-404 { text-align: center; padding: var(--space-3xl) var(--space-md); }
.error-404 h1 { font-size: 4rem; color: var(--brand); margin-bottom: var(--space-sm); }
.error-404 p { color: var(--text-secondary); font-size: 1.125rem; margin-bottom: var(--space-lg); }

/* === Pagination === */
.pagination { text-align: center; margin-top: var(--space-xl); }
.pagination a, .pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    color: var(--text);
    font-size: 0.875rem;
    transition: all 0.2s;
}
.pagination .current {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }

/* === Search === */
.search-form { display: flex; gap: 0.5rem; margin-bottom: var(--space-lg); }
.search-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
}

/* ========================================
   Image Lazy Loading
   ======================================== */
.lazy {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.lazy.loaded {
    opacity: 1;
}
.lazy-placeholder {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}
.lazy-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .product-cards { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .nav-toggle { display: block; }

    .nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-light);
        flex-direction: column;
        padding: var(--space-sm);
        box-shadow: var(--shadow-md);
    }
    .nav.open { display: flex; }
    .nav li { width: 100%; }
    .nav a { padding: 0.75rem 3rem 0.75rem 1rem; width: 100%; border-radius: var(--radius-sm); box-sizing: border-box; }
    .nav .menu-item-has-children > a::after { display: none; }
    .submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0.25rem;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        color: var(--text);
        cursor: pointer;
        border-radius: var(--radius-sm);
        transition: background 0.2s, color 0.2s;
        z-index: 2;
    }
    .submenu-toggle:hover { background: var(--brand-muted); color: var(--brand); }
    .submenu-toggle svg { transition: transform 0.25s ease; }
    .menu-item-has-children.open > .submenu-toggle svg { transform: rotate(180deg); color: var(--brand); }
    .nav .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: var(--bg-alt);
        padding: 0;
        min-width: auto;
        border-radius: 0;
        margin: 0 0 0 1rem;
        display: none;
    }
    .nav .menu-item-has-children:hover > .sub-menu { display: none; }
    .nav .menu-item-has-children.open > .sub-menu { display: block; }
    .nav .sub-menu a { font-size: 0.875rem; padding: 0.625rem 1rem; }

    .global-section__layout { grid-template-columns: 1fr; gap: var(--space-xs); }
    .global-section__col--1,
    .global-section__col--2 {
        flex-direction: row;
        align-items: center;
    }
    .global-section__col--1 .global-section__img-wrap,
    .global-section__col--2 .global-section__img-wrap {
        flex: 0 0 35%;
    }
    .global-section__col--1 .global-section__col-text,
    .global-section__col--2 .global-section__col-text {
        flex: 1;
    }
    .global-section__col--1 .global-section__img-wrap img,
    .global-section__col--2 .global-section__img-wrap img {
        max-height: 280px;
        object-fit: cover;
    }
    .global-section__strips { margin-top: var(--space-md); }
    .product-cards { grid-template-columns: repeat(2, 1fr); }
    .product-detail__layout { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }

    /* Mobile: left image, right text, compact */
    .post-card {
        flex-direction: row;
        align-items: stretch;
        border-radius: 10px;
    }
    .post-card__img-link {
        width: 120px;
        min-width: 120px;
        aspect-ratio: 1;
        margin: 0;
        border-radius: 0;
    }
    .post-card__body {
        padding: 0.625rem 0.75rem;
        justify-content: center;
    }
    .post-card__cat { display: none; }
    .post-card__excerpt { display: none; }
    .post-card__title {
        font-size: 0.875rem;
        margin-bottom: 0.2rem;
    }
    .post-card__footer {
        padding-top: 0;
        margin-top: 0;
        border-top: none;
    }
    .post-card__date { font-size: 0.65rem; }
    .post-card__arrow { display: none; }

    .hero { padding: var(--space-xl) 0; }
    .hero--carousel { padding: 0; }
    .section { padding: var(--space-xl) 0; }

    .topbar__slogan { font-size: 14px; letter-spacing: 0.02em; }

    .footer__grid { grid-template-columns: 1fr; gap: var(--space-md); }
}

@media (max-width: 480px) {
    .product-cards { grid-template-columns: repeat(2, 1fr); }
    .global-section__heading { font-size: 1.25rem; }

    .hero__subtitle { font-size: 0.875rem; }

    .section__title { font-size: 1.25rem; }
    .page-hero h1 { font-size: 1.5rem; }
    .hero__title { font-size: 1.5rem; }
}

/* === FAQ Section === */
.faq-section {
    padding: var(--space-xl) 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}
.faq-section__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}
.faq-section__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: var(--space-xs) 0;
}
.faq-section__desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
}
.faq-section__desc a {
    color: var(--brand);
    text-decoration: underline;
}
.faq-section__desc a:hover {
    opacity: 0.8;
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-light);
}
.faq-item:first-child {
    border-top: 1px solid var(--border-light);
}
.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.125rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: color 0.2s;
    gap: 1rem;
}
.faq-item__question:hover {
    color: var(--brand);
}
.faq-item__question span {
    flex: 1;
}
.faq-item__icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}
.faq-item__question[aria-expanded="true"] .faq-item__icon {
    transform: rotate(45deg);
}
.faq-item__question[aria-expanded="true"] {
    color: var(--brand);
}
.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item__answer > div {
    padding-bottom: 1.125rem;
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.7;
}
.faq-item__answer.open {
    max-height: 600px;
}

@media (max-width: 768px) {
    .faq-section__title { font-size: 1.35rem; }
    .faq-item__question { font-size: 0.925rem; padding: 1rem 0; }
    .faq-item__answer > div { font-size: 0.875rem; }
}

/* ========================================
   About Page
   ======================================== */

/* ── About Hero ── */
.page-hero--about,
.page-hero--contact {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}
.page-hero--about .page-hero__bg,
.page-hero--contact .page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero--about .page-hero__img,
.page-hero--contact .page-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero--about .page-hero__overlay,
.page-hero--contact .page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.30) 100%);
    z-index: 1;
}
.page-hero--about .page-hero__content,
.page-hero--contact .page-hero__content {
    position: relative;
    z-index: 2;
}
.page-hero--about .page-hero__content .section__label,
/* ── Blog Hero (with featured image background) ── */
.page-hero--blog {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-bottom: none;
}
.page-hero--blog .page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
}
.page-hero--blog .container {
    position: relative;
    z-index: 2;
}
.page-hero--blog h1 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-hero--blog .page-hero__desc {
    color: rgba(255,255,255,0.85);
}
.page-hero--blog .section__label a {
    color: var(--accent);
    background: rgba(3,150,23,0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}
@media (max-width: 768px) {
    .page-hero--blog {
        min-height: 300px;
        padding: 3rem 0;
    }
    .page-hero--blog h1 {
        font-size: 1.375rem;
    }
}
.page-hero--contact .page-hero__content .section__label {
    color: var(--brand-light);
}
.page-hero--about h1,
.page-hero--contact h1 {
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    margin-bottom: 0.75rem;
}
.page-hero--about .page-hero__desc,
.page-hero--contact .page-hero__desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ── About Story Section ── */
.about-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.about-story__img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.about-story__title {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}
.about-story__text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.about-story__text p strong {
    color: var(--text);
}
.about-story__text p em {
    color: var(--brand);
    font-style: italic;
}
.about-story__principles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.principle-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    background: var(--bg-alt);
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-sm);
}
.principle-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ── Stats Bar ── */
.stats {
    background: var(--brand);
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}
.stats__item {
    padding: var(--space-md);
}
.stats__number {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}
.stats__label {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
    .stats__number { font-size: 1.75rem; }
    .stats__label { font-size: 0.8125rem; }
}
@media (max-width: 480px) {
    .stats { padding: var(--space-lg) 0; }
    .stats__item { padding: var(--space-sm); }
    .stats__number { font-size: 1.5rem; }
    .stats__label { font-size: 0.75rem; }
}

/* ── Factory Tour Section ── */
.about-factory__videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}
.about-factory__videos .factory-video {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.about-factory__videos .factory-video__player {
    width: 100%;
    display: block;
    background: #000;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.about-factory__videos .factory-video__label {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}
.about-factory__quote {
    max-width: 750px;
    margin: 0 auto;
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.about-factory__quote p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}
.about-factory__quote cite {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand);
    font-style: normal;
}

/* ── Team Section Enhancements ── */
.about-team {
    border-bottom: 1px solid var(--border-light);
}
.team-member__role {
    display: block;
    font-size: 0.8125rem;
    color: var(--brand);
    font-weight: 600;
    margin-top: 0.125rem;
}
.team-member__desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.375rem;
    line-height: 1.5;
}

/* ── Certifications Section ── */
.about-certs .cert-grid {
    max-width: 800px;
    margin: 2rem auto;
}
.cert-item {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}
.cert-item img {
    aspect-ratio: auto;
    max-height: 160px;
    object-fit: contain;
}

/* ========================================
   Contact Page
   ======================================== */

/* ── Contact Info Cards ── */
.contact-info__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin: 0 auto;
}
.contact-info__card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.contact-info__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.contact-info__icon {
    margin-bottom: 0.75rem;
}
.contact-info__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}
.contact-info__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}
.contact-info__value a {
    color: var(--text);
    text-decoration: none;
}
.contact-info__value a:hover {
    color: var(--brand);
}
.contact-info__note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ── Contact Form Layout ── */
.contact-form__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}
.contact-form__left .section__title {
    margin-bottom: 0.25rem;
}
.contact-form__left .section__desc {
    text-align: left;
    margin: 0 0 var(--space-md) 0;
    font-size: 0.925rem;
}



/* ── Contact Info Badge (Why Choose) ── */
.contact-info__badge {
    background: linear-gradient(135deg, var(--brand-muted) 0%, rgba(3,150,23,0.02) 100%);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border: 1px solid rgba(3,150,23,0.15);
    position: relative;
    overflow: hidden;
}
.contact-info__badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand);
}
.contact-info__badge h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.contact-info__badge h3::before {
    content: '★';
    font-size: 1.25rem;
    color: var(--brand);
}
.contact-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info__list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(3,150,23,0.08);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.contact-info__list li::before {
    content: '✓';
    color: var(--brand);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.15em;
}
.contact-info__list li:last-child {
    border-bottom: none;
}

/* ========================================
   Responsive — About & Contact
   ======================================== */
@media (max-width: 768px) {
    .page-hero--about,
    .page-hero--contact {
        min-height: 300px;
        padding: 3rem 0;
    }
    .about-story__grid {
        grid-template-columns: 1fr;
    }
    .about-story__image {
        order: -1;
    }
    .about-story__principles {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-factory__videos {
        grid-template-columns: 1fr;
    }
    .contact-info__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-form__layout {
        grid-template-columns: 1fr;
    }
    .contact-form__right {
        display: block;
    }
}
@media (max-width: 480px) {
    .page-hero--about h1,
    .page-hero--contact h1 {
        font-size: 1.375rem;
    }
    .page-hero--about .page-hero__desc,
    .page-hero--contact .page-hero__desc {
        font-size: 0.9rem;
    }
    .about-story__principles {
        grid-template-columns: 1fr;
    }
    .contact-info__grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .about-factory__videos .factory-video__player {
        aspect-ratio: 4/3;
    }
}

/* === Floating WhatsApp === */
.floating-wa {
    position: fixed !important;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}
.floating-wa svg {
    width: 28px;
    height: 28px;
    display: block;
}

@media (max-width: 480px) {
    .floating-wa {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
    .floating-wa svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   Product Horizontal Strip (drag-scroll)
   ============================================ */
.product-strip-section {
    padding: 1.5rem 0 0;
}
.product-strip-wrapper {
    position: relative;
    overflow: hidden;
}
.product-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 0 1rem;
    cursor: grab;
    user-select: none;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.product-strip::-webkit-scrollbar {
    display: none;
}
.product-strip.dragging {
    cursor: grabbing;
}
.product-strip__item {
    flex: 0 0 auto;
    width: 160px;
    text-decoration: none;
    transition: transform 0.25s ease;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}
.product-strip__item:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: 0 6px 24px rgba(3,150,23,0.12);
}
.product-strip__img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--bg-alt);
}
.product-strip__placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    font-size: 2.5rem;
    color: var(--text-muted);
}
.product-strip__name {
    display: block;
    padding: 0.5rem 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category page header */
.page-hero--cat {
    padding: 3rem 0 1.5rem;
    text-align: center;
    background: var(--bg-alt);
}
.page-hero--cat .section__label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    background: rgba(3,150,23,0.08);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}
.page-hero--cat h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: var(--text);
}
.page-hero--cat .page-hero__desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Product grid below strip */
.page-hero--cat + .breadcrumb + .product-strip-section + .page-content {
    padding-top: 0;
}
.page-content .section__title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 13px;
    font-weight: normal;
}

@media (max-width: 768px) {
    .product-strip-section {
        padding: 1rem 0 0;
    }
    .product-strip {
        gap: 0.75rem;
        padding: 0.5rem 0 0.75rem;
    }
    .product-strip__item {
        width: 130px;
    }
    .product-strip__name {
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
    }
    .page-hero--cat {
        padding: 2rem 0 1rem;
    }
    .page-hero--cat h1 {
        font-size: 1.5rem;
    }
    .page-hero--cat .page-hero__desc {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .product-strip__item {
        width: 110px;
    }
    .product-strip__name {
        font-size: 0.6875rem;
    }
}

/* ========== Category H2 content blocks ========== */
.category-content-block {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color, #eee);
}
.category-content-block h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color, #1a1a2e);
}
.category-content-block h4 {
    font-size: 1rem;
    margin: 1rem 0 0.4rem;
    color: var(--brand, #039617);
}
.category-content-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color, #444);
    margin-bottom: 0.8rem;
}
.category-content-block ul,
.category-content-block ol {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}
.category-content-block li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.category-content-block .btn {
    display: inline-block;
    margin-top: 0.5rem;
}
.category-content-block .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.category-content-block--last {
    border-bottom: none;
    padding-bottom: 4rem;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}
.spec-table th,
.spec-table td {
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border-color, #ddd);
    text-align: left;
}
.spec-table th {
    background: var(--brand, #039617);
    color: #fff;
    font-weight: 600;
}
.spec-table tr:nth-child(even) {
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .category-content-block {
        padding: 2rem 0;
    }
    .category-content-block .grid-2 {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .spec-table {
        font-size: 0.8rem;
    }
    .spec-table th,
    .spec-table td {
        padding: 0.4rem 0.5rem;
    }
}

/* ========== Service Page ========== */
.page-hero--service {
    padding: 2rem 0 2rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
}
.page-hero--service h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--heading-color, #1a1a2e);
}
.page-hero--service .page-hero__desc {
    font-size: 1.05rem;
    color: #555;
    max-width: 700px;
    line-height: 1.7;
}
.page-content--service {
    padding: 3rem 0;
}
.page-content--service h2 {
    font-size: 1.4rem;
    color: var(--brand, #039617);
}
.page-content--service h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--heading-color, #1a1a2e);
}
.page-content--service p {
    line-height: 1.7;
    margin-bottom: 1rem;
}
.page-content--service ul {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}
.page-content--service li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.service-cta {
    padding: 2rem 0;
    background: var(--brand, #039617);
    text-align: center;
}
.service-cta h2 {
    color: #fff;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    margin-bottom: 0.75rem;
}
.service-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}
.service-cta .btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: #02a81a;
    color: var(--brand, #039617);
    border-radius: 50px;
    font-weight: 600;
}
.service-cta .btn--lg:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
}

/* ============================================
   Hero Slide Content Overlay (v5 Homepage)
   ============================================ */
.hero__slide-content {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.15) 100%);
}
.hero__slide-title {
    font-size: clamp(1.6rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    max-width: 800px;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero__slide-title span {
    color: #4ade80;
}
.hero__slide-subtitle {
    font-size: clamp(0.9rem, 1.6vw, 1.2rem);
    color: rgba(255,255,255,0.9);
    max-width: 650px;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.hero__slide-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.hero__slide-cta .btn--primary {
    background: var(--brand, #039617);
    border-color: var(--brand, #039617);
    color: #fff;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.hero__slide-cta .btn--primary:hover {
    background: #02a81a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(3,150,23,0.4);
}
.hero__slide-cta .btn--outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.hero__slide-cta .btn--outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ============================================
   Services Preview Grid (6-card)
   ============================================ */
.section--services-preview {
    padding: 5rem 0;
    background: var(--bg-body, #f5f7fa);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: var(--text, #1a1a2e);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    border-color: var(--brand, #039617);
    box-shadow: 0 8px 25px rgba(3,150,23,0.1);
    transform: translateY(-4px);
    text-decoration: none;
    color: var(--text, #1a1a2e);
}
.service-card__icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}
.service-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text, #1a1a2e);
}
.service-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}
.service-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand, #039617);
    transition: all 0.3s ease;
    margin-top: auto;
}
.service-card:hover .service-card__link {
    color: #02a81a;
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
    background: var(--brand, #039617);
    padding: 1.5rem 0;
}
.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.stats-bar__item {
    padding: 0.5rem;
}
.stats-bar__number {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}
.stats-bar__label {
    display: block;
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

/* ============================================
   Featured Projects
   ============================================ */
.section--featured-projects {
    padding: 2rem 0;
    background: var(--bg-body, #f5f7fa);
}
.featured-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.project-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text, #1a1a2e);
    transition: all 0.3s ease;
}
.project-card:hover {
    border-color: var(--brand, #039617);
    box-shadow: 0 8px 25px rgba(3,150,23,0.1);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--text, #1a1a2e);
}
.project-card__image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover .project-card__image img {
    transform: scale(1.05);
}
.project-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted, #e8ecf1);
    font-size: 2.5rem;
}
.project-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.project-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--text, #1a1a2e);
}
.project-card__excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 0.75rem;
}
.project-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand, #039617);
}
.project-card:hover .project-card__link {
    color: #02a81a;
}

/* ============================================
   Design Consultation CTA Banner
   ============================================ */
.cta-banner {
    padding: 2rem 0;
    background: var(--brand, #039617);
    text-align: center;
    color: #fff;
}
.cta-banner__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
}
.cta-banner__desc {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.cta-banner__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-banner .btn--primary.btn--lg {
    color: var(--brand, #039617);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}
.cta-banner .btn--primary.btn--lg:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.cta-banner .btn--outline.btn--lg {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.cta-banner .btn--outline.btn--lg:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ============================================
   Factory Video Section — QA Theme
   ============================================ */
.factory-video .section__header {
    margin-bottom: 2rem;
}
.factory-video .section__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text, #1a1a2e);
}
.factory-video .section__desc {
    text-align: center;
    color: var(--text-secondary, #64748b);
    font-size: 0.95rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   Featured Products Section
   ============================================ */
.section--featured-products {
    padding: 2rem 0;
}
.section--featured-products .product-cards {
    margin-top: 1rem;
}

/* ============================================
   Product Category Block (Homepage)
   ============================================ */
.product-category-block {
    margin-bottom: 2.5rem;
}
.product-category-block:last-child {
    margin-bottom: 0;
}
.product-category-block__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.product-category-block__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text, #1a1a2e);
    margin: 0;
}
.product-category-block__link {
    font-size: 0.875rem;
    color: var(--accent, #039617);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}
.product-category-block__link:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* ============================================
   Section Header
   ============================================ */
.section__header {
    text-align: center;
    margin-bottom: 0.5rem;
}
.section__title {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 700;
    color: var(--text, #1a1a2e);
    margin-bottom: 0.75rem;
}
.section__desc {
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    color: var(--text-secondary, #64748b);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}
.section__cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ============================================
   Portfolio Page
   ============================================ */
.page-hero--portfolio {
    padding: 2rem 0 2rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
}
.page-hero--portfolio h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--heading-color, #1a1a2e);
}
.page-hero--portfolio .page-hero__desc {
    font-size: 1.05rem;
    color: #555;
    max-width: 700px;
    line-height: 1.7;
}

/* Portfolio Stats */
.portfolio-stats {
    background: var(--brand, #039617);
    padding: 1.5rem 0;
}
.portfolio-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.portfolio-stats__item {
    padding: 0.5rem;
}
.portfolio-stats__number {
    display: block;
    font-size: clamp(1.6rem, 2.8vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}
.portfolio-stats__label {
    display: block;
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

/* Filter Grid */
.section--portfolio-filter {
    padding: 2rem 0;
    background: var(--bg-body, #f5f7fa);
}
.filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.filter-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none;
    color: var(--text, #1a1a2e);
    transition: all 0.3s ease;
}
.filter-card:hover {
    border-color: var(--brand, #039617);
    box-shadow: 0 8px 25px rgba(3,150,23,0.1);
    transform: translateY(-4px);
    text-decoration: none;
    color: var(--text, #1a1a2e);
}
.filter-card__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}
.filter-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text, #1a1a2e);
}
.filter-card__desc {
    font-size: 0.85rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}
.filter-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand, #039617);
    margin-top: auto;
}
.filter-card:hover .filter-card__link {
    color: #02a81a;
}

/* Product Categories on Portfolio */
.section--portfolio-products {
    padding: 2rem 0;
}
.product-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.product-cat-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none;
    color: var(--text, #1a1a2e);
    transition: all 0.3s ease;
}
.product-cat-card:hover {
    border-color: var(--brand, #039617);
    box-shadow: 0 8px 25px rgba(3,150,23,0.1);
    transform: translateY(-4px);
    text-decoration: none;
    color: var(--text, #1a1a2e);
}
.product-cat-card__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}
.product-cat-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text, #1a1a2e);
}
.product-cat-card__count {
    font-size: 0.8rem;
    color: var(--brand, #039617);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.product-cat-card__desc {
    font-size: 0.85rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}
.product-cat-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand, #039617);
    margin-top: auto;
}
.product-cat-card:hover .product-cat-card__link {
    color: #02a81a;
}

/* ============================================
   Responsive: ≤768px
   ============================================ */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-bar__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .hero__slide-cta {
        flex-direction: column;
        align-items: center;
    }
    .filter-grid,
    .product-categories__grid,
    .portfolio-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Responsive: ≤480px
   ============================================ */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .featured-projects__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .cta-banner__actions {
        flex-direction: row;
        gap: 0.75rem;
    }
    .cta-banner .btn--lg {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
    }
    .filter-grid,
    .product-categories__grid,
    .portfolio-stats__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CASE GALLERY — Blog detail page multi-image display
   ============================================================ */
.case-gallery {
    margin: 2rem auto 2.5rem;
    padding-top: 0.5rem;
    max-width: 800px;
}
.case-gallery__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark, #1a1a2e);
}
.case-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.case-gallery__item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-gallery__item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.case-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox overlay */
.case-gallery__overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.case-gallery__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.case-gallery__close:hover { opacity: 1; }
.case-gallery__lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    cursor: default;
}
.case-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    font-size: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}
.case-gallery__nav:hover { background: rgba(255,255,255,0.3); }
.case-gallery__prev { left: 16px; }
.case-gallery__next { right: 16px; }
.case-gallery__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    background: rgba(0,0,0,0.5);
    padding: 4px 14px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .case-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .case-gallery__title { font-size: 1.25rem; }
    .case-gallery__nav { width: 36px; height: 36px; font-size: 20px; }
    .case-gallery__prev { left: 8px; }
    .case-gallery__next { right: 8px; }
}
@media (max-width: 480px) {
    .case-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .case-gallery { margin: 2rem 0; }
}
