:root {
    --bg: #f6f8f2;
    --surface: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.82);
    --text: #163126;
    --muted: #617669;
    --primary: #2f7c4f;
    --primary-dark: #1e5e39;
    --accent: #f2a33f;
    --border: rgba(22, 49, 38, 0.08);
    --shadow: 0 24px 60px rgba(16, 38, 25, 0.12);
    --shadow-soft: 0 16px 40px rgba(16, 38, 25, 0.08);
    --radius: 24px;
    --container: min(1180px, calc(100% - 2rem));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(242, 163, 63, 0.16), transparent 30%),
        radial-gradient(circle at top right, rgba(47, 124, 79, 0.1), transparent 28%),
        var(--bg);
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 248, 242, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(22, 49, 38, 0.06);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(246, 248, 242, 0.94);
    box-shadow: 0 12px 32px rgba(16, 38, 25, 0.08);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-mark {
    width: 62px;
    height: 62px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    flex-shrink: 0;
}

.brand-copy strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-copy span {
    display: block;
    margin-top: 0.18rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(47, 124, 79, 0.1);
    color: var(--text);
    outline: none;
}

.nav-links a.active {
    background: rgba(47, 124, 79, 0.14);
    color: var(--text);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: currentColor;
    position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle span::before {
    top: -6px;
}

.menu-toggle span::after {
    top: 6px;
}

.hero-banner {
    position: relative;
    min-height: 76vh;
    width: 100%;
    display: flex;
    align-items: center;
    background: url("../media/images/hero-banner.jpeg") center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 21, 15, 0.72) 0%, rgba(9, 21, 15, 0.46) 45%, rgba(9, 21, 15, 0.24) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 6rem 0;
}

.hero-copy {
    max-width: 680px;
    color: #ffffff;
    padding-left: clamp(0.75rem, 2.5vw, 2.5rem);
}

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-label {
    padding: 0;
    color: var(--primary);
}

.hero-copy h1 {
    margin: 1rem 0 0;
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    max-width: 10.5ch;
}

.hero-copy p {
    max-width: 60ch;
    font-size: 1.04rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    margin: 1.25rem 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 16px 30px rgba(47, 124, 79, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.button-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

.section {
    padding: 4.5rem 0 0;
}

.about-hero h1 {
    margin: 0.55rem 0 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.about-hero p {
    max-width: 68ch;
    color: var(--muted);
    line-height: 1.75;
    margin-top: 1rem;
}

.about-content-grid,
.common-image-grid,
.impact-grid {
    display: grid;
    gap: 1.25rem;
}

.about-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.common-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-image-card {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    background: var(--surface);
}

.about-image-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.impact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impact-card {
    padding: 1.2rem;
}

.impact-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.impact-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.impact-card p {
    margin-top: 0.8rem;
}

.intro-grid,
.feature-grid,
.product-grid,
.footer-grid {
    display: grid;
    gap: 1.25rem;
}

.intro-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.content-card,
.feature-card,
.cta-panel,
.footer-card {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.content-card {
    padding: clamp(1.4rem, 2.5vw, 2rem);
}

.logo-card {
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 242, 0.9));
}

.logo-showcase {
    width: min(100%, 340px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.content-card h2,
.section-head h2,
.cta-panel h2 {
    margin: 0.45rem 0 0;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.content-card p,
.section-head p,
.feature-card p,
.cta-panel p,
.site-footer p,
.footer-links a {
    color: var(--muted);
    line-height: 1.7;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 1.35rem 0 0;
    display: grid;
    gap: 0.85rem;
}

.about-points li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    color: var(--muted);
    line-height: 1.65;
}

.about-points li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 0.48rem;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.section-head {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
    padding: 1.35rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--primary);
    font-weight: 800;
    background: linear-gradient(135deg, rgba(47, 124, 79, 0.12), rgba(242, 163, 63, 0.16));
}

.feature-card strong {
    display: block;
    margin: 0.95rem 0 0.45rem;
    font-size: 1.03rem;
}

.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.cta-panel {
    padding: clamp(1.5rem, 3vw, 2.2rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 245, 0.96));
}

.site-footer {
    padding: 4rem 0 2rem;
}

.footer-card {
    padding: clamp(1.4rem, 2.8vw, 2rem);
}

.footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.65rem;
}

.footer-bottom {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.94rem;
}

@media (max-width: 1100px) {
    .about-content-grid,
    .impact-grid,
    .feature-grid,
    .product-grid,
    .footer-grid,
    .cta-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-panel > :last-child {
        justify-self: start;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-panel {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--border);
        border-radius: 22px;
        box-shadow: var(--shadow);
        padding: 1rem;
    }

    .nav-panel.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links a {
        width: 100%;
        justify-content: center;
        font-size: 0.92rem;
    }

    .common-image-grid,
    .intro-grid,
    .about-content-grid,
    .impact-grid,
    .feature-grid,
    .product-grid,
    .footer-grid,
    .cta-panel {
        grid-template-columns: 1fr;
    }

    .intro-grid .logo-card {
        display: none;
    }

    .hero-banner {
        min-height: 68vh;
    }

    .hero-content {
        padding: 5rem 0;
    }
}

@media (min-width: 901px) {
    .nav-panel {
        display: block;
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(100% - 1rem, 1180px);
    }

    .nav-wrap {
        min-height: 76px;
    }

    .brand-mark {
        width: 56px;
        height: 56px;
    }

    .brand-copy strong {
        font-size: 0.96rem;
    }

    .brand-copy span {
        font-size: 0.82rem;
    }

    .hero-banner {
        min-height: 62vh;
        background-position: center;
    }

    .hero-content {
        padding: 4.5rem 0;
    }

    .hero-copy p {
        font-size: 0.98rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .content-card,
    .feature-card,
    .product-card,
    .cta-panel,
    .footer-card {
        border-radius: 22px;
    }
}

/* ============================================================
   Products page
   ============================================================ */

.product-category-header {
    margin-bottom: 1.5rem;
}

.product-category-header h2 {
    margin: 0.4rem 0 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.product-variant-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.product-variant-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-variant-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(47, 124, 79, 0.12);
}

.product-variant-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-variant-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-variant-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
    letter-spacing: 0.01em;
}

.product-applications {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1.5rem;
    margin-top: 0;
}

.product-applications strong {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--primary);
}

.product-applications p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.product-note {
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 1100px) {
    .product-variant-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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