:root {
    color-scheme: light;
    --bg: #f7f5f0;
    --surface: #ffffff;
    --text: #1c1e1b;
    --muted: #5c655a;
    --brand: #1c4a2f;
    --brand-dark: #133321;
    --accent: #b5893a;
    --accent-light: #f1e6d5;
    --border: rgba(28, 30, 27, 0.12);
    --shadow: 0 20px 45px rgba(22, 33, 22, 0.12);
    --text-shadow-on-brand: 0 2px 8px rgba(0, 0, 0, 0.55);
    --service-area-image-filter: none;
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0f1411;
    --surface: #181f1b;
    --text: #f1f3ee;
    --muted: #b5bcb2;
    --brand: #7dc89a;
    --brand-dark: #0d2418;
    --accent: #d6b46a;
    --accent-light: #27312b;
    --border: rgba(241, 243, 238, 0.15);
    --shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    --service-area-image-filter: none;
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.icon { width: 28px; height: 28px; color: #111; }        /* default */

.icon.on-dark { color: #fff; }                           /* dark backgrounds */

.icon.brand { color: #FDDE30; }                          /* your accent (optional) */

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.contact-main {
    display: grid;
    gap: 16px;
}

.top-bar {
    background: var(--brand-dark);
    color: #f8f6f1;
    font-size: 0.95rem;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0.7rem 0;
}

.top-bar-link {
    color: #f8f6f1;
    font-weight: 600;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--brand);
    
}

.logo-image {
    max-height: 100px;
    width: auto;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text-main {
    font-size: 1.2rem;
}

.logo-text-sub {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-weight: 500;
    color: var(--muted);
}
.nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.toggle-track {
    position: relative;
    width: 38px;
    height: 20px;
    border-radius: 999px;
    background: var(--accent-light);
    transition: background 0.2s ease;
}

.toggle-thumb {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.theme-toggle[aria-checked="true"] .toggle-track {
    background: var(--brand);
}

.theme-toggle[aria-checked="true"] .toggle-thumb {
    transform: translateX(18px);
    background: #fff;
    border-color: transparent;
}

.theme-toggle:focus-visible {
    outline: 2px solid rgba(28, 74, 47, 0.3);
    outline-offset: 3px;
}

.nav a {
    color: var(--muted);
    font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--brand);
}

.nav-toggle {
    display: none;
    background: transparent;
        border: none;
    border-radius: 0;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--brand);
    border-radius: 999px;
}

.nav-toggle-bar + .nav-toggle-bar {
    margin-top: 0;
}

.nav-close {
    display: none;
    align-self: flex-end;
    border: none;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: var(--brand);
    cursor: pointer;
}

.nav-logo {
    display: none;
    justify-content: center;
    padding-bottom: 0.5rem;
}


.nav-close:focus-visible {
    outline: 2px solid rgba(28, 74, 47, 0.3);
    outline-offset: 3px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 20px rgba(19, 51, 33, 0.2);
    text-shadow: var(--text-shadow-on-brand);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.btn-outline {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--brand);
    color: #fff;
    text-shadow: var(--text-shadow-on-brand);
}

.btn-ghost {
    border-color: transparent;
    color: #fff;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.btn-block {
    width: 100%;
}

.hero {
    position: relative;
    background: linear-gradient(130deg, #173624, #2f5b3a 55%, #4a6d3b);
    color: #fff;
    background-image: url('/img/farm/2024-08-08%2016-49-27.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(17, 39, 26, 0.9), rgba(17, 39, 26, 0.6));
}

.hero-inner {
    position: relative;
    padding: 5.5rem 0 5rem;
}

.hero-content {
    max-width: 600px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    margin: 0 0 1rem;
    line-height: 1.1;
}

.hero-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2.4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
}

.stat {
    background: rgba(255, 255, 255, 0.12);
    padding: 1rem 1.2rem;
    border-radius: 16px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.section {
    padding: 4.5rem 0;
}

.section-light {
    background: var(--bg);
}

.section-alt {
    background: var(--surface);
}

.section-header {
    max-width: 620px;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    margin: 0 0 0.8rem;
    font-size: 2rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    background: var(--surface);
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.card-media {
    padding: 0;
}

.team-profile-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    background: var(--accent-light);
}

.card h3 {
    margin-top: 0;
    color: var(--brand);
    text-align: center;
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.card-media h3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.team-profile {
    padding: 0 1rem 1.5rem;
    color: var(--brand);
    font-size: 0.95rem;
    text-align: center;
}

.card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-list {
    padding-left: 1.1rem;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    align-items: center;
}

.split-text h2 {
    margin-top: 0;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}

.pill {
    background: var(--accent-light);
    color: var(--brand-dark);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

[data-theme="dark"] .pill {
    background: var(--accent);
    color: var(--brand-dark);
}

.split-box {
    background: var(--surface);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.media-card {
    background: var(--surface);
    border-radius: 7px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin: 0;
    padding: 0rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.media-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.media-card figcaption {
    padding: 0 1rem 1rem;
    font-size: 0.95rem;
    color: var(--muted);
    text-align: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.image-grid .media-card img {
    height: 220px;
}

.split-media img {
    min-height: 320px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.news-split {
    align-items: start;
}

.facebook-embed {
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.facebook-embed iframe {
    width: 100%;
    min-height: 560px;
    border-radius: 16px;
}

.embed-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.steps {
    padding-left: 1.2rem;
    margin: 1rem 0 0;
    color: var(--muted);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.timeline-step {
    background: var(--surface);
    border-radius: 20px;
    padding: 1.8rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.timeline-step h3 {
    margin-top: 0.6rem;
    color: var(--brand);
}

.timeline-step ul {
    padding-left: 1.2rem;
    margin: 1rem 0 0;
    color: var(--muted);
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: var(--accent-light);
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 0.85rem;
}

.timeline-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 2rem;
}

.timeline-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.service-area-map {
    display: grid;
    gap: 1.2rem;
    align-items: center;
    justify-items: center;
}

.service-area-map img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: var(--radius-md);
}
.service-area-image {
    filter: var(--service-area-image-filter);
    transition: filter 0.2s ease;
}
.map-label {
    font-size: 0.8rem;
    fill: var(--brand-dark);
    font-weight: 600;
}

[data-theme="dark"] .map-label {
    fill: #ffffff;
}

.map-key {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.map-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
}

.service-area-note {
    margin-top: 1.2rem;
    color: var(--muted);
}

.resource-grid {
    align-items: stretch;
}

.resource-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-card .btn {
    align-self: flex-start;
}

.contact-actions {
    margin-top: 1.5rem;
}


.about-box {
    background: var(--brand);
    color: #fff;
    text-shadow: var(--text-shadow-on-brand);
}

.quote {
    font-size: 1.1rem;
    margin: 0 0 1rem;
}

.quote-name {
    font-weight: 600;
    margin: 0;
    opacity: 0.85;
}

.testimonial {
    text-align: center;
    max-width: 750px;
}

.testimonial-text {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.testimonial-name {
    color: var(--muted);
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: start;
}

.contact-main {
    display: grid;
    gap: 16px;
}

.contact-form {
    background: var(--surface);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1rem;
}

input,
textarea {
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    font: inherit;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(28, 74, 47, 0.25);
    border-color: var(--brand);
}

.form-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 1rem;
}

.form-submit-notice {
    display: none;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(28, 74, 47, 0.2);
    background: rgba(28, 74, 47, 0.08);
    color: var(--brand-dark);
    font-weight: 500;
}

.form-submit-notice.is-visible {
    display: block;
}

.form-success-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.form-success-modal.is-visible {
    display: flex;
}

.form-success-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 20, 12, 0.55);
}

.form-success-modal__content {
    position: relative;
    max-width: 560px;
    margin: 1.2rem;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1.6rem;
    z-index: 1;
    text-align: center;
}

.form-success-modal__message {
    margin-top: 0;
    margin-bottom: 1.1rem;
    color: var(--brand-dark);
    font-weight: 600;
}


.contact-side {
    display: grid;
    gap: 16px;
}

.contact-card-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.contact-card {
    background: var(--surface);
    padding: 1.4rem 1.6rem;
    border-radius: 18px;
    border: 1px solid var(--border);
}

.site-footer {
    background: var(--brand-dark);
    color: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 0;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy,
.footer-links {
    margin: 0;
}

.footer-copy {
    flex: 1 1 320px;
}

.footer-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.footer-icon svg {
    display: block;
}

.footer-links {
    margin-left: auto;
}


.footer-links a {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 960px) {
    .header-inner {
        grid-template-columns: auto auto;
    }

    .nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .header-cta {
        display: none;
    }

    body.nav-open .nav {
        display: flex;
        position: absolute;
        top: 100%;
        right: 4vw;
        background: var(--surface);
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 1rem 1.2rem;
        border-radius: 16px;
        box-shadow: var(--shadow);
    }

    body.nav-open .nav .nav-close {
        display: inline-flex;
    }

    body.nav-open .nav .nav-logo {
        display: flex;
    }

    body.nav-open .nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 720px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-inner {
        padding-top: 4rem;
    }

    body.nav-open .nav {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        border-radius: 0;
        padding: max(2.5rem, env(safe-area-inset-top)) 1.25rem calc(env(safe-area-inset-bottom) + 6rem);
        align-items: stretch;
        gap: 20px;
        z-index: 1000;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    body.nav-open .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1101;
        background: var(--surface);
    }

    body.nav-open .nav ul {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 14px;
        row-gap: 10px;
        align-items: stretch;
    }

    body.nav-open .nav li {
        width: 100%;
    }

    body.nav-open .nav a {
        display: flex;
        align-items: center;
        min-height: 3.25rem;
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 1rem;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: color-mix(in srgb, var(--surface) 88%, var(--accent-light));
    }

    body.nav-open .theme-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0.95rem;
        border-radius: 12px;
        margin-top: 0.4rem;
        margin-bottom: env(safe-area-inset-bottom);
    }
}

@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 0;
        gap: 10px;
    }

    .footer-copy {
        flex: 0 0 auto;
    }

    .footer-links {
        margin-left: 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-icons {
        width: 100%;
    }

    body.nav-open .nav {
        padding-inline: 1rem;
    }

    body.nav-open .nav ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
