/* Earthy Palette (Version 3) - NO BLUE, NO GREEN */
:root {
    --primary-color: #8B5A2B; /* Saddle Brown */
    --secondary-color: #D2B48C; /* Tan */
    --accent-color: #CD853F; /* Peru */
    --bg-color: #FAF0E6; /* Linen */
    --text-color: #3E2723; /* Dark Brown */
    --light-bg: #FFF8DC; /* Cornsilk */
    --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);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: 0.3s;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

/* Typography */
h1, h2, h3, h4 {
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header Layout (Strict Template) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white);
    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: bold;
    z-index: 100;
    color: var(--primary-color);
}

.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 {
    color: var(--text-color);
    font-weight: 600;
}

.desktop-nav a:hover {
    color: var(--accent-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(--white);
    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(139, 90, 43, 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); }
}

/* V3 Unique Hero: Floating Card */
.hero-floating {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 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, 240, 230, 0.95) 0%, rgba(250, 240, 230, 0.4) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.floating-card {
    background-color: var(--white);
    padding: 50px;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(62, 39, 35, 0.1);
    border-left: 6px solid var(--primary-color);
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 20px;
    margin-bottom: 15px;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-bg::after { background: rgba(250, 240, 230, 0.9); }
    .floating-card { padding: 30px 20px; }
}

/* Intro Section */
.text-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .text-columns { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}

/* V3 Unique: Asymmetric Grid (5 Cards) */
.asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-top: 4px solid var(--secondary-color);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .asymmetric-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }
    .card-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    .card-wide {
        grid-column: span 2;
    }
}

/* V3 Unique: Overlap Section */
.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: var(--primary-color);
    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(--white); }

.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-color);
}

@media (min-width: 768px) {
    .overlap-wrapper { flex-direction: row; align-items: center; }
    .overlap-image { width: 60%; }
    .overlap-content { width: 50%; margin-top: 0; margin-left: -10%; }
}

/* V3 Unique: Accordion FAQ */
.accordion-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--primary-color);
}

.accordion-header::-webkit-details-marker { display: none; }

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: 0.3s;
}

details[open] .accordion-header::after { content: '-'; }

.accordion-content {
    padding: 0 20px 20px;
    color: var(--text-color);
}

/* V3 Unique: 6-Card Module Grid (Program) */
.module-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.module-box {
    background: var(--white);
    border: 1px solid var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.module-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

@media (min-width: 768px) {
    .module-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .module-grid { 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: rgba(62, 39, 35, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay h2, .parallax-overlay p {
    color: var(--white);
    position: relative;
    z-index: 2;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* V3 Unique: Value Grid (Mission) */
.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 50%;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.value-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .value-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Manifesto Box */
.manifesto-box {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.manifesto-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.manifesto-text {
    padding: 40px;
}

@media (min-width: 768px) {
    .manifesto-box { flex-direction: row; }
    .manifesto-img { width: 40%; }
    .manifesto-img img { height: 100%; }
    .manifesto-text { width: 60%; }
}

/* V3 Unique: Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-info-panel {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.contact-info-panel h2 { color: var(--white); }
.contact-info-panel a { color: var(--secondary-color); }

.schedule-list {
    list-style: none;
    margin-top: 15px;
}

.schedule-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.detail-item {
    margin-bottom: 20px;
}

.contact-form-panel {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1.5fr; }
}

/* Forms */
.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-main);
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.legal-container h2 {
    margin-top: 30px;
    font-size: 1.5rem;
}

.legal-container ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Thank You Page */
.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.action-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Footer (Strict Template) */
.site-footer {
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-container { grid-template-columns: repeat(4, 1fr); }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    padding: 18px 24px;
    background-color: var(--text-color);
    color: var(--white);
    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: 0.9rem;
}

#cookie-banner a {
    color: var(--secondary-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;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-accept {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

@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; }
}