:root {
    --primary-color: #1F473F;
    --accent-sand: #D9C4A6;
    --accent-terracotta: #B35F4C;
    --bg-ivory: #F8F4ED;
    --text-dark: #1A1A1A;
    --max-width: 1440px;
    --container-width: 1140px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-ivory);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    color: var(--primary-color);
    line-height: 1.1;
}

h1 { font-size: 4rem; margin-bottom: 2rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

.bg-sand { background-color: var(--accent-sand); }
.bg-dark { background-color: var(--primary-color); color: var(--bg-ivory); }
.bg-dark h2, .bg-dark h3 { color: var(--accent-sand); }

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.1);
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--primary-color);
    color: var(--bg-ivory);
    text-decoration: none;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
    color: #fff;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-ivory);
    z-index: 1000;
    border-bottom: 1px solid var(--accent-sand);
    padding: 20px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--accent-terracotta);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Sections Specific */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 71, 63, 0.6);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 { color: #fff; }

.compliance-banner {
    background: var(--accent-sand);
    padding: 20px;
    text-align: center;
    font-weight: bold;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.glossary-rail {
    border-left: 4px solid var(--accent-terracotta);
    padding-left: 20px;
}

.stat-strip {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
    background: var(--primary-color);
    color: var(--accent-sand);
}

.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-family: 'Archivo Black'; display: block; }

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    top: 50%;
    left: 0;
}

.accordion-item {
    border-bottom: 1px solid var(--accent-sand);
    padding: 20px 0;
}

.accordion-trigger {
    cursor: pointer;
    font-family: 'Archivo Black', sans-serif;
    display: flex;
    justify-content: space-between;
}

.accordion-content {
    display: none;
    padding-top: 15px;
}

/* Cards */
.knowledge-card {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--accent-sand);
    transition: transform 0.3s, box-shadow 0.3s;
}

.knowledge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--primary-color);
    color: var(--bg-ivory);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 20px;
    display: none;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
}