﻿/* ================================
   Root variables
=================================== */
:root {
    --color-bg: #ffffff;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-accent: #2563eb;
    --color-accent-light: #3b82f6;
    --color-border: #e5e7eb;
    --radius: 8px;
    --max-width: 900px;
    --font-sans: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ================================
   Global
=================================== */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

section {
    padding: 5rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}
    section[id] {
        scroll-margin-top: 120px;
    }

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.4rem;
}

p.lead {
    font-size: 1.2rem;
    color: var(--color-muted);
    max-width: 700px;
}

/* ================================
   Navigation
=================================== */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

    nav a {
        text-decoration: none;
        color: var(--color-text);
        font-weight: 500;
    }

        nav a:hover {
            color: var(--color-accent);
        }


    nav .nav-logo img {
        height: 70px;
        width: auto;
        display: block;
    }

.nav-links {
    display: flex;
    gap: 1.5rem;
}

/* ================================
   Hero
=================================== */
.hero {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero .eyebrow {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--color-muted);
}

.hero-meta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--color-muted);
    font-size: 0.9rem;
}

/* ================================
   Buttons
=================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

    .btn-primary:hover {
        background: var(--color-accent-light);
    }

.btn-secondary {
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    background: transparent;
}

    .btn-secondary:hover {
        background: var(--color-accent);
        color: white;
    }

/* ================================
   Cards & Layout
=================================== */
.cards {
    display: grid;
    gap: 2rem;
}

.card {
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: var(--radius);
    background: white;
}

.two-column {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .two-column {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================
   Steps (Approach section)
=================================== */
.steps {
    display: grid;
    gap: 2rem;
}

.step {
    border-left: 4px solid var(--color-accent);
    padding-left: 1rem;
}

/* ================================
   Forms
=================================== */
.field {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

    .field label {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .field input,
    .field select,
    .field textarea {
        padding: 0.75rem;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        font-size: 1rem;
    }

        .field input:focus,
        .field select:focus,
        .field textarea:focus {
            outline: none;
            border-color: var(--color-accent);
        }

.thank-you {
    margin-top: 1rem;
    color: var(--color-accent);
    font-weight: 600;
}

.footerJ {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #4a574f;
    text-align: center;
    color: white;
    z-index: 1000; /* keeps it above content */
}

/* ================================
   Utility classes
=================================== */
.text-link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
}

    .text-link:hover {
        text-decoration: underline;
    }

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

        .nav-links a {
            padding: 0.25rem 0;
        }

    nav .nav-logo img {
        height: 28px;
    }
}
