/* Warm Terracotta & Burgundy Palette */
:root {
    --primary-color: #A93226; /* Deep Terracotta/Burgundy */
    --secondary-color: #7B241C; /* Darker Burgundy */
    --accent-color: #D35400; /* Warm Orange/Rust */
    --bg-light: #FDF2E9; /* Very light warm sand */
    --text-dark: #2C3E50; /* Dark charcoal */
    --text-light: #FFFFFF;
    --border-color: #E5E7EB;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #FAFAFA;
    line-height: 1.6;
    font-size: clamp(16px, 1vw + 10px, 18px);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

h1 { font-size: clamp(32px, 4vw, 56px); }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
p { margin-bottom: 15px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    z-index: 100;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--text-light);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
    #menu-toggle:checked ~ .mobile-nav { max-height: 400px; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    #menu-toggle:checked ~ .hamburger .line:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}

/* INDEX: Diagonal Hero */
.hero-diagonal {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-content-wrapper {
    padding: 60px 20px;
    z-index: 2;
}

.hero-text-box {
    max-width: 600px;
}

.hero-subtitle {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image-box {
    width: 100%;
    height: 400px;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-diagonal {
        flex-direction: row;
        align-items: center;
    }
    .hero-content-wrapper {
        flex: 1;
        padding-left: 5vw;
    }
    .hero-image-box {
        flex: 1;
        height: 80vh;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* INDEX: Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 576px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* INDEX: Benefits 4-Card Grid */
.benefits-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background: var(--text-light);
    padding: 40px 30px;
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

@media (min-width: 768px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }

/* INDEX: Image Overlap Section */
.overlap-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.overlap-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.overlap-image {
    position: relative;
}

.overlap-image img {
    box-shadow: -20px -20px 0 var(--accent-color);
}

@media (min-width: 992px) {
    .overlap-wrapper {
        flex-direction: row;
        align-items: center;
    }
    .overlap-image {
        flex: 1;
        transform: translateX(40px);
        z-index: 2;
    }
    .overlap-content {
        flex: 1;
        background: var(--text-light);
        padding: 60px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        z-index: 1;
    }
}

/* INDEX: Accordion FAQ */
.faq-section {
    padding: 80px 0;
}

.accordion-list {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    background: var(--text-light);
    border: 1px solid var(--border-color);
}

.accordion-item summary {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--secondary-color);
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary-color);
}

.accordion-item[open] summary::after {
    content: '-';
}

.accordion-content {
    padding: 0 20px 20px;
    color: var(--text-dark);
}

/* PROGRAM: Header & Numbered Steps */
.page-header {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.numbered-steps-section {
    padding: 80px 0;
}

.step-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
}

.step-number-box {
    font-size: 100px;
    font-weight: 900;
    color: var(--bg-light);
    text-shadow: 2px 2px 0 var(--primary-color);
    line-height: 1;
}

.step-content {
    background: var(--text-light);
    padding: 40px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.step-inline-img {
    margin-bottom: 20px;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .step-row {
        flex-direction: row;
    }
    .step-row.reverse {
        flex-direction: row-reverse;
    }
    .step-number-box {
        flex: 0 0 200px;
        text-align: center;
    }
    .step-content {
        flex: 1;
    }
}

/* PROGRAM: Metrics Bar */
.metrics-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.metrics-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.metric-bar-container {
    margin-bottom: 25px;
}

.metric-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
}

.metric-track {
    width: 100%;
    height: 12px;
    background-color: #E5E7EB;
    border-radius: 6px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background-color: var(--primary-color);
}

/* MISSION: Split Layout */
.mission-hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-light), #FAFAFA);
}

.story-split-section {
    padding: 60px 0;
}

.split-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.values-list {
    list-style: none;
}

.values-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.values-list li::before {
    content: '■';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 2px;
}

@media (min-width: 992px) {
    .split-layout {
        flex-direction: row;
        align-items: flex-start;
    }
    .split-image-container, .split-text-container {
        flex: 1;
    }
    .split-image-container {
        position: sticky;
        top: 100px;
    }
}

.manifesto-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
}

.manifesto-box {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-box h2 {
    color: var(--text-light);
}

.manifesto-box p {
    font-size: 22px;
    font-style: italic;
    line-height: 1.8;
}

/* CONTACT: Form & Cards */
.contact-header {
    background-color: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

.contact-form-section {
    padding: 60px 0 30px;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--text-light);
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-top: -80px; /* Pull up over header */
    position: relative;
    z-index: 10;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 16px;
    background-color: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    font-weight: 700;
}

.contact-cards-section {
    padding: 40px 0 80px;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
}

@media (min-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* LEGAL PAGES */
.legal-section {
    padding: 80px 0;
}

.text-content {
    max-width: 800px;
}

.text-content h1 { margin-bottom: 40px; }
.text-content h2 { margin-top: 40px; margin-bottom: 15px; }
.text-content ul { margin-left: 20px; margin-bottom: 20px; }
.text-content li { margin-bottom: 10px; }

/* THANK YOU PAGE */
.thank-you-section {
    padding: 100px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 80px;
    color: var(--accent-color);
    margin-bottom: 20px;
    line-height: 1;
}

.next-steps {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.action-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* FOOTER (Hardcoded Colors for Translation Protection) */
.site-footer {
    background-color: #2C3E50 !important;
    color: #FFFFFF !important;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-info, .footer-contacts, .footer-links {
    flex: 1;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: #D35400 !important;
    display: block;
    margin-bottom: 15px;
}

.footer-desc {
    color: #BDC3C7 !important;
}

.footer-contacts p {
    color: #FFFFFF !important;
    margin-bottom: 10px;
}

.footer-contacts a {
    color: #D35400 !important;
    text-decoration: underline;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #FFFFFF !important;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #D35400 !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid #34495E !important;
    text-align: center;
    color: #95A5A6 !important;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    transform: translateY(0);
    transition: transform 0.4s ease;
    background-color: #1A1A1A;
    color: #FFFFFF;
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

#cookie-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.cookie-btn-accept {
    background-color: var(--accent-color);
    color: #FFF;
}

.cookie-btn-decline {
    background-color: #555;
    color: #FFF;
}

@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btns {
        width: 100%;
    }
    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}