/* 
   Palette Name: Warm Terracotta & Deep Burgundy
   Colors: #8B3A3A (Burgundy), #D2691E (Terracotta), #FFB90F (Gold), #FFF8DC (Cornsilk), #332211 (Dark Brown)
   NO BLUE, NO GREEN.
*/

:root {
    --primary: #8B3A3A;
    --secondary: #D2691E;
    --accent: #FFB90F;
    --bg-light: #FFF8DC;
    --bg-white: #FFFFFF;
    --text-dark: #332211;
    --text-light: #FDF5E6;
    --border-color: rgba(139, 58, 58, 0.2);
    --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-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: 20px; font-size: 1.05rem; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-submit {
    display: inline-block;
    padding: 14px 28px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: var(--secondary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

/* ================= HEADER (STRICT TEMPLATE) ================= */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--primary);
    color: var(--text-light);
}

.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(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.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(--text-light);
    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: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);
}

@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); }
}

/* ================= UNIQUE HERO: DIAGONAL SPLIT ================= */
.hero-diagonal {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero-content-left {
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-text-wrapper {
    max-width: 500px;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--accent);
    color: var(--text-dark);
    font-weight: bold;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.hero-text-wrapper h1 span {
    color: var(--secondary);
}

.hero-image-right {
    width: 100%;
    height: 400px;
}

.hero-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-diagonal {
        flex-direction: row;
    }
    .hero-content-left {
        width: 50%;
        padding: 80px 5%;
    }
    .hero-image-right {
        width: 50%;
        height: auto;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* ================= OVERLAPPING INTRO ================= */
.intro-overlap {
    padding: 80px 0;
    background-color: var(--primary);
    position: relative;
    margin-top: -50px;
    z-index: 3;
}

.overlap-box {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-top: 5px solid var(--accent);
}

.overlap-text h2 {
    color: var(--secondary);
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .intro-overlap { margin-top: 0; padding: 40px 0; }
    .overlap-box { padding: 30px 20px; }
}

/* ================= ASYMMETRICAL 5-CARD GRID ================= */
.benefits-asymmetric {
    padding: 80px 0;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.grid-5-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card-item {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    transition: transform 0.3s ease;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 58, 58, 0.1);
}

.card-item h3 {
    color: var(--primary);
    font-size: 1.3rem;
}

@media (min-width: 768px) {
    .grid-5-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-large { grid-column: span 2; }
}

@media (min-width: 1024px) {
    .grid-5-layout {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
    .card-large { grid-column: span 2; grid-row: span 1; }
    .card-medium { grid-column: span 1; }
    .card-small { grid-column: span 1; }
}

/* ================= PARALLAX IMAGE BREAK ================= */
.image-break-section {
    position: relative;
    padding: 100px 0;
    color: var(--text-light);
    overflow: hidden;
}

.break-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}

.image-break-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(139, 58, 58, 0.85);
    z-index: -1;
}

.break-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.break-content blockquote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    margin-bottom: 50px;
    color: var(--accent);
}

.stats-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 3rem;
    font-weight: bold;
    color: var(--bg-white);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .stats-row {
        flex-direction: row;
        justify-content: space-around;
    }
}

/* ================= ACCORDION FAQ ================= */
.faq-accordion-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.accordion-item summary {
    padding: 20px;
    background-color: var(--bg-light);
    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: 1.5rem;
}

.accordion-item[open] summary::after {
    content: '-';
}

.accordion-content {
    padding: 20px;
    background-color: var(--bg-white);
}

/* ================= PROGRAM: ZIGZAG LAYOUT ================= */
.page-hero-minimal {
    padding: 80px 0 40px;
    text-align: center;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.page-hero-minimal p {
    max-width: 700px;
    margin: 0 auto;
}

.zigzag-modules {
    padding: 60px 0;
}

.zigzag-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
    align-items: center;
    gap: 40px;
}

.zigzag-img {
    width: 100%;
    position: relative;
}

.zigzag-img img {
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.module-number {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 5rem;
    font-weight: bold;
    color: var(--accent);
    line-height: 1;
    text-shadow: 2px 2px 0 var(--primary);
    z-index: 2;
}

.zigzag-text {
    width: 100%;
}

.custom-list {
    list-style: none;
    margin-top: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.full-text-module {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.center-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.module-number-inline {
    font-size: 3rem;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .zigzag-row {
        flex-direction: row;
    }
    .zigzag-row.reverse {
        flex-direction: row-reverse;
    }
    .zigzag-img, .zigzag-text {
        width: 50%;
    }
    .zigzag-row.reverse .module-number {
        right: auto;
        left: -20px;
    }
}

/* ================= CTA SIDEBAR STYLE ================= */
.cta-sidebar-style {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 60px 0;
}

.cta-flex {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
}

.cta-info h3 {
    color: var(--accent);
}

@media (min-width: 768px) {
    .cta-flex {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .cta-info { width: 60%; }
    .cta-action { width: 30%; text-align: right; }
}

/* ================= MISSION: TIMELINE ================= */
.mission-hero {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--text-light);
    text-align: center;
}

.mission-hero h1 { color: var(--bg-white); }
.subtitle { font-size: 1.2rem; color: var(--accent); }

.timeline-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0; left: 20px;
    height: 100%; width: 4px;
    background-color: var(--border-color);
}

.timeline-block {
    position: relative;
    margin-bottom: 60px;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    left: 12px; top: 0;
    width: 20px; height: 20px;
    background-color: var(--secondary);
    border-radius: 50%;
    border: 4px solid var(--bg-white);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--bg-light);
    color: var(--primary);
    font-weight: bold;
    border-radius: 20px;
    margin-bottom: 15px;
}

.timeline-img {
    margin-top: 20px;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .timeline-container::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline-block {
        width: 50%;
        padding-left: 0;
        padding-right: 40px;
        text-align: right;
    }
    .timeline-block:nth-child(even) {
        margin-left: auto;
        padding-right: 0;
        padding-left: 40px;
        text-align: left;
    }
    .timeline-dot {
        left: auto; right: -12px;
    }
    .timeline-block:nth-child(even) .timeline-dot {
        right: auto; left: -12px;
    }
}

/* ================= VALUES GRID ================= */
.values-grid-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-box {
    background-color: var(--bg-white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    border-bottom: 4px solid var(--accent);
}

@media (min-width: 600px) {
    .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ================= CONTACT: SIDEBAR LAYOUT ================= */
.contact-sidebar-layout {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.info-widget {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 40px 30px;
    border-radius: 8px;
    height: 100%;
}

.info-widget h3 { color: var(--accent); }

.info-item {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.form-wrapper {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.custom-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    background-color: var(--bg-light);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: var(--bg-white);
}

.btn-submit {
    width: 100%;
    background-color: var(--secondary);
    color: var(--bg-white);
    font-size: 1.1rem;
}
.btn-submit:hover {
    background-color: var(--primary);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 35% 65%;
    }
}

/* ================= LEGAL PAGES & THANK YOU ================= */
.legal-section, .thank-you-section {
    padding: 80px 0;
    background-color: var(--bg-white);
    min-height: 60vh;
}

.legal-container {
    max-width: 800px;
}

.legal-content h2 {
    margin-top: 40px;
    font-size: 1.5rem;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.text-center-box {
    text-align: center;
    max-width: 600px;
}

.icon-success {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.next-steps {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.action-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ================= FOOTER (STRICT TEMPLATE) ================= */
.site-footer {
    background-color: #2A1A1A !important; /* Hardcoded dark brown/burgundy */
    color: #FDF5E6 !important; /* Hardcoded light text */
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: #FFB90F !important; /* Hardcoded gold */
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p, .footer-col ul, .footer-col li, .footer-col a {
    color: #FDF5E6 !important;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: #FFB90F !important;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #CCCCCC !important;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .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(--text-dark);
    color: var(--bg-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(--accent);
}

#cookie-banner.hidden { 
    transform: translateY(110%); 
}

#cookie-banner p { 
    margin: 0; 
    flex: 1; 
    min-width: 200px; 
    font-size: 0.95rem;
}

#cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-btns { 
    display: flex; 
    gap: 10px; 
    flex-shrink: 0; 
    flex-wrap: wrap; 
}

.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-accept {
    background-color: var(--accent);
    color: var(--text-dark);
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--bg-white);
    border: 1px solid var(--bg-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; }
}