/* 
   PALETTE: Earthy Warm (Version 3 Unique)
   NO BLUE, NO GREEN.
   Primary: #8D6E63 (Warm Brown)
   Secondary: #D4A373 (Sand/Beige)
   Accent: #E07A5F (Terracotta)
   Background: #FAEDCD (Light Cream)
   Text: #3E2723 (Dark Brown)
*/

:root {
    --primary: #8D6E63;
    --secondary: #D4A373;
    --accent: #E07A5F;
    --bg-color: #FAEDCD;
    --bg-light: #FFF8E7;
    --text-main: #3E2723;
    --text-light: #5D4037;
    --white: #FFFFFF;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.text-center-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 40px;
    color: var(--text-main);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #C8654D;
    color: var(--white);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #755A50;
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* Header Layout (Strictly from prompt) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(62, 39, 35, 0.1);
}

.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: bold;
    color: var(--primary);
    z-index: 100;
}

.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);
    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 {
    color: var(--text-main);
    font-weight: 600;
}

.desktop-nav a:hover {
    color: var(--accent);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 10px 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 rgba(62, 39, 35, 0.1);
}

@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); }
}

/* HERO: Floating Card (Unique V3) */
.hero-floating {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(250, 237, 205, 0.9) 0%, rgba(250, 237, 205, 0.4) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.floating-content-card {
    background-color: var(--white);
    padding: 50px 40px;
    max-width: 550px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(62, 39, 35, 0.15);
    border-left: 6px solid var(--accent);
}

.badge {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--text-main);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.floating-content-card h1 {
    font-size: clamp(32px, 5vw, 42px);
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.floating-content-card p {
    margin-bottom: 30px;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .hero-bg::after { background: rgba(250, 237, 205, 0.85); }
    .floating-content-card { padding: 30px 20px; }
}

/* ASYMMETRIC GRID (Unique V3) */
.grid-asymmetric {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.card-asym {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card-asym:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.card-asym h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

@media (min-width: 768px) {
    .grid-asymmetric {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-large {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 30px;
    }
    .card-large .card-icon {
        font-size: 60px;
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .grid-asymmetric {
        grid-template-columns: repeat(3, 1fr);
    }
    .card-large {
        grid-column: span 2;
    }
}

/* OVERLAP SPLIT SECTION (Unique V3) */
.overlap-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.overlap-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.overlap-content {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    width: 90%;
    align-self: flex-end;
}

.overlap-content h2 {
    color: var(--bg-color);
    margin-bottom: 20px;
}

.overlap-content p {
    margin-bottom: 15px;
}

.custom-list {
    list-style: none;
    margin-top: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

@media (min-width: 992px) {
    .overlap-wrapper {
        flex-direction: row;
        align-items: center;
    }
    .overlap-image {
        width: 60%;
    }
    .overlap-image img {
        height: 500px;
    }
    .overlap-content {
        width: 50%;
        margin-top: 0;
        margin-left: -10%;
        align-self: center;
        padding: 60px;
    }
}

/* ACCORDION FAQ (Unique V3) */
.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-item summary {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--primary);
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--accent);
}

.accordion-item[open] summary::after {
    content: '-';
}

.accordion-content {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* 2x3 MODULES GRID (Program) */
.grid-2x3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.module-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    border-top: 4px solid var(--secondary);
    position: relative;
}

.module-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 48px;
    font-weight: bold;
    color: var(--bg-color);
    text-shadow: 2px 2px 0 var(--secondary);
}

.module-card h3 {
    margin-bottom: 15px;
    color: var(--text-main);
    font-size: 22px;
}

@media (min-width: 768px) {
    .grid-2x3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-2x3 { grid-template-columns: repeat(3, 1fr); }
}

/* PARALLAX BANNER */
.parallax-banner {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 100px 0;
}

.parallax-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(62, 39, 35, 0.8);
    display: flex;
    align-items: center;
}

.parallax-banner h2, .parallax-banner p {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.parallax-banner h2 { margin-bottom: 20px; }

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.stat-box {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 48px;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 600;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* STORY SPLIT (Mission) */
.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-text h2 { margin-bottom: 20px; }
.split-text p { margin-bottom: 15px; }

.rounded-img {
    border-radius: 12px;
}

.shadow-img {
    box-shadow: 15px 15px 0 var(--secondary);
}

@media (min-width: 768px) {
    .split-grid { grid-template-columns: 1fr 1fr; }
}

/* VALUES GRID */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-item h3 { margin-bottom: 15px; color: var(--primary); }

@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

/* MANIFESTO */
.manifesto-box {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 12px;
}
@media (max-width: 768px) {
    .manifesto-box { margin: 0 20px; }
}


.manifesto-box h2 { color: var(--bg-color); margin-bottom: 30px; }
.manifesto-text {
    font-size: 24px;
    font-style: italic;
    line-height: 1.8;
}

/* CONTACT GRID */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.contact-info-panel h2 { margin-bottom: 20px; }
.contact-info-panel > p { margin-bottom: 40px; }

.info-block {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid var(--secondary);
}

.info-block h4 { color: var(--primary); margin-bottom: 5px; }

.contact-form-panel {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form-panel h3 { margin-bottom: 25px; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    background-color: #fafafa;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
}

@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* LEGAL PAGES */
.text-content {
    max-width: 800px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.text-content h1 { margin-bottom: 10px; }
.text-content > p:first-of-type { color: #888; margin-bottom: 30px; }
.text-content h3 { margin: 30px 0 15px; color: var(--primary); }
.text-content p, .text-content ul { margin-bottom: 15px; }
.text-content ul { padding-left: 20px; }
.text-content li { margin-bottom: 10px; }

/* THANK YOU */
.thank-icon {
    font-size: 80px;
    color: var(--accent);
    margin-bottom: 20px;
}

.next-steps {
    margin-top: 50px;
    padding: 40px;
    background: var(--white);
    border-radius: 8px;
}

.action-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* FOOTER */
.site-footer {
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col p {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: #222;
    color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#cookie-banner a { color: var(--secondary); 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; border-radius: 4px; cursor: pointer; font-weight: bold;
}
.cookie-btn-accept { background-color: var(--accent); 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; }
}