:root {
    --bs-primary: #365846;
    --bs-primary-rgb: 54, 88, 70;
    --brand-primary: #365846;
    --brand-navy: #160668;
    --brand-accent: #e3910a;
    --brand-soft: #c6d5c6;
    --brand-soft-bg: #f4f7f4;
    --brand-text: #1e2a24;
    --brand-muted: #5f6f66;
    --surface: #ffffff;
    --border-color: #d8e3db;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-card: 0 12px 28px rgba(22, 33, 27, 0.08);
    --shadow-soft: 0 8px 20px rgba(22, 33, 27, 0.05);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--brand-text);
    background: var(--brand-soft-bg);
    font-family: "Schibsted Grotesk", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.65;
}

a {
    color: var(--brand-primary);
}

a:hover {
    color: #2b4a3a;
}

.text-brand-primary {
    color: var(--brand-primary) !important;
}

.text-brand-navy {
    color: var(--brand-navy) !important;
}

.bg-brand-soft {
    background: var(--brand-soft) !important;
}

.site-topbar {
    background: #1f3429;
    color: #e8f1eb;
    font-size: 0.92rem;
}

.site-topbar .topbar-link {
    color: #e8f1eb;
    text-decoration: none;
}

.site-topbar .topbar-link:hover {
    color: #ffffff;
}

.site-navbar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.brand-logo {
    height: 62px;
    width: auto;
    object-fit: contain;
}

.site-navbar .nav-link {
    color: #274537 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    margin-left: 0.8rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--brand-primary) !important;
}

.site-navbar .nav-link.active {
    text-decoration: underline;
    text-decoration-color: var(--brand-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35rem;
}

.btn {
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #c87d09;
    border-color: #c87d09;
}

.btn-outline-primary {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-outline-primary:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-accent {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #ffffff;
}

.btn-accent:hover,
.btn-accent:focus {
    background: #c87d09;
    border-color: #c87d09;
    color: #ffffff;
}

.hero {
    position: relative;
    overflow: hidden;
    background-image: url("../assets/images/hero-farm-bg2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 21, 16, 0.52) 0%, rgba(9, 21, 16, 0.32) 45%, rgba(9, 21, 16, 0.08) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero h1 {
    font-weight: 700;
    line-height: 1.2;
}

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(2px);
}

.hero-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.95rem;
}

.hero-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
}

.page-hero {
    background: linear-gradient(120deg, #f8fbf8 0%, #e9f1e9 52%, #dde8de 100%);
    border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
    color: var(--brand-primary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    background-image: url("../assets/images/contact-hero-lemon.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 21, 16, 0.62) 0%, rgba(9, 21, 16, 0.42) 48%, rgba(9, 21, 16, 0.4) 100%);
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero h1,
.contact-hero p {
    color: #ffffff;
}

.product-hero {
    position: relative;
    overflow: hidden;
    background-image: url("../assets/images/product_banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.product-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 22, 17, 0.72) 0%, rgba(10, 22, 17, 0.5) 45%, rgba(10, 22, 17, 0.38) 100%);
}

.product-hero .container {
    position: relative;
    z-index: 1;
}

.product-hero h1,
.product-hero p {
    color: #ffffff;
}

.section-title {
    color: var(--brand-primary);
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.section-subtitle {
    color: var(--brand-muted);
    max-width: 740px;
}

.content-section {
    padding: 5rem 0;
}

.panel-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    padding: 1.7rem;
    height: 100%;
}

.feature-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    padding: 1.45rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ffffff;
    background: var(--brand-accent);
    margin-bottom: 1rem;
}

.story-timeline {
    position: relative;
    padding-left: 1.6rem;
}

.story-timeline::before {
    content: "";
    position: absolute;
    top: 0.4rem;
    bottom: 0.4rem;
    left: 0.35rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-primary), #7f9588);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.35rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.42rem;
    top: 0.37rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(227, 145, 10, 0.2);
}

.timeline-item h3 {
    font-size: 1.05rem;
    color: var(--brand-primary);
    margin-bottom: 0.35rem;
}

.cta-banner {
    background: linear-gradient(120deg, #31513f 0%, #365846 65%, #244233 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 16px 34px rgba(20, 32, 25, 0.18);
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.6rem;
    height: 100%;
}

.product-chip {
    display: inline-block;
    border-radius: 999px;
    background: var(--brand-accent);
    border: 1px solid #c87d09;
    color: #ffffff;
    padding: 0.35rem 0.8rem;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-card h2 {
    color: var(--brand-primary);
    font-size: 1.35rem;
    margin: 0.9rem 0 0.65rem;
}

.product-list {
    padding-left: 1.1rem;
    margin-bottom: 1.1rem;
}

.product-list li {
    margin-bottom: 0.45rem;
}

.download-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--brand-muted);
}

.download-note .badge {
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    font-weight: 700;
}

.contact-map {
    border: 0;
    width: 100%;
    min-height: 320px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.45rem;
    height: 100%;
}

.contact-card .contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-card .contact-item i {
    color: var(--brand-primary);
    margin-top: 0.2rem;
}

.contact-card img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-top: 0.45rem;
}

.contact-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.55rem;
}

.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
    border-radius: 10px;
    border: 1px solid #d2ddd5;
    min-height: 46px;
}

.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
    border-color: #5c7869;
    box-shadow: 0 0 0 0.2rem rgba(54, 88, 70, 0.14);
}

.site-footer {
    margin-top: 3rem;
    background: #16261e;
    color: #dbe4df;
    border-top: 4px solid var(--brand-accent);
}

.footer-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #dbe4df;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.14);
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 25;
    box-shadow: 0 8px 16px rgba(19, 37, 28, 0.24);
}

@media (max-width: 991.98px) {
    .brand-logo {
        height: 54px;
    }

    .site-navbar .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    .hero {
        text-align: center;
    }

    .hero-logo {
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .content-section {
        padding: 3.8rem 0;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero .lead {
        font-size: 1.03rem;
    }
}