/* EOS Agri Services — minimal placeholder stylesheet.
   System font stack (no external fonts) keeps the CSP tight and the
   page fast. Replace colours/type to match the brand when ready. */

:root {
    --green: #2f6b34;
    --green-dark: #234f27;
    --ink: #1d2421;
    --muted: #5c655f;
    --bg: #ffffff;
    --bg-alt: #f4f6f3;
    --line: #e2e6e1;
    --radius: 10px;
    --maxw: 1080px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.25rem;
}
.container.narrow { max-width: 720px; }

h1, h2, h3 { line-height: 1.2; color: var(--ink); }

a { color: var(--green); }

/* ── Header / nav ───────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(160%) blur(6px);
    z-index: 10;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand {
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--green-dark);
    letter-spacing: -0.02em;
}
.brand span {
    font-weight: 500;
    color: var(--muted);
    margin-left: 0.4rem;
    font-size: 0.95rem;
}
.nav-links a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
}
.nav-links a:hover { color: var(--green); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: #fff;
    padding: 5.5rem 0;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 1rem; color: #fff; }
.hero .lead { font-size: 1.2rem; max-width: 640px; opacity: 0.95; margin: 0 0 2rem; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    background: #fff;
    color: var(--green-dark);
    font-weight: 700;
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    border: 0;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.08s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); }
.section .btn { background: var(--green); color: #fff; }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); margin: 0 0 0.5rem; }
.section-intro { color: var(--muted); margin: 0 0 2rem; }

/* ── Cards ──────────────────────────────────────────────────── */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

/* ── Contact form ───────────────────────────────────────────── */
.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input,
.field textarea {
    font: inherit;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    width: 100%;
}
.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--green);
    outline-offset: 1px;
    border-color: var(--green);
}

/* Honeypot — visually hidden but reachable by bots */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    background: #fdecea;
    border: 1px solid #f5c6c0;
    color: #8a1c12;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}
.alert ul { margin: 0; padding-left: 1.1rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 2rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 560px) {
    .nav-links a { margin-left: 1rem; font-size: 0.9rem; }
    .hero { padding: 4rem 0; }
}
