/* 
   PALETTE NAME: Forest & Gold (NO BLUE)
   Primary: #2E402B (Deep Forest Green)
   Secondary: #D9A05B (Warm Gold)
   Accent: #8C3A3A (Muted Brick Red)
   Background: #F4F1EA (Cream/Off-white)
   Text: #1A1A1A (Almost Black)
*/

:root {
    --primary: #2E402B;
    --secondary: #D9A05B;
    --accent: #8C3A3A;
    --bg-main: #F4F1EA;
    --bg-light: #FFFFFF;
    --text-main: #1A1A1A;
    --text-light: #555555;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary);
    color: white;
}

.text-center {
    text-align: center;
}

.text-content-max {
    max-width: 800px;
    margin: 0 auto;
}

/* Typography (Adaptive) */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 20px; color: var(--primary); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: 15px; }
p { margin-bottom: 16px; font-size: 1.05rem; color: var(--text-light); }
.lead-text { font-size: 1.25rem; color: var(--text-main); }
.accent-text { color: var(--accent); }

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--secondary);
    color: var(--text-main);
}
.btn-primary:hover {
    background-color: #c28d4d;
    transform: translateY(-2px);
}
.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}
.btn-full { width: 100%; }

/* HEADER (Strict Template Styles) */
.site-header {
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 10px; /* STRICT REQUIREMENT */
}
.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}
.menu-checkbox { display: none; }
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}
.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}
.desktop-nav a {
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s;
}
.desktop-nav a:hover { color: var(--secondary); }
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.mobile-nav ul {
    list-style: none;
    padding: 20px;
}
.mobile-nav li { margin-bottom: 15px; }
.mobile-nav a {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: flex; }
    #menu-toggle:checked ~ .mobile-nav { display: block; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #menu-toggle:checked ~ .hamburger .line:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* HERO COMPLEX (Index) */
.hero-complex {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg-image {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    z-index: 1;
}
.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(46, 64, 43, 0.9) 0%, rgba(46, 64, 43, 0.4) 100%);
}
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero-text-box {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* INTRO GRID (Asymmetrical) */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr 2fr;
        align-items: start;
    }
}
.decorative-line {
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin-top: 20px;
}

/* BENTO GRID (Benefits) */
.section-title-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(3, 1fr); }
    .card-large { grid-row: span 2; }
    .card-wide { grid-column: span 2; }
}
.bento-card {
    background: var(--bg-main);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.bento-card:hover { transform: translateY(-5px); }
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* OVERLAP SPLIT SECTION */
.overlap-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
@media (min-width: 992px) {
    .overlap-wrapper {
        grid-template-columns: 5fr 6fr;
    }
    .overlap-content {
        margin-left: -80px;
        background: var(--bg-light);
        padding: 50px;
        border-radius: var(--radius);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
        position: relative;
        z-index: 2;
    }
}
.overlap-image img {
    border-radius: var(--radius);
    width: 100%;
    object-fit: cover;
    min-height: 400px;
}
.custom-list {
    list-style: none;
    margin-top: 20px;
}
.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-weight: 500;
}
.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* MASONRY TESTIMONIALS */
.masonry-grid {
    column-count: 1;
    column-gap: 20px;
}
@media (min-width: 768px) { .masonry-grid { column-count: 2; } }
@media (min-width: 1024px) { .masonry-grid { column-count: 3; } }
.masonry-item {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    break-inside: avoid;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
}
.quote-mark {
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    font-family: serif;
}
.author-info {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
}
.author-info span { font-size: 0.85rem; color: var(--accent); }

/* PAGE HEADER */
.page-header {
    padding: 80px 20px;
}
.page-header h1 { color: white; margin-bottom: 10px; }
.page-header .subtitle { color: rgba(255,255,255,0.8); font-size: 1.2rem; }

/* TIMELINE (Program) */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 20px;
    width: 2px;
    background: var(--secondary);
}
.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}
.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 4px solid var(--bg-light);
    border-radius: 50%;
    z-index: 2;
}
.timeline-content {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.module-tag {
    display: inline-block;
    background: var(--bg-main);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.timeline-image {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

/* ACCORDION FAQ */
.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    background: white;
    margin-bottom: 15px;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.accordion-item summary {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
}
.accordion-item[open] summary::after { content: '-'; }
.accordion-content {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* PARALLAX HERO (Mission) */
.parallax-hero {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}
.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.7);
    display: flex;
    align-items: center;
    width: 100%;
}
.massive-title {
    color: white;
    font-size: clamp(3rem, 6vw, 5rem);
}
.parallax-overlay .lead-text { color: rgba(255,255,255,0.9); }

/* TWO COL TEXT */
.two-col-text {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .two-col-text { grid-template-columns: 1fr 1fr; }
}

/* NUMBERED GRID (Manifesto) */
.numbered-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) { .numbered-grid { grid-template-columns: 1fr 1fr; } }
.number-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--secondary);
}
.big-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: var(--bg-main);
    line-height: 1;
    z-index: 0;
}
.number-card h3, .number-card p { position: relative; z-index: 1; }

/* CONTACT LAYOUT & FORM */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .contact-layout { grid-template-columns: 1fr 1.5fr; }
}
.info-block { margin-bottom: 20px; }
.info-block strong { display: block; color: var(--primary); margin-bottom: 5px; }
.custom-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* LEGAL PAGES */
.legal-section h3 { margin-top: 30px; color: var(--primary); }
.disclaimer-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}
.disclaimer-box h3 { margin-top: 0; color: #856404; }
.disclaimer-box p { color: #856404; margin-bottom: 0; }

/* THANK YOU PAGE */
.success-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    color: white;
    font-size: 40px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 30px;
}
.next-steps {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* FOOTER (Strict Template Styles) */
.site-footer {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    padding: 60px 0 20px;
    margin-top: auto;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}
.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary) !important;
    margin-bottom: 15px;
    display: inline-block;
}
.footer-desc { color: rgba(255,255,255,0.8) !important; font-size: 0.95rem; }
.footer-title {
    color: #ffffff !important;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 30px; height: 2px;
    background-color: var(--secondary) !important;
}
.footer-links ul, .footer-legal ul { list-style: none; }
.footer-links li, .footer-legal li { margin-bottom: 10px; }
.footer-links a, .footer-legal a {
    color: rgba(255,255,255,0.8) !important;
    transition: color 0.3s;
}
.footer-links a:hover, .footer-legal a:hover { color: var(--secondary) !important; }
.footer-contact p { color: rgba(255,255,255,0.8) !important; margin-bottom: 10px; font-size: 0.95rem; }
.footer-contact a { color: var(--secondary) !important; }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}
.footer-bottom p { color: rgba(255,255,255,0.6) !important; font-size: 0.85rem; margin: 0; }

/* COOKIE BANNER */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: #1A1A1A;
    color: white;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; color: #ddd; font-size: 0.9rem; }
#cookie-banner a { color: var(--secondary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept {
    background: var(--secondary); color: var(--text-main);
    border: none; padding: 8px 20px; border-radius: 4px; cursor: pointer; font-weight: bold;
}
.cookie-btn-decline {
    background: transparent; color: white;
    border: 1px solid #555; padding: 8px 20px; border-radius: 4px; cursor: pointer;
}
@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; }
}