/* =========================================================
   Design tokens
   ========================================================= */
:root {
    --forest: #1F4B3A;
    --forest-dark: #143627;
    --turmeric: #E2A33D;
    --turmeric-dark: #C6862A;
    --sage-bg: #F5F7F1;
    --charcoal: #2B2B26;
    --tomato: #C1442E;
    --card-bg: #FFFFFF;
    --border-soft: #E4E7DE;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Work Sans', Arial, sans-serif;

    --radius: 10px;
    --shadow-card: 0 2px 10px rgba(31, 75, 58, 0.08);
    --shadow-card-hover: 0 8px 24px rgba(31, 75, 58, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--sage-bg);
    line-height: 1.55;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--forest-dark);
    line-height: 1.2;
    margin: 0 0 0.5em;
}

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--turmeric-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--turmeric);
    outline-offset: 2px;
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--forest-dark);
}

.brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--turmeric-dark);
    font-weight: 600;
}

.site-nav {
    display: flex;
    gap: 28px;
}

.site-nav a {
    color: var(--charcoal);
    font-weight: 500;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--forest-dark);
    border-bottom-color: var(--turmeric);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--forest-dark);
    border-radius: 2px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
    color: #fff;
    padding: 64px 0 76px;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-copy { flex: 1 1 360px; }

.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--turmeric);
    font-weight: 600;
    margin-bottom: 14px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.9rem);
    max-width: 14ch;
}

.hero p {
    max-width: 46ch;
    color: #E7EFE9;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1 1 280px;
    display: flex;
    justify-content: center;
}

.crate {
    background: var(--turmeric);
    border-radius: 16px;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-card-hover);
}

.crate svg { width: 62%; height: 62%; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--turmeric);
    color: var(--forest-dark);
}
.btn-primary:hover { background: var(--turmeric-dark); color: #fff; }

.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 56px 0; }
.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 36px;
}
.section-head .eyebrow {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--turmeric-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

/* Category chip row */
.category-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}
.category-chip {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--forest-dark);
}
.category-chip.active {
    background: var(--forest);
    border-color: var(--forest);
    color: #fff;
}

/* =========================================================
   Product grid & cards
   ========================================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    padding: 20px 18px 18px;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.product-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    overflow: hidden;
}
.product-icon svg {
    width: 68%;
    height: 68%;
}
.icon-bg-veg   { background: #E4F1E1; }
.icon-bg-grain { background: #F1E8D6; }
.icon-bg-dairy { background: #EAF3F8; }
.icon-bg-spice { background: #FBE1DA; }
.icon-bg-oil   { background: #F5EAD0; }

.product-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--forest-dark);
    background: var(--sage-bg);
    border: 1px solid var(--border-soft);
    padding: 3px 9px;
    border-radius: 999px;
}

.product-card h4 { margin-bottom: 2px; font-size: 1.05rem; }
.product-unit { color: #6B6F63; font-size: 0.85rem; margin: 0 0 12px; }
.product-price {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--tomato);
}

/* =========================================================
   Info / policy pages
   ========================================================= */
.page-hero {
    background: var(--forest);
    color: #fff;
    padding: 42px 0;
}
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: #E7EFE9; margin: 6px 0 0; }

.prose {
    max-width: 780px;
}
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.prose p, .prose li { color: #3A3D34; }
.prose ul { padding-left: 1.2em; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 10px;
}
.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 22px;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }

/* =========================================================
   Contact form
   ========================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.form-field { margin-bottom: 16px; }
.form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--forest-dark);
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 11px 13px;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #fff;
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-note {
    background: #FFF8E9;
    border: 1px solid #F0DDA8;
    color: #6B4E14;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 18px;
}
.form-success {
    background: #E8F3EA;
    border: 1px solid #BEDCC5;
    color: var(--forest-dark);
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.form-error {
    background: #FBEAE7;
    border: 1px solid #EFC2BA;
    color: #8A2E1F;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Honeypot field — hidden from real users, catches simple bots */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    background: var(--forest-dark);
    color: #D9E4DC;
    padding: 48px 0 20px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
}
.footer-col h3 {
    color: #fff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.footer-col p { margin: 0 0 8px; font-size: 0.92rem; }
.footer-col a { color: #D9E4DC; }
.footer-col a:hover { color: var(--turmeric); }
.footer-brand {
    color: #fff;
    font-size: 1.15rem;
    display: block;
    margin-bottom: 8px;
}
.footer-address { opacity: 0.85; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 30px;
    padding-top: 18px;
    font-size: 0.82rem;
    opacity: 0.75;
}

/* =========================================================
   Responsive breakpoints
   ========================================================= */
@media (max-width: 860px) {
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--border-soft);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .site-nav.open { max-height: 320px; }
    .site-nav a {
        padding: 14px 20px;
        border-bottom: 1px solid var(--border-soft);
        border-left: 3px solid transparent;
    }
    .site-nav a.active,
    .site-nav a:hover {
        border-left-color: var(--turmeric);
        border-bottom-color: var(--border-soft);
    }
    .nav-toggle { display: flex; }
    .hero { padding: 44px 0 56px; }
    .hero-inner { flex-direction: column; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
}
