:root {
    --color-primary: #9e3b1a;
    --color-primary-dark: #7f2f15;
    --color-tertiary: #666;
    --color-tertiary-dark: #444;
    --color-secondary: #666666;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-bg: #ffffff;
    --color-bg-soft: #f6f6f6;
    --color-bg-alt: #f1f3f5;
    --color-border: #e5e7eb;
    --color-footer: #111827;
    --container-width: 1200px;
    --radius: 16px;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    --transition: 0.2s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    padding-left: 1.2rem;
}

.container {
    width: min(100% - 2rem, var(--container-width));
    margin-left: auto;
    margin-right: auto;
}

.site-main {
    min-height: 60vh;
}

.section {
    padding: 4rem 0;
}

.section-light {
    background-color: var(--color-bg-soft);
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    margin: 0.4rem 0 0.8rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
}

.section-intro {
    color: var(--color-muted);
    margin: 0;
}

.eyebrow {
    margin: 0;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-bg-soft);
}

.btn-tertiary {
    background-color: var(--color-tertiary);
    color: #ffffff;
}

.btn-tertiary:hover {
    background-color: var(--color-tertiary-dark);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-logo img {
    max-height: 64px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 600;
}

.site-footer {
    background-color: #111827;
    color: #ffffff;
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-column h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a,
.footer-column a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-links a:hover,
.footer-column a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact-block {
    margin-bottom: 1.25rem;
}

.footer-contact-block p {
    margin: 0.2rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.footer-column--right {
    text-align: right;
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-socials img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-accessibility p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-accessibility img {
    max-width: 220px;
    margin-left: auto;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column--right {
        text-align: left;
    }

    .footer-socials {
        justify-content: flex-start;
    }

    .footer-accessibility img {
        margin-left: 0;
    }
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 0;
    }

    .main-nav ul {
        flex-wrap: wrap;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3rem 0;
    }

    .btn {
        width: 100%;
    }
}