/* =====================================================
   Heyer Meats — Global Stylesheet
   ===================================================== */

/* --- Tokens ---------------------------------------- */
:root {
    --accent:        #b8e0c0;
    --accent-dark:   #3f8058;
    --accent-light:  #edf8f0;
    --text:          #17221b;
    --text-muted:    #5d6b61;
    --border:        #d7e9dc;
    --bg:            #f8fbf9;
    --font-sans:     'Inter', system-ui, -apple-system, sans-serif;
    --radius:        14px;
    --max-w:         960px;
    --space-xs:      0.5rem;
    --space-s:       1rem;
    --space-m:       1.75rem;
    --space-l:       3rem;
    --space-xl:      5rem;
}

/* --- Reset ----------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: linear-gradient(135deg, #fbfdfb 0%, var(--bg) 55%, #f1f8f3 100%);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a {
    color: var(--accent-dark);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 2px;
    border-radius: 2px;
}

/* --- Layout shell ---------------------------------- */
.site-header {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(63, 128, 88, 0.06);
    padding: clamp(2rem, 5vw, 3.5rem) var(--space-s);
    text-align: center;
}

.site-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    color: var(--text);
}

.site-header .tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

main {
    flex: 1;
    width: min(100%, var(--max-w));
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 6rem) var(--space-s) var(--space-xl);
}

.site-footer {
    background: var(--accent-light);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: var(--space-m) var(--space-s);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Contact cards --------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
}

.card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 16px 36px rgba(63, 128, 88, 0.09);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.card-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.9rem;
    margin-bottom: var(--space-m);
    position: relative;
}

.card-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 3.5rem;
    height: 3px;
    border-radius: 999px;
    background: var(--accent-dark);
}

.card-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
}

.card address {
    font-style: normal;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-m);
}

.card address strong {
    display: block;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

/* --- Contact person rows --------------------------- */
.person-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

.person {
    background: var(--accent-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: var(--space-s);
}

.person-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.person-details {
    list-style: none;
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.9;
}

.person-details a {
    color: var(--accent-dark);
}

/* --- Responsive ------------------------------------ */
@media (max-width: 720px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
