:root {
    --color-primary: #4a7813;
    --color-primary_dark: #3a6010;
    --color-darkest: #1a2e0a;
    --color-cream: #f5f7f2;
    --color-warm: #54595f;
    --color-brown: #2c3326;
    --color-primary-text: #4a7813;
    --color-bg: #f5f7f2;
    --color-surface: #ffffff;
    --color-text: #1a2e0a;
    --color-text-light: #54595f;
    --color-border: #c3c7bb;
    --color-white: #ffffff;
    --color-bg-hover: #eef1eb;
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-pill: 20px;
    --green-50: #f3f8ec;
    --green-100: #e3eed1;
    --green-200: #c7dea4;
    --green-300: #a5c873;
    --green-400: #83b04a;
    --green-500: #679531;
    --green-600: #4a7813;
    --green-700: #3c6310;
    --green-800: #2f4e0d;
    --green-900: #233a0a;
    --green-950: #142305;
    --blue-50: #eef5fb;
    --blue-100: #dbe9f4;
    --blue-200: #b6d1e8;
    --blue-300: #8bb4d6;
    --blue-400: #5f93c0;
    --blue-500: #4079ab;
    --blue-600: #2d5a87;
    --blue-700: #24486c;
    --blue-800: #1c3854;
    --blue-900: #14283c;
    --blue-950: #0a1524;
    --sage-50: #f0f5eb;
    --sage-100: #e1ebd6;
    --sage-200: #c5d9b2;
    --sage-300: #a5c18a;
    --sage-400: #84a668;
    --sage-500: #688a4d;
    --sage-600: #4a6b3a;
    --sage-700: #3c572e;
    --sage-800: #2e4323;
    --sage-900: #22321a;
    --sage-950: #131d0f;
    --orange-50: #fdf3e8;
    --orange-100: #fbe2c8;
    --orange-200: #f2c79a;
    --orange-300: #e8a869;
    --orange-400: #d98940;
    --orange-500: #c06f22;
    --orange-600: #9a5a1e;
    --orange-700: #7a4719;
    --orange-800: #5c3513;
    --orange-900: #42250d;
    --orange-950: #241306;
    --red-50: #fbece9;
    --red-100: #f7d6cf;
    --red-200: #e5aea4;
    --red-300: #d38678;
    --red-400: #bd6050;
    --red-500: #a4483a;
    --red-600: #8c3b2c;
    --red-700: #6f2e22;
    --red-800: #54231a;
    --red-900: #3c1912;
    --red-950: #200b08;
    --neutral-50: #f7f8f5;
    --neutral-100: #eff1ec;
    --neutral-200: #dfe2d9;
    --neutral-300: #c3c7bb;
    --neutral-400: #9ca294;
    --neutral-500: #71776b;
    --neutral-600: #545a4e;
    --neutral-700: #3e4339;
    --neutral-800: #2a2d26;
    --neutral-900: #181a15;
    --neutral-950: #0c0d0a;
    --neutral-0: #ffffff;
    --info-bg: #eef5fb;
    --info-fg: #24486c;
    --info-accent: #4079ab;
    --success-bg: #f0f5eb;
    --success-fg: #3c572e;
    --success-accent: #688a4d;
    --warning-bg: #fdf3e8;
    --warning-fg: #7a4719;
    --warning-accent: #c06f22;
    --danger-bg: #fbece9;
    --danger-fg: #6f2e22;
    --danger-accent: #a4483a;
    --alert-success-bg: var(--success-bg);
    --alert-success-text: var(--success-fg);
    --alert-error-bg: var(--danger-bg);
    --alert-error-text: var(--danger-fg);
    --alert-warn-bg: var(--warning-bg);
    --alert-warn-text: var(--warning-fg);
    --font-heading: 'Roboto Flex', 'Google Sans Flex', Arial, sans-serif;
    --font-body: 'Archivo', Arial, sans-serif;
    --container-max: 1200px;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --btn-padding: 0.75rem 1.5rem;
    --btn-radius: 8px;
    --btn-font-weight: 600;
    --btn-font-size: 1rem;
    --btn-transition: 0.2s ease;
    --btn-primary-bg: #4a7813;
    --btn-primary-text: #ffffff;
    --btn-primary-hover-bg: #3a6010;
    --btn-secondary-bg: transparent;
    --btn-secondary-text: #4a7813;
    --btn-secondary-border: #4a7813;
    --btn-secondary-hover-bg: #4a7813;
    --btn-secondary-hover-text: #ffffff;
    --input-padding: 0.75rem 1rem;
    --input-border: 1px solid #d0d5cc;
    --input-radius: 6px;
    --input-bg: #ffffff;
    --input-font-size: 1rem;
    --focus-border: #4a7813;
    --focus-shadow: 0 0 0 3px rgba(74, 120, 19, 0.15);
    --label-size: 0.9rem;
    --label-weight: 600;
    --label-color: #1a2e0a;
    --img-radius: 8px;
    --img-shadow: none;
    --img-hover-shadow: none;
    --img-aspect: 16/10;
    --hover-speed: 0.2s;
    --hover-ease: ease;
    --hover-link: #3a6010;
    --card-lift: -2px;
    --card-hover-shadow: none;
    --card-bg: #ffffff;
    --card-radius: 12px;
    --card-shadow: none;
    --card-padding: 1.5rem;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --h4-size: 1.25rem;
    --h5-size: 1rem;
    --component-header-height: 64px;
    --component-hero-min-height: 70vh;
    --component-hero-overlay: rgba(0, 0, 0, 0.45);
    --component-hero-subtitle-size: 1.15rem;
    --component-hero-subtitle-max-width: 600px;
    --component-hero-title-max-width: 700px;
    --component-content-narrow-max: 800px;
    --component-container-padding: 1.5rem;
    --component-timeline-dot-size: 12px;
    --component-timeline-line-width: 2px;
    --component-timeline-indent: 2rem;
    --component-partner-logo-max-height: 50px;
    --component-partner-logo-max-width: 120px;
    --component-partner-logo-opacity: 0.7;
    --component-footer-font-size: 0.85rem;
    --component-footer-opacity: 0.7;
    --component-textarea-min-height: 120px;
    --admin-bg: #f8fafc;
    --admin-surface: #ffffff;
    --admin-text: #1e293b;
    --admin-text-secondary: #64748b;
    --admin-text-tertiary: #94a3b8;
    --admin-border: #e2e8f0;
    --admin-border-light: #f1f5f9;
    --admin-hover-bg: #f1f5f9;
    --admin-table-header-bg: #f8fafc;
    --admin-header-height: 56px;
    --admin-sidebar-width: 220px;
    --admin-sidebar-collapsed-width: 52px;
    --admin-toggle-inactive: #cbd5e1;
    --admin-status-success-bg: #f0fdf4;
    --admin-status-success-border: #86efac;
    --admin-status-success-text: #166534;
    --admin-status-error-bg: #fef2f2;
    --admin-status-error-border: #fca5a5;
    --admin-status-error-text: #dc2626;
    --admin-status-danger-text: #dc2626;
    --admin-status-danger-border: #fecaca;
    --admin-badge-green-bg: #f0fdf4;
    --admin-badge-green-text: #166534;
    --admin-badge-yellow-bg: #fffbeb;
    --admin-badge-yellow-text: #92400e;
    --admin-badge-blue-bg: #eff6ff;
    --admin-badge-blue-text: #1e40af;
    --admin-badge-gray-bg: #f1f5f9;
    --admin-badge-gray-text: #64748b;
    --anim-reveal-duration: 0.6s;
    --anim-reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --anim-reveal-distance: 30px;
    --anim-stagger-delay: 0.1s;
    --admin-primary: var(--color-primary);
    --color-phase-preparation: var(--warning-accent);
    --color-phase-preparation-bg: var(--warning-bg);
    --color-phase-preparation-text: var(--warning-fg);
    --color-phase-construction: var(--info-accent);
    --color-phase-construction-bg: var(--info-bg);
    --color-phase-construction-text: var(--info-fg);
    --color-phase-operation: var(--success-accent);
    --color-phase-operation-bg: var(--success-bg);
    --color-phase-operation-text: var(--success-fg);
}

h1 {
    font-family: var(--font-heading);
    font-size: var(--h1-size);
    font-weight: 800;
    color: #1a2e0a;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

h2 {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: 700;
    color: #1a2e0a;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

h3 {
    font-family: var(--font-heading);
    font-size: var(--h3-size);
    font-weight: 700;
    color: #1a2e0a;
    letter-spacing: 0;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h4 {
    font-family: var(--font-heading);
    font-size: var(--h4-size);
    font-weight: 700;
    color: #1a2e0a;
    letter-spacing: 0;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

h5 {
    font-family: var(--font-heading);
    font-size: var(--h5-size);
    font-weight: 700;
    color: #1a2e0a;
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.hero h1, .hero h2, .hero h3, .hero h4, .hero h5 {
    color: #fff;
}

.btn {
    display: inline-block;
    padding: var(--btn-padding);
    border-radius: var(--btn-radius);
    font-weight: var(--btn-font-weight);
    font-size: var(--btn-font-size);
    font-family: var(--font-body);
    transition: all var(--hover-speed) var(--hover-ease);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}
.btn-primary:hover {
    background: var(--btn-primary-hover-bg);
    text-decoration: none;
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border-color: var(--btn-secondary-border);
}
.btn-secondary:hover {
    background: var(--btn-secondary-hover-bg);
    color: var(--btn-secondary-hover-text);
    text-decoration: none;
}

input[type='text'], input[type='email'], input[type='tel'],
input[type='url'], input[type='search'], input[type='number'],
input[type='password'], input[type='date'], textarea, select {
    padding: var(--input-padding);
    border: var(--input-border);
    border-radius: var(--input-radius);
    background: var(--input-bg);
    font-size: var(--input-font-size);
    font-family: var(--font-body);
    color: var(--color-text);
    width: 100%;
    transition: border-color var(--hover-speed) var(--hover-ease), box-shadow var(--hover-speed) var(--hover-ease);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--focus-border);
    box-shadow: var(--focus-shadow);
}

label {
    display: block;
    font-size: var(--label-size);
    font-weight: var(--label-weight);
    color: var(--label-color);
    margin-bottom: var(--label-margin-bottom, 0.375rem);
}

.img-styled {
    border-radius: var(--img-radius);
    box-shadow: var(--img-shadow);
    object-fit: cover;
}

a:hover {
    color: var(--hover-link);
}

.card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: var(--card-padding);
    border: 1px solid transparent;
    transition: border-color 0.35s ease, background 0.35s ease;
}
.card:hover {
    border-color: var(--color-border);
    background: color-mix(in srgb, var(--card-bg) 96%, var(--color-border));
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-primary: #5e9418;
    --color-primary_dark: #4a7813;
    --color-darkest: #f5f7f2;
    --color-cream: #1a1a1a;
    --color-warm: #8a9a7d;
    --color-brown: #d4dfc8;
    --color-bg: #1a1a1a;
    --color-surface: #242424;
    --color-text: #f5f7f2;
    --input-bg: #2a2a2a;
    --input-border: 1px solid #444;
    --card-bg: #242424;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
}

[data-theme='dark'] {
    --color-primary: #5e9418;
    --color-primary_dark: #4a7813;
    --color-darkest: #f5f7f2;
    --color-cream: #1a1a1a;
    --color-warm: #8a9a7d;
    --color-brown: #d4dfc8;
    --color-bg: #1a1a1a;
    --color-surface: #242424;
    --color-text: #f5f7f2;
    --input-bg: #2a2a2a;
    --input-border: 1px solid #444;
    --card-bg: #242424;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
