/* ========================================
   KinHar Energy - Modern B2B Website Stylesheet
   Brand: Navy + Electric Green Energy Theme
   ======================================== */

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

:root {
    /* Brand Colors */
    --navy: #0f1e3a;
    --navy-deep: #0a1628;
    --navy-light: #1a2d4f;
    --green: #2dd47a;
    --green-light: #5ce896;
    --green-deep: #20b368;

    /* Neutral Colors */
    --white: #ffffff;
    --bg: #fafbfc;
    --bg-alt: #f4f6fa;
    --text: #1a2332;
    --text-muted: #5b6577;
    --text-light: #8a93a6;
    --border: #e5e9f0;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Manrope', 'Inter', sans-serif;

    /* Spacing */
    --container: 1240px;
    --container-padding: 24px;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(15, 30, 58, 0.06);
    --shadow-md: 0 8px 28px rgba(15, 30, 58, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 30, 58, 0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.5rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: 0.5em; }
h4 { font-size: 1.125rem; margin-bottom: 0.5em; }

p { margin-bottom: 1em; }

ul { list-style: none; }

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

.text-green { color: var(--green); }

/* ---------- Eyebrow ---------- */
.eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--green);
    margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn-primary:hover {
    background: var(--green-deep);
    border-color: var(--green-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 212, 122, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ---------- Top Bar ---------- */
.top-bar {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: 1.5rem;
}

.top-bar-item svg { color: var(--green); }

.top-bar-right {
    display: flex;
    gap: 0.75rem;
}

.top-bar-tag {
    background: rgba(45, 212, 122, 0.15);
    color: var(--green-light);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .top-bar-right { display: none; }
}

.top-bar-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

.top-bar-link:hover {
    color: var(--white);
}

.top-bar-link svg {
    color: var(--green);
}

/* ---------- Header / Nav ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
    gap: 2.5rem;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: 220px;
    height: 78px;
}

.logo img {
    display: block;
    height: 76px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
}

.nav-link:hover { color: var(--green); }

.nav-link.active {
    color: var(--green);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
}

/* Dropdown in nav — JS-driven for mobile, hover for desktop */
.has-dropdown {
    position: relative;
}

.has-dropdown > .nav-link {
    cursor: pointer;
}

.has-dropdown > .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    box-shadow: 0 12px 32px rgba(15, 30, 58, 0.15);
    border-radius: 12px;
    padding: 12px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
    list-style: none;
    border: 1px solid var(--border);
}

.has-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu,
.has-dropdown.is-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown > .dropdown-menu a {
    display: block;
    padding: 10px 22px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    white-space: nowrap;
}

.has-dropdown > .dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--green);
    padding-left: 28px;
}

.caret {
    font-size: 10px;
    margin-left: 2px;
    display: inline-block;
    transition: transform 0.2s;
}

.has-dropdown:hover .caret,
.has-dropdown.is-open .caret {
    transform: rotate(180deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: space-around;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1024px) {
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--white); padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); max-height: calc(100vh - 72px); overflow-y: auto; }
    .nav.active { display: flex; }
    .nav-link { width: 100%; text-align: center; padding: 1rem; }
    .nav-link.active::after { display: none; }
    .header-actions .btn { display: none; }
    .menu-toggle { display: flex; }

    .logo {
        width: 170px;
        height: 62px;
    }

    .logo img {
        height: 60px;
        max-width: 170px;
    }

    .top-bar {
        font-size: 0.72rem;
    }

    .top-bar-item {
        margin-right: 0.75rem;
    }

    .top-bar-left .top-bar-item:nth-child(2) {
        display: none;
    }

    .has-dropdown { width: 100%; }
    .has-dropdown > .nav-link { width: 100%; display: flex; justify-content: center; align-items: center; gap: 4px; }
    .has-dropdown::before { display: none; }
    .has-dropdown > .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        min-width: 100%;
    }
    .has-dropdown.is-open > .dropdown-menu {
        max-height: 400px;
        padding: 4px 0 8px;
        border-top: 1px solid var(--border);
    }
    .has-dropdown > .dropdown-menu a {
        padding: 0.75rem 1rem;
        font-size: 13px;
        text-align: center;
    }
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    padding: 5rem 0 6rem;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 50%, rgba(45, 212, 122, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(45, 212, 122, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text { max-width: 600px; }
.hero .eyebrow { color: var(--green-light); }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-cta .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-cta .btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.hero-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.badge-item svg { color: var(--green); }

.hero-visual { position: relative; }

.hero-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
}

.hero-card-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--green);
    color: var(--navy-deep);
    padding: 0.375rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.hero-stat {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child { border-bottom: none; }
.hero-stat-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.hero-stat-label { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.1em; }

@media (max-width: 1024px) {
    .hero { padding: 3rem 0 4rem; }
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero-card { padding: 2rem; }
}

@media (max-width: 768px) {
    .hero-badges { gap: 1rem; }
    .badge-item { font-size: 0.8125rem; }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.trust-num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 640px) {
    .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0.5rem; }
    .trust-num { font-size: 1.75rem; }
}

/* ---------- Sections ---------- */
.section {
    padding: 5rem 0;
}

.section-pad-small { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-head h2 { margin-bottom: 0.75rem; }

.section-head p {
    font-size: 1.0625rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .section-head { margin-bottom: 2rem; }
}

/* ---------- Product Grid (Homepage) ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-alt);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img { transform: scale(1.05); }

.product-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--green);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.product-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex: 1;
}

.product-features {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.product-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.375rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.product-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--navy);
    transition: color var(--transition);
    align-self: flex-start;
}

.product-link:hover { color: var(--green); }

.product-card-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
    padding: 2rem;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.product-card-cta h3 { color: var(--white); }
.product-card-cta p { color: rgba(255, 255, 255, 0.85); }
.product-card-cta .btn-primary { margin-top: 1rem; }

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(45, 212, 122, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .product-grid { grid-template-columns: 1fr; }
}

/* ---------- Why Choose Us / Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(45, 212, 122, 0.12), rgba(45, 212, 122, 0.04));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* ---------- Industries Grid ---------- */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.industry-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.industry-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.industry-item h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.industry-item p { font-size: 0.9375rem; color: var(--text-muted); margin: 0; }

@media (max-width: 1024px) {
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .industries-grid { grid-template-columns: 1fr; }
}

/* ---------- Cert/Story Grid ---------- */
.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cert-text h2 { margin-bottom: 1rem; }
.cert-text > p { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.cert-list {
    margin-bottom: 1.5rem;
}

.cert-list li {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cert-list li:last-child { border-bottom: none; }
.cert-list strong { color: var(--navy); font-weight: 700; }
.cert-list span { font-size: 0.9375rem; color: var(--text-muted); }

.cert-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cert-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .cert-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
}

.testimonial p {
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.testimonial-name {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.125rem;
}

.testimonial-company {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA Section ---------- */
.cta-final {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(45, 212, 122, 0.15) 0%, transparent 50%);
}

.cta-box {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-box p { font-size: 1.125rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 2rem; }

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.footer-col p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--green); }

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--green);
    color: var(--navy-deep);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-bottom p { margin: 0; }

.footer-bottom a {
    color: var(--green);
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: all var(--transition);
}

.whatsapp-float svg { width: 32px; height: 32px; }

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebe5d;
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.6;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- Page Hero (sub pages) ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 4.5rem 0 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(45, 212, 122, 0.15) 0%, transparent 50%);
}

.page-hero > .container { position: relative; max-width: 800px; }
.page-hero .eyebrow { color: var(--green-light); }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { font-size: 1.125rem; color: rgba(255, 255, 255, 0.85); }

@media (max-width: 768px) {
    .page-hero { padding: 3rem 0 2.5rem; }
}

/* ---------- Product Filter ---------- */
.product-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--text);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition);
}

.filter-btn:hover { background: var(--navy); color: var(--white); }
.filter-btn.active {
    background: var(--green);
    color: var(--white);
    font-weight: 600;
}

/* ---------- Category Head ---------- */
.cat-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.cat-head h2 { margin-bottom: 0.75rem; }
.cat-head p { font-size: 1.0625rem; color: var(--text-muted); }

/* ---------- Model Grid (Products page) ---------- */
.model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.model-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.model-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-alt);
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model-body {
    padding: 1.5rem;
    flex: 1;
}

.model-cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green);
}

.model-card h3 {
    font-size: 1.125rem;
    margin: 0.375rem 0 0.75rem;
}

.model-card > p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.model-specs {
    font-size: 0.875rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.model-specs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    border-bottom: 1px dashed var(--border);
}

.model-specs li:last-child { border-bottom: none; }
.model-specs span { color: var(--text-muted); }
.model-specs strong { color: var(--navy); font-weight: 600; }

@media (max-width: 1024px) {
    .model-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .model-grid { grid-template-columns: 1fr; }
}

/* ---------- Story Grid (About) ---------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 { margin-bottom: 1.25rem; }
.story-text p { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 1rem; }

.story-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.story-visual img {
    border-radius: var(--radius-lg);
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.story-stat-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--green);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 12px 32px rgba(45, 212, 122, 0.3);
}

.story-stat-num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.story-stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .story-grid { grid-template-columns: 1fr; gap: 2rem; }
    .story-stat-card { right: 0; }
}

/* ---------- Mission/Vision/Values ---------- */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mv-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mv-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.mv-card p { color: var(--text-muted); margin: 0; }

@media (max-width: 1024px) {
    .mv-grid { grid-template-columns: 1fr; }
}

/* ---------- Numbers Grid ---------- */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.num-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.num-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.num-figure {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.num-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
}

@media (max-width: 1024px) {
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .numbers-grid { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-item.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1 / 1;
}

.gallery-item.gallery-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.875rem 1rem;
    background: linear-gradient(to top, rgba(15, 30, 58, 0.95) 0%, rgba(15, 30, 58, 0) 100%);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item.gallery-large { grid-column: span 3; aspect-ratio: 16 / 9; }
    .gallery-item.gallery-wide { grid-column: span 3; }
}

@media (max-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.gallery-large { grid-column: span 2; }
    .gallery-item.gallery-wide { grid-column: span 2; }
}

/* ---------- Process Steps ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.process-num {
    position: absolute;
    top: -16px;
    left: 1.5rem;
    background: var(--green);
    color: var(--navy-deep);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9375rem;
}

.process-step h3 { font-size: 1.125rem; margin: 0.5rem 0 0.75rem; }
.process-step p { font-size: 0.9375rem; color: var(--text-muted); margin: 0; }

@media (max-width: 1024px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .process-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact Section ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info h2 { margin-bottom: 0.75rem; }
.contact-info > p { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 2rem; }

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    color: var(--text);
}

.contact-channel:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.whatsapp-channel {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border-color: transparent;
}

.whatsapp-channel:hover {
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.3);
}

.contact-channel-icon {
    width: 56px;
    height: 56px;
    background: rgba(45, 212, 122, 0.12);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green);
}

.whatsapp-channel .contact-channel-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.contact-channel-body { flex: 1; }
.contact-channel-body strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
}

.contact-channel-body span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.whatsapp-channel .contact-channel-body span { color: rgba(255, 255, 255, 0.9); }

.contact-channel-arrow {
    font-size: 1.25rem;
    color: var(--text-light);
    transition: transform var(--transition);
}

.contact-channel:hover .contact-channel-arrow {
    transform: translateX(4px);
    color: var(--green);
}

.whatsapp-channel:hover .contact-channel-arrow { color: var(--white); }

.contact-company-info {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-company-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-company-info p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-company-info p:last-child { margin-bottom: 0; }

.contact-hours {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

/* ---------- Contact Form ---------- */
.contact-form-wrap {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.form-intro { color: var(--text-muted); margin-bottom: 2rem; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--white);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(45, 212, 122, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-disclaimer {
    font-size: 0.8125rem;
    color: var(--text-light);
    text-align: center;
    margin: 0;
}

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form-wrap { padding: 2rem; }
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item[open] {
    border-color: var(--green);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--green);
    font-weight: 300;
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
}

.faq-body p { margin: 0; }

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
    .product-card,
    .feature-item,
    .industry-item,
    .mv-card,
    .num-card,
    .model-card,
    .process-step,
    .faq-item,
    .testimonial {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeUp 0.6s ease forwards;
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation on grids */
.product-card:nth-child(1), .feature-item:nth-child(1), .industry-item:nth-child(1), .mv-card:nth-child(1), .num-card:nth-child(1), .model-card:nth-child(1), .process-step:nth-child(1), .testimonial:nth-child(1) { animation-delay: 0s; }
.product-card:nth-child(2), .feature-item:nth-child(2), .industry-item:nth-child(2), .mv-card:nth-child(2), .num-card:nth-child(2), .model-card:nth-child(2), .process-step:nth-child(2), .testimonial:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3), .feature-item:nth-child(3), .industry-item:nth-child(3), .mv-card:nth-child(3), .num-card:nth-child(3), .model-card:nth-child(3), .process-step:nth-child(3), .testimonial:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4), .feature-item:nth-child(4), .industry-item:nth-child(4), .model-card:nth-child(4), .process-step:nth-child(4) { animation-delay: 0.3s; }
.product-card:nth-child(5), .feature-item:nth-child(5), .industry-item:nth-child(5), .model-card:nth-child(5), .process-step:nth-child(5) { animation-delay: 0.4s; }
.product-card:nth-child(6), .feature-item:nth-child(6), .industry-item:nth-child(6), .model-card:nth-child(6), .process-step:nth-child(6) { animation-delay: 0.5s; }

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
