/* 
   Palette Name: Sunset Earth (Warm Terracotta & Burgundy)
   NO BLUE, NO GREEN.
*/
:root {
    --primary: #8B2635; /* Deep Burgundy */
    --secondary: #D95D39; /* Terracotta */
    --accent: #F0A202; /* Warm Gold */
    --bg-light: #F9F6F0; /* Sand/Off-white */
    --bg-dark: #2B1910; /* Dark Espresso */
    --text-main: #3A2E2A;
    --text-light: #7A6B66;
    --white: #FFFFFF;
    --border: #E5DCD5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-main);
    background-color: var(--white);
    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-dark { background-color: var(--bg-dark); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--white); }

p { margin-bottom: 16px; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background-color: var(--primary); }

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 12px 26px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}
.btn-full { width: 100%; text-align: center; }

/* ================= HEADER (STRICT TEMPLATE) ================= */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--primary);
    color: var(--white);
}

.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(--white);
    letter-spacing: 1px;
}

.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(--white);
    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(--white);
    font-weight: 500;
    transition: color 0.3s;
}
.desktop-nav a:hover { color: var(--accent); }

.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(--primary);
}
.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}
.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav a { color: var(--white); 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-area {
    max-width: 600px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(32px, 5vw, 54px);
    margin-bottom: 24px;
}
.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}
.hero-image-area {
    width: 100%;
    height: 400px;
}
.hero-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-diagonal { flex-direction: row; align-items: center; }
    .hero-content-wrapper { width: 50%; padding: 0 5% 0 10%; }
    .hero-image-area {
        width: 50%;
        height: 100%;
        position: absolute;
        right: 0;
        top: 0;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* ================= INDEX: INTRO GRID ================= */
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.intro-heading h2 { font-size: 36px; }
@media (min-width: 768px) {
    .intro-grid { grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: center; }
}

/* ================= INDEX: HORIZONTAL SCROLL ================= */
.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.scroll-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) var(--border);
}
.scroll-container::-webkit-scrollbar { height: 8px; }
.scroll-container::-webkit-scrollbar-track { background: var(--border); border-radius: 4px; }
.scroll-container::-webkit-scrollbar-thumb { background-color: var(--secondary); border-radius: 4px; }

.scroll-track {
    display: flex;
    gap: 30px;
    width: max-content;
}
.scroll-card {
    width: 320px;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--secondary);
}
.card-icon {
    font-size: 48px;
    font-weight: bold;
    color: var(--bg-light);
    -webkit-text-stroke: 2px var(--secondary);
    margin-bottom: 20px;
    line-height: 1;
}

/* ================= INDEX: OVERLAP SECTION ================= */
.overlap-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}
.overlap-image { width: 100%; height: 300px; }
.overlap-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.overlap-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}
@media (min-width: 992px) {
    .overlap-wrapper { flex-direction: row; align-items: center; }
    .overlap-image { width: 60%; height: 500px; }
    .overlap-content { width: 50%; margin-top: 0; margin-left: -10%; padding: 60px; }
}

/* ================= INDEX: MASONRY TESTIMONIALS ================= */
.masonry-grid {
    column-count: 1;
    column-gap: 30px;
}
.masonry-item {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    break-inside: avoid;
    border-left: 3px solid var(--accent);
}
.quote-text { font-style: italic; font-size: 16px; margin-bottom: 15px; color: rgba(255,255,255,0.9); }
.quote-author { font-weight: bold; color: var(--accent); }
@media (min-width: 768px) { .masonry-grid { column-count: 2; } }

/* ================= PAGE BANNER ================= */
.page-banner {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.banner-title { color: var(--white); font-size: 42px; margin-bottom: 15px; }
.banner-subtitle { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* ================= PROGRAM: NUMBERED MODULES ================= */
.numbered-module {
    position: relative;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.numbered-module:last-child { border-bottom: none; }
.module-number {
    font-size: 120px;
    font-weight: 900;
    color: var(--bg-light);
    line-height: 0.8;
    margin-bottom: 20px;
}
.module-content { flex: 1; }
.module-title { font-size: 28px; color: var(--secondary); }
@media (min-width: 768px) {
    .numbered-module { flex-direction: row; align-items: flex-start; gap: 50px; padding: 60px 0; }
    .module-number { margin-bottom: 0; width: 150px; }
}

/* ================= IMAGE BREAK ================= */
.image-break-section { width: 100%; height: 400px; }
.full-width-img { width: 100%; height: 100%; object-fit: cover; }

/* ================= PROGRAM: ACCORDION FAQ ================= */
.accordion-wrapper { max-width: 800px; margin: 0 auto; }
.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.accordion-title {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary);
    list-style: none;
    position: relative;
}
.accordion-title::-webkit-details-marker { display: none; }
.accordion-title::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
}
details[open] .accordion-title::after { content: '-'; }
.accordion-content { padding: 0 20px 20px; color: var(--text-light); }

/* ================= MISSION: ALTERNATING STORY ================= */
.story-row {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}
.story-row:last-child { margin-bottom: 0; }
.story-text { flex: 1; }
.year-badge {
    display: inline-block;
    color: var(--secondary);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.story-image { flex: 1; border-radius: 8px; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
@media (min-width: 768px) {
    .story-row { flex-direction: row; align-items: center; }
    .story-row.reverse { flex-direction: row-reverse; }
}

/* ================= MISSION: MANIFESTO ================= */
.manifesto-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    border: 2px solid var(--accent);
    border-radius: 8px;
}
.manifesto-text { font-size: 22px; font-style: italic; line-height: 1.8; }

/* ================= CONTACT: SIDEBAR LAYOUT ================= */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-sidebar {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.contact-info-block { margin-top: 30px; }
.contact-info-block h4 { color: var(--secondary); margin-bottom: 10px; font-size: 18px; }
.form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.custom-form .form-group { margin-bottom: 20px; }
.custom-form label { display: block; margin-bottom: 8px; font-weight: bold; color: var(--primary); }
.custom-form input, .custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
    background-color: var(--bg-light);
}
.custom-form input:focus, .custom-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
}
@media (min-width: 992px) {
    .contact-grid { grid-template-columns: 350px 1fr; gap: 50px; }
}

/* ================= LEGAL PAGES ================= */
.legal-container { max-width: 800px; background: var(--white); padding: 50px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.legal-container h3 { margin-top: 30px; color: var(--secondary); }
.legal-container ul { margin-left: 20px; margin-bottom: 16px; }

/* ================= THANK YOU PAGE ================= */
.thank-you-box { max-width: 600px; margin: 0 auto; padding: 60px 20px; }
.thank-title { font-size: 48px; color: var(--secondary); }
.thank-desc { font-size: 18px; margin-bottom: 40px; }
.next-steps { background: var(--bg-light); padding: 30px; border-radius: 8px; }
.thank-links { display: flex; gap: 15px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* ================= FOOTER (STRICT TEMPLATE) ================= */
.site-footer {
    background-color: #2B1910 !important;
    color: #FFFFFF !important;
    padding: 60px 20px 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-logo { font-size: 24px; color: #FFFFFF !important; margin-bottom: 15px; }
.footer-desc { color: #D5D5D5 !important; font-size: 14px; }
.footer-heading { color: #F0A202 !important; font-size: 18px; margin-bottom: 20px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 12px; color: #D5D5D5 !important; font-size: 14px; }
.footer-links a { color: #D5D5D5 !important; transition: color 0.3s; }
.footer-links a:hover { color: #FFFFFF !important; }
.footer-mailto { color: #FFFFFF !important; text-decoration: underline; }
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #A0A0A0 !important;
    font-size: 13px;
}
@media (min-width: 768px) {
    .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: var(--bg-dark);
    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;
    border-top: 3px solid var(--secondary);
}
#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); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept {
    background: var(--secondary); color: var(--white);
    border: none; padding: 8px 20px; border-radius: 4px; cursor: pointer; font-weight: bold;
}
.cookie-btn-decline {
    background: transparent; color: var(--white);
    border: 1px solid var(--white); 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; }
}