/* PALETTE: Sunset Ember (#D35400, #27AE60, #F39C12, #2C3E50) */
:root {
    --primary: #D35400; /* Pumpkin */
    --secondary: #27AE60; /* Nephritis */
    --accent: #F39C12; /* Orange */
    --dark: #2C3E50; /* Dark Slate */
    --light: #FDFEFE;
    --gray: #ECF0F1;
    --text: #34495E;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text); line-height: 1.6; background-color: var(--light); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }

/* Typography */
h1 { font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 20px; color: var(--dark); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; color: var(--dark); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 15px; color: var(--dark); }
p { margin-bottom: 15px; font-size: 1.05rem; }
.subtitle { font-size: 1.2rem; color: var(--accent); font-weight: 500; }
.lead-text { font-size: 1.25rem; opacity: 0.9; }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.max-w-800 { max-width: 800px; margin: 0 auto; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }
.mt-20 { margin-top: 20px; }
.mt-50 { margin-top: 50px; }
.bg-light { background-color: var(--gray); }
.bg-dark { background-color: var(--dark); color: var(--light); }
.bg-dark h2, .bg-dark h3 { color: var(--light); }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; font-weight: 600; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; text-align: center; }
.btn-primary { background-color: var(--primary); color: var(--light); border: 2px solid var(--primary); }
.btn-primary:hover { background-color: transparent; color: var(--primary); }
.btn-outline { background-color: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline:hover { background-color: var(--dark); color: var(--light); }
.btn-block { display: block; width: 100%; }

/* Header & Nav (Strict Template) */
.site-header { background-color: var(--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 20px; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary); text-transform: uppercase; 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(--dark); transition: 0.3s; }
.desktop-nav .nav-list { display: flex; gap: 30px; }
.desktop-nav a { font-weight: 600; color: var(--dark); }
.desktop-nav a:hover { color: var(--primary); }
.mobile-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--light); box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
.mobile-nav ul { flex-direction: column; padding: 20px; }
.mobile-nav li { margin-bottom: 15px; }
.mobile-nav a { display: block; font-weight: 600; color: var(--dark); }

@media (max-width: 768px) {
    .header-container { padding: 15px 10px; } /* Strict rule */
    .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 V4 (Diagonal Cut) */
.hero-v4 { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden; background-color: var(--dark); }
.hero-v4-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); }
.hero-img-cover { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.4)); }
.hero-v4-content { position: relative; z-index: 2; }
.hero-text-box { max-width: 600px; color: var(--light); }
.hero-text-box h1 { color: var(--light); }
.badge { display: inline-block; padding: 5px 15px; background-color: var(--accent); color: var(--dark); font-weight: bold; border-radius: 20px; margin-bottom: 15px; font-size: 0.9rem; }
.hero-actions { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: var(--light); color: var(--light); }
.hero-actions .btn-outline:hover { background-color: var(--light); color: var(--dark); }

/* Overlapping Stats */
.overlap-stats-section { margin-top: -80px; position: relative; z-index: 10; padding-bottom: 60px; }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.stat-card { background: var(--light); padding: 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center; border-bottom: 4px solid var(--secondary); }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 10px; }
.stat-label { font-weight: bold; color: var(--dark); margin-bottom: 10px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }

/* Asymmetrical Grid */
.asym-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.pillar-card { background: var(--light); padding: 30px; border-radius: 8px; border-left: 4px solid var(--accent); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
@media (min-width: 768px) {
    .asym-grid { grid-template-columns: repeat(3, 1fr); }
    .card-large { grid-column: span 2; grid-row: span 2; }
}

/* Split Float Section */
.split-wrapper { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.split-image { position: relative; }
.rounded-img { border-radius: 12px; }
.shadow-lg { box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.floating-info-box { position: absolute; bottom: -20px; right: -20px; background: var(--secondary); color: var(--light); padding: 20px; border-radius: 8px; max-width: 250px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.floating-info-box h4 { color: var(--light); margin-bottom: 10px; }
.custom-list li { position: relative; padding-left: 25px; margin-bottom: 10px; }
.custom-list li::before { content: '→'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
@media (min-width: 992px) { .split-wrapper { grid-template-columns: 1fr 1fr; gap: 80px; } }
@media (max-width: 768px) { .floating-info-box { position: relative; bottom: 0; right: 0; margin-top: 20px; max-width: 100%; } }

/* Masonry Testimonials */
.masonry-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.insight-card { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.insight-author { margin-top: 15px; font-weight: bold; color: var(--accent); }
@media (min-width: 768px) {
    .masonry-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
    .insight-card:nth-child(even) { margin-top: 40px; }
}

/* Timeline */
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; }
.timeline-container::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 2px; background: var(--gray); }
.timeline-item { position: relative; margin-bottom: 50px; }
.timeline-dot { position: absolute; left: -45px; top: 0; width: 32px; height: 32px; background: var(--primary); color: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; z-index: 2; }
.timeline-content { background: var(--light); padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid var(--gray); }

/* Accordion */
.accordion-wrapper { display: flex; flex-direction: column; gap: 15px; }
.accordion-item { background: var(--light); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.accordion-title { padding: 20px; font-weight: bold; cursor: pointer; background: var(--light); color: var(--dark); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion-title::-webkit-details-marker { display: none; }
.accordion-title::after { content: '+'; font-size: 1.5rem; color: var(--primary); }
details[open] .accordion-title::after { content: '-'; }
.accordion-content { padding: 0 20px 20px; border-top: 1px solid var(--gray); margin-top: 10px; padding-top: 20px; }

/* Mission Banner */
.mission-banner { position: relative; height: 60vh; display: flex; align-items: center; justify-content: center; }
.banner-img-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.parallax-img { width: 100%; height: 120%; object-fit: cover; transform: translateY(-10%); }
.banner-content { position: relative; z-index: 2; background: rgba(253, 254, 254, 0.9); padding: 40px; border-radius: 8px; max-width: 800px; margin: 0 20px; }

/* Two Col Layout */
.two-col-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
.align-center { align-items: center; }
.values-grid { display: grid; gap: 20px; }
.value-box { padding: 20px; background: var(--gray); border-left: 4px solid var(--secondary); border-radius: 0 8px 8px 0; }
@media (min-width: 768px) { .two-col-layout { grid-template-columns: 1fr 1fr; } }

/* Manifesto */
.manifesto-list { display: grid; grid-template-columns: 1fr; gap: 30px; }
.manifesto-item { display: flex; gap: 20px; align-items: flex-start; }
.manifesto-num { font-size: 4rem; font-weight: 900; color: rgba(243, 156, 18, 0.3); line-height: 0.8; }
@media (min-width: 768px) { .manifesto-list { grid-template-columns: repeat(3, 1fr); } .manifesto-item { flex-direction: column; } }

/* Contact Grid & Form */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.info-block { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray); }
.form-wrapper { background: var(--light); padding: 40px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.custom-form .form-group { margin-bottom: 20px; }
.custom-form label { display: block; margin-bottom: 8px; font-weight: 600; }
.custom-form input, .custom-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
.custom-form input:focus, .custom-form textarea:focus { outline: none; border-color: var(--primary); }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.5fr; } }

/* Legal Content */
.legal-content h3 { margin-top: 30px; }
.legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 15px; }

/* Thank You */
.success-icon { font-size: 5rem; color: var(--secondary); margin-bottom: 20px; }
.action-links { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* Footer Grid */
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer-grid ul li { margin-bottom: 10px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-bottom p {margin-bottom: 0; padding-bottom: 20px;}
.site-footer {padding-top: 2em;}
/* 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: #fff; border-top: 2px solid var(--primary); }
#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(--accent); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept { background: var(--primary); color: #fff; border: none; padding: 8px 16px; cursor: pointer; border-radius: 4px; font-weight: bold; }
.cookie-btn-decline { background: transparent; color: #fff; border: 1px solid #fff; padding: 8px 16px; cursor: pointer; border-radius: 4px; }
@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; }
}