/* 
   PALETTE V4: Contrast Black-Gold
   Colors: Black (#111111), Gold/Amber (#D4AF37), Dark Charcoal (#2C2C2C), Warm White (#FDFBF7)
   NO BLUE, NO GREEN.
*/

:root {
    --bg-main: #FDFBF7;
    --bg-dark: #111111;
    --bg-card: #2C2C2C;
    --accent: #D4AF37;
    --text-dark: #111111;
    --text-light: #FDFBF7;
    --text-muted: #888888;
    --border-color: #E0DCD3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
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: 15px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); margin-bottom: 10px; }
p { margin-bottom: 15px; font-size: 1.05rem; }

/* Layout Utilities */
.v4-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.v4-text-center { text-align: center; }

/* Buttons */
.v4-btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg-dark);
    padding: 15px 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.v4-btn-primary:hover { background-color: #b5952f; }

.v4-btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--text-dark);
    padding: 13px 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--text-dark);
    transition: all 0.3s;
}
.v4-btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--text-light);
}

/* =========================================
   HEADER (STRICT TEMPLATE CSS)
========================================= */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-dark);
    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 {
    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(--bg-card);
}
.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); }
}

/* =========================================
   V4 UNIQUE COMPONENTS (INDEX)
========================================= */
/* Hero Overlap Grid */
.v4-hero-section {
    padding: 80px 20px;
    background-color: var(--bg-main);
}
.v4-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.v4-hero-image-wrapper {
    position: relative;
}
.v4-hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    position: relative;
    z-index: 2;
}
.v4-hero-accent-box {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    z-index: 1;
}
.v4-subtitle {
    display: block;
    color: var(--accent);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
@media (min-width: 992px) {
    .v4-hero-container {
        grid-template-columns: 5fr 6fr;
        gap: 60px;
    }
    .v4-hero-content {
        padding-left: 40px;
        margin-left: -100px; /* Overlap effect */
        background: var(--bg-main);
        padding: 40px;
        position: relative;
        z-index: 3;
        box-shadow: -10px 10px 30px rgba(0,0,0,0.05);
    }
}

/* Stats Bar */
.v4-stats-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 20px;
}
.v4-stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}
.v4-stat-number {
    display: block;
    font-size: 4rem;
    font-weight: bold;
    color: var(--accent);
    line-height: 1;
}
.v4-stat-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
@media (min-width: 768px) {
    .v4-stats-container { grid-template-columns: repeat(3, 1fr); }
}

/* Vertical Timeline */
.v4-timeline-section {
    padding: 100px 0;
    background-color: var(--bg-main);
}
.v4-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.v4-timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.v4-timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}
.v4-timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}
.v4-timeline-item:last-child { margin-bottom: 0; }
.v4-timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: var(--accent);
    border-radius: 50%;
    border: 4px solid var(--bg-main);
}
.v4-timeline-content {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border-color);
}

/* Split Block */
.v4-split-section {
    background-color: var(--bg-card);
    color: var(--text-light);
}
.v4-split-container {
    display: grid;
    grid-template-columns: 1fr;
}
.v4-split-text {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}
.v4-custom-list {
    list-style: none;
    margin-top: 20px;
}
.v4-custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}
.v4-custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}
.v4-img-responsive {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}
@media (min-width: 992px) {
    .v4-split-container { grid-template-columns: 1fr 1fr; }
    .v4-split-text { padding: 100px 60px; margin: 0; }
}

/* Accordion FAQ */
.v4-faq-section {
    padding: 100px 0;
}
.v4-center-title {
    text-align: center;
    margin-bottom: 50px;
}
.v4-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.v4-accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}
.v4-accordion-check { display: none; }
.v4-accordion-header {
    display: block;
    padding: 20px;
    background: #fff;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}
.v4-accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: var(--accent);
}
.v4-accordion-check:checked ~ .v4-accordion-header::after { content: '-'; }
.v4-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-main);
    padding: 0 20px;
}
.v4-accordion-check:checked ~ .v4-accordion-body {
    max-height: 300px;
    padding: 20px;
}

/* =========================================
   V4 UNIQUE COMPONENTS (PROGRAM)
========================================= */
.v4-page-header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 100px 20px;
    text-align: center;
    border-bottom: 5px solid var(--accent);
}
.v4-numbered-section {
    padding: 80px 0;
}
.v4-number-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 80px;
    align-items: center;
}
.v4-big-number {
    font-size: 8rem;
    font-weight: 900;
    color: var(--border-color);
    line-height: 0.8;
    opacity: 0.5;
}
.v4-number-content h2 {
    margin-top: -40px;
    position: relative;
    z-index: 2;
}
@media (min-width: 768px) {
    .v4-number-block { grid-template-columns: 1fr 3fr; gap: 40px; }
    .v4-number-block.v4-reverse { grid-template-columns: 3fr 1fr; text-align: right; }
    .v4-number-block.v4-reverse .v4-big-number { text-align: right; }
}
.v4-image-banner {
    position: relative;
}
.v4-full-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.v4-banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 40px;
    max-width: 500px;
}

/* =========================================
   V4 UNIQUE COMPONENTS (MISSION)
========================================= */
.v4-dark-hero {
    background-color: var(--bg-card);
    color: var(--text-light);
    padding: 120px 20px;
    text-align: center;
}
.v4-values-section {
    padding: 100px 0;
}
.v4-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
.v4-img-framed {
    width: 100%;
    border: 15px solid #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.v4-values-list {
    list-style: none;
    margin-top: 30px;
}
.v4-values-list li {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}
@media (min-width: 992px) {
    .v4-values-grid { grid-template-columns: 1fr 1fr; }
}
.v4-manifesto-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
}
.v4-manifesto-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    border: 2px solid var(--accent);
    padding: 60px 40px;
}
.v4-manifesto-box p {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

/* =========================================
   V4 UNIQUE COMPONENTS (CONTACT)
========================================= */
.v4-contact-section {
    padding: 80px 0;
}
.v4-contact-header {
    text-align: center;
    margin-bottom: 50px;
}
.v4-form-wrapper {
    max-width: 800px;
    margin: 0 auto 60px;
    background: #fff;
    padding: 40px;
    border: 1px solid var(--border-color);
}
.v4-form-group {
    margin-bottom: 20px;
}
.v4-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.v4-form-group input,
.v4-form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    font-size: 1rem;
}
.v4-form-group input:focus,
.v4-form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.v4-btn-submit {
    width: 100%;
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 15px;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}
.v4-btn-submit:hover { background: var(--accent); color: var(--bg-dark); }

.v4-contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.v4-contact-card {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 30px;
    text-align: center;
    border-bottom: 4px solid var(--accent);
}
@media (min-width: 768px) {
    .v4-contact-cards { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================
   LEGAL & THANK YOU PAGES
========================================= */
.v4-legal-section {
    padding: 80px 0;
}
.v4-legal-content {
    max-width: 800px;
    margin: 40px 0;
}
.v4-legal-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
}
.v4-thank-section {
    padding: 120px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.v4-thank-box {
    max-width: 600px;
    margin: 0 auto;
}
.v4-next-steps {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}
.v4-thank-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   FOOTER (STRICT TEMPLATE CSS)
========================================= */
.site-footer {
    background-color: #111111 !important;
    color: #FDFBF7 !important;
    padding: 60px 20px 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-logo {
    color: #D4AF37 !important;
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.footer-desc {
    color: #888888 !important;
}
.footer-links h4, .footer-legal h4, .footer-contact h4 {
    color: #FDFBF7 !important;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}
.footer-links a, .footer-legal a, .footer-contact a {
    color: #888888 !important;
    transition: color 0.3s;
}
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
    color: #D4AF37 !important;
}
.footer-contact p {
    color: #888888 !important;
    margin-bottom: 10px;
}
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #2C2C2C !important;
    text-align: center;
    color: #888888 !important;
    font-size: 0.9rem;
}
@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-card);
    color: var(--text-light);
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 16px;
    transform: translateY(0); 
    transition: transform 0.4s ease;
    border-top: 2px solid var(--accent);
}
#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(--accent);
    color: var(--bg-dark);
    border: none;
    padding: 8px 20px;
    font-weight: bold;
    cursor: pointer;
}
.cookie-btn-decline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 8px 20px;
    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; }
}