:root {
    --green: #00a838;
    --green-dark: #0b5f2a;
    --orange: #ff8200;
    --brown: #5b330f;
    --dark: #101510;
    --dark-soft: #172017;
    --cream: #f7f3ea;
    --muted: #6b6b6b;
    --line: #e7e2d7;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(0,0,0,0.12);
    --radius: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--cream);
    color: #1f241f;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

.container {
    width: min(92%, 1200px);
    margin: auto;
}

/* Header */

.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10, 15, 10, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    opacity: 0.92;
}

.main-nav a:hover {
    color: var(--orange);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.9rem;
    cursor: pointer;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--orange);
    color: #151515;
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--green-dark);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    color: var(--orange);
}

/* Hero */

.hero-section {
    min-height: 100vh;
    position: relative;
    background:
        linear-gradient(90deg, rgba(8,13,8,0.90) 0%, rgba(8,13,8,0.68) 42%, rgba(8,13,8,0.30) 100%),
        url('/assets/img/hero/hero-placeholder.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 90px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.eyebrow {
    display: inline-block;
    color: var(--orange);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: clamp(2.7rem, 7vw, 5.8rem);
    line-height: 0.95;
    max-width: 850px;
    letter-spacing: -0.05em;
    margin-bottom: 1.4rem;
}

.hero-content p {
    max-width: 720px;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    opacity: 0.94;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Intro strip */

.intro-strip {
    background: var(--white);
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    position: relative;
    z-index: 5;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.intro-grid div {
    padding: 1.5rem;
    border-right: 1px solid var(--line);
}

.intro-grid div:last-child {
    border-right: none;
}

.intro-grid strong {
    display: block;
    color: var(--green-dark);
    font-size: 1.05rem;
}

.intro-grid span {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Sections */

.section {
    padding: 6rem 0;
}

.section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

.section-heading h2,
.feature-copy h2,
.split-grid h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.section-heading p,
.feature-copy p,
.split-grid p {
    font-size: 1.07rem;
    color: var(--muted);
}

/* Solutions */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.3rem;
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 100%;
}

.solution-image {
    height: 190px;
    background-size: cover;
    background-position: center;
    background-color: #d8d2c7;
}

.solution-content {
    padding: 1.4rem;
}

.solution-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Dark section */

.dark-section {
    background: var(--dark);
    color: var(--white);
}

.dark-section p {
    color: rgba(255,255,255,0.76);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.impact-points {
    display: grid;
    gap: 1rem;
}

.impact-points div {
    background: rgba(255,255,255,0.08);
    padding: 1.4rem;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
}

.impact-points h3 {
    color: var(--orange);
    margin-bottom: 0.35rem;
}

/* Feature */

.feature-section {
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-image {
    min-height: 520px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background-size: cover;
    background-position: center;
}

.pellets-image {
    background-image: url('/assets/img/products/pellets-closeup.jpg'), url('/assets/img/hero/hero-placeholder.jpg');
}

.check-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
}

.check-list li {
    padding: 0.55rem 0 0.55rem 2rem;
    position: relative;
    font-weight: 700;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.55rem;
    color: var(--green);
    font-weight: 900;
}

/* Stoves */

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

.stove-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.stove-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: #d8d2c7;
}

.stove-one {
    background-image: url('/assets/img/stoves/mimimoto-red.jpg');
}

.stove-two {
    background-image: url('/assets/img/stoves/institutional-stove.jpg');
}

.stove-three {
    background-image: url('/assets/img/stoves/demo-cooking.jpg');
}

.stove-card h3,
.stove-card p {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
}

.stove-card h3 {
    padding-top: 1.35rem;
    margin-bottom: 0.4rem;
}

.stove-card p {
    padding-bottom: 1.35rem;
    color: var(--muted);
}

/* Institutional */

.institutional-band {
    background:
        linear-gradient(90deg, rgba(13,76,33,0.95), rgba(13,76,33,0.74)),
        url('/assets/img/factory/institutional-cooking.jpg') center/cover no-repeat;
    color: var(--white);
}

.institutional-band p {
    color: rgba(255,255,255,0.84);
}

.institution-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.institution-list span {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    padding: 0.8rem 1rem;
    border-radius: 999px;
    font-weight: 800;
}

/* Stats */

.stats-section {
    background: var(--cream);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-number {
    color: var(--green-dark);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    color: var(--muted);
    font-weight: 700;
    margin-top: 0.8rem;
}

/* About preview */

.about-preview {
    background: var(--white);
}

.about-image-placeholder {
    min-height: 360px;
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)),
        url('/assets/img/factory/factory-team.jpg') center/cover no-repeat;
    background-color: #d8d2c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
}

/* Final CTA */

.final-cta {
    padding: 6rem 0;
    text-align: center;
    background: var(--dark);
    color: var(--white);
}

.final-cta h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.final-cta p {
    max-width: 720px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.78);
    font-size: 1.12rem;
}

.center-buttons {
    justify-content: center;
}

/* Footer */

.site-footer {
    background: #0a0d0a;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
}

.footer-grid h3,
.footer-grid h4 {
    margin-bottom: 0.8rem;
}

.footer-grid p,
.footer-grid li {
    color: rgba(255,255,255,0.7);
}

.footer-grid ul {
    list-style: none;
}

.footer-grid a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--orange);
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    opacity: 0.65;
    font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 1050px) {
    .main-nav {
        gap: 0.8rem;
    }

    .main-nav a {
        font-size: 0.82rem;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .main-nav {
        position: absolute;
        top: 76px;
        right: 4%;
        background: rgba(10, 15, 10, 0.98);
        width: min(330px, 92vw);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        border-radius: 18px;
        display: none;
        box-shadow: var(--shadow);
    }

    .main-nav.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-section {
        min-height: 92vh;
        background:
            linear-gradient(rgba(8,13,8,0.78), rgba(8,13,8,0.78)),
            url('/assets/img/hero/hero-placeholder.jpg') center/cover no-repeat;
    }

    .intro-grid,
    .split-grid,
    .feature-grid,
    .stove-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .intro-grid div {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .section {
        padding: 4rem 0;
    }

    .feature-image {
        min-height: 360px;
    }
}

@media (max-width: 560px) {
    .logo img {
        height: 40px;
    }

    .hero-buttons,
    .center-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .solutions-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.5rem;
    }
}


/* Reveal animation */

.reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Language switcher */

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.4rem;
    padding-left: 0.9rem;
    border-left: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    font-weight: 800;
}

.language-switcher a {
    font-size: 0.82rem;
    opacity: 0.7;
}

.language-switcher a.active-lang {
    color: var(--orange);
    opacity: 1;
}

@media (max-width: 820px) {
    .language-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 0.5rem;
    }
}