/* 
   PALETTE: Terracotta & Sand (Warm Earthy Tones)
   NO BLUE, NO GREEN.
*/
:root {
    --color-dark: #2C1E16; /* Dark Roast */
    --color-primary: #A65D37; /* Terracotta */
    --color-secondary: #D9B48F; /* Sand */
    --color-light: #F2E3D5; /* Cream */
    --color-white: #FFFFFF;
    --text-main: #332A24;
    --text-muted: #665A52;
    --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-main);
    background-color: var(--color-light);
    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;
}

.text-center {
    text-align: center;
}

/* Typography */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; margin-bottom: 20px; color: var(--color-dark); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.3; margin-bottom: 15px; color: var(--color-dark); }
h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--color-dark); }
p { margin-bottom: 15px; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-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(--color-dark);
}
.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--color-primary);
    padding: 12px 26px;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* =========================================
   HEADER (STRICT TEMPLATE)
   ========================================= */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-dark);
    color: var(--color-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(--color-white);
}
.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(--color-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(--color-white);
    transition: color 0.3s;
}
.desktop-nav a:hover {
    color: var(--color-secondary);
}
.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(--color-dark);
}
.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(--color-white);
}
@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 V2 COMPONENTS
   ========================================= */
/* Diagonal Hero */
.hero-diagonal {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}
.hero-content-left {
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary);
}
.hero-text-wrapper {
    max-width: 500px;
}
.badge {
    display: inline-block;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.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%;
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
        z-index: 2;
    }
    .hero-image-right {
        position: absolute;
        right: 0;
        top: 0;
        width: 60%;
        height: 100%;
        z-index: 1;
    }
}

/* 2x2 Grid Section */
.benefits-2x2-section {
    padding: 80px 0;
    background-color: var(--color-light);
}
.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .grid-2x2 {
        grid-template-columns: 1fr 1fr;
    }
}
.card-v2 {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(44, 30, 22, 0.05);
    border-top: 4px solid var(--color-primary);
    transition: transform 0.3s ease;
}
.card-v2:hover {
    transform: translateY(-5px);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Overlap Section */
.overlap-section {
    padding: 100px 0;
    background-color: var(--color-white);
}
.overlap-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}
.overlap-image {
    width: 100%;
    height: 300px;
}
.overlap-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.overlap-content {
    background: var(--color-secondary);
    padding: 40px;
    border-radius: 8px;
    margin-top: -50px;
    margin-left: 20px;
    margin-right: 20px;
    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;
    }
}

/* Accordion FAQ */
.accordion-section {
    padding: 80px 0;
    background-color: var(--color-light);
}
.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    background: var(--color-white);
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.accordion-item summary {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--color-dark);
}
.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(--color-primary);
}
.accordion-item[open] summary::after {
    content: '-';
}
.accordion-content {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

/* =========================================
   PROGRAM V2 COMPONENTS
   ========================================= */
.solid-hero {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 100px 0;
}
.solid-hero h1 {
    color: var(--color-white);
}
.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-secondary);
}

.numbered-steps-section {
    padding: 80px 0;
    background-color: var(--color-white);
}
.numbered-step {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
    align-items: flex-start;
}
.step-number {
    font-size: 6rem;
    font-weight: bold;
    color: var(--color-secondary);
    line-height: 1;
    opacity: 0.5;
    margin-bottom: 20px;
}
.step-content {
    flex: 1;
}
@media (min-width: 768px) {
    .numbered-step {
        flex-direction: row;
        gap: 50px;
    }
    .numbered-step.reverse {
        flex-direction: row-reverse;
    }
    .step-number {
        width: 150px;
        margin-bottom: 0;
    }
}

.image-break {
    width: 100%;
    height: 400px;
    margin: 60px 0;
}
.image-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.circular-stats {
    padding: 60px 0;
    background-color: var(--color-secondary);
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-dark);
    background: var(--color-white);
}

/* =========================================
   MISSION V2 COMPONENTS
   ========================================= */
.floating-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.floating-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.floating-bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.floating-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 30, 22, 0.6);
}
.floating-card {
    position: relative;
    z-index: 2;
    background: var(--color-white);
    padding: 50px;
    max-width: 700px;
    text-align: center;
    border-radius: 8px;
    margin: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.story-section {
    padding: 80px 0;
    background-color: var(--color-light);
}
.story-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    border-left: 6px solid var(--color-primary);
}
.story-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 15px;
}
@media (min-width: 768px) {
    .story-block {
        flex-direction: row;
        gap: 40px;
    }
    .story-year {
        width: 150px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

.values-section {
    padding: 80px 0;
    background-color: var(--color-white);
}
.custom-values-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}
.custom-values-list li {
    padding: 20px;
    background: var(--color-light);
    margin-bottom: 15px;
    border-radius: 6px;
    position: relative;
    padding-left: 50px;
}
.custom-values-list li::before {
    content: '→';
    position: absolute;
    left: 20px;
    color: var(--color-primary);
    font-weight: bold;
}

/* =========================================
   CONTACT V2 COMPONENTS
   ========================================= */
.contact-top-section {
    padding: 80px 0 40px;
    background-color: var(--color-light);
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.contact-info-card {
    background: var(--color-white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.contact-info-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.form-bottom-section {
    padding: 40px 0 80px;
    background-color: var(--color-light);
}
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px 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(--color-dark);
}
.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    background-color: #fafafa;
}
.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
}
.btn-submit {
    width: 100%;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-submit:hover {
    background: var(--color-dark);
}

/* =========================================
   LEGAL & THANK YOU PAGES
   ========================================= */
.legal-section {
    padding: 80px 0;
    background: var(--color-white);
}
.legal-container {
    max-width: 800px;
}
.legal-content h2 {
    margin-top: 40px;
    font-size: 1.5rem;
}

.thank-you-section {
    padding: 120px 0;
    min-height: 60vh;
    background: var(--color-light);
}
.thank-icon {
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.thank-actions {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}
.action-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* =========================================
   FOOTER (STRICT TEMPLATE)
   ========================================= */
.site-footer {
    background-color: #2C1E16 !important;
    color: #FFFFFF !important;
    padding: 60px 0 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
.footer-title {
    color: #D9B48F !important;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.footer-desc {
    color: #FFFFFF !important;
    opacity: 0.8;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #FFFFFF !important;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.footer-links a:hover {
    opacity: 1;
    color: #D9B48F !important;
}
.footer-contact {
    color: #FFFFFF !important;
    opacity: 0.8;
    margin-bottom: 10px;
}
.footer-contact a {
    color: #D9B48F !important;
}
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #FFFFFF !important;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* =========================================
   COOKIE BANNER
   ========================================= */
#cookie-banner {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    z-index: 9999;
    padding: 18px 24px;
    background-color: var(--color-dark);
    color: var(--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 -5px 15px rgba(0,0,0,0.1);
}
#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(--color-secondary);
    text-decoration: underline;
}
.cookie-btns { 
    display: flex; 
    gap: 10px; 
    flex-shrink: 0; 
    flex-wrap: wrap; 
}
.cookie-btn-accept {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-decline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-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; }
}