/*
  Design System:
  - design-style: bold-editorial
  - border-style: sharp
  - shadow-style: dramatic
  - color-mode: dark
  - Color Palette (Graphite & Copper): #1A1A1A, #F5F5F5, #B87333, #4A4A4A
*/

:root {
    --color-background: #1A1A1A;
    --color-surface: #2B2B2B;
    --color-text: #F5F5F5;
    --color-text-muted: #a0a0a0;
    --color-primary: #B87333; /* Copper */
    --color-primary-dark: #9A602B;
    --color-secondary: #4A4A4A;
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
    --font-family-heading: 'Georgia', 'Times New Roman', serif;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    background-color: var(--color-background);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); } /* bold-editorial: giant typography */
h2 { font-size: clamp(2rem, 6vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h4 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: 0; } /* sharp */
input, button, textarea, select { font: inherit; border-radius: 0; } /* sharp */

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.section-dark {
    background-color: #111;
}

.text-center { text-align: center; }
.section-intro { max-width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 3rem; }

/* --- Shadows --- */
.dramatic-shadow {
    box-shadow: 0 24px 64px rgba(0,0,0,0.4); /* dramatic */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.dramatic-shadow:hover {
    box-shadow: 0 32px 80px rgba(0,0,0,0.55); /* dramatic */
    transform: translateY(-5px);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-radius: 0; /* sharp */
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-background);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    text-decoration: none;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    z-index: 100;
    color: var(--color-text);
    text-decoration: none;
}

.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;
    margin: 5px 0;
    transition: 0.3s;
    background-color: var(--color-text);
}

.menu-checkbox { display: none; }

.desktop-nav { display: block; }
.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}
.desktop-nav a {
    color: var(--color-text-muted);
    font-weight: bold;
    font-size: 16px;
}
.desktop-nav a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
    background-color: var(--color-surface);
}

.mobile-nav ul { list-style: none; padding: 20px; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid var(--color-secondary); }
.mobile-nav a { color: var(--color-text); 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); }
}

/* --- Hero Section: Grid Overlap --- */
.hero-section.hero-grid-overlap {
    padding: 60px 0;
    overflow: hidden;
}
.hero-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 24px;
}
.hero-image-column {
    position: relative;
    z-index: 1;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content-column {
    position: relative;
    z-index: 2;
}
.hero-content-card {
    background-color: var(--color-surface);
    padding: clamp(2rem, 5vw, 4rem);
}
.hero-title { margin-bottom: 1.5rem; }
.hero-subtitle { color: var(--color-text-muted); margin-bottom: 2rem; }

@media (min-width: 992px) {
    .hero-grid-container {
        grid-template-columns: 1fr 1fr;
    }
    .hero-content-column {
        transform: translateX(-80px); /* Overlap effect */
    }
}

/* --- Benefits Timeline Section --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after { /* The line */
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-primary);
    top: 0;
    bottom: 0;
    left: 15px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: transparent;
    margin-left: 30px;
    margin-bottom: 50px;
}
.timeline-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    left: -28px;
    top: 0;
    background-color: var(--color-background);
    border: 3px solid var(--color-primary);
    z-index: 1;
    border-radius: 50%;
}
.timeline-content {
    padding: 30px;
    background-color: var(--color-surface);
    position: relative;
}
.timeline-content h3 {
    color: var(--color-primary);
}

/* --- Numbered Steps Section --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.step-card {
    border: 2px solid var(--color-secondary);
    padding: 30px;
    transition: border-color 0.3s ease;
}
.step-card:hover {
    border-color: var(--color-primary);
}
.step-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: var(--font-family-heading);
}

@media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Expert Block --- */
.expert-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.expert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.expert-quote-container blockquote {
    border-left: 5px solid var(--color-primary);
    padding-left: 2rem;
    margin: 0;
    font-style: italic;
    font-size: 1.2rem;
}
.expert-quote-container cite {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--color-text);
    font-style: normal;
}
.expert-quote-container span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .expert-block { grid-template-columns: 1fr 2fr; }
}

@media (max-width: 768px) {
    .tab-button {
        width: 100%;
        text-align: center;
    }
}

/* --- CTA Banner --- */
.cta-banner-section {
    background-color: var(--color-primary);
    padding: 60px 24px;
}
.cta-banner-section * { color: var(--color-background) !important; }
.cta-banner-section .btn-secondary {
    border-color: var(--color-background);
    color: var(--color-background);
}
.cta-banner-section .btn-secondary:hover {
    background-color: var(--color-background);
    color: #fff !important;
}
.cta-title { font-size: clamp(2rem, 5vw, 3rem); }

/* --- Accordion FAQ --- */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--color-secondary);
    margin-bottom: 10px;
}
.faq-question {
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text);
}
.faq-question::after {
    content: '+';
    font-size: 2rem;
    transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 20px 20px;
    background-color: var(--color-surface);
}

/* --- Program Page: Horizontal Tabs --- */
.tabs-container {
    display: flex;
    flex-direction: column;
}
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--color-secondary);
}
.tab-button {
    padding: 15px 25px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-weight: bold;
    font-size: 1rem;
    position: relative;
}
.tab-button.active {
    color: var(--color-primary);
}
.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-primary);
}
.tab-content {
    display: none;
    padding: 40px 0;
}
.tab-content.active {
    display: block;
}
.tab-content-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
@media (min-width: 768px) {
    .tab-content-layout { grid-template-columns: 2fr 1fr; }
}

/* --- Mission Page: Grid Values --- */
.mission-intro-layout {
    display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 768px) {
    .mission-intro-layout { grid-template-columns: 3fr 2fr; }
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    background-color: var(--color-surface);
    padding: 40px;
    text-align: center;
}
.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--color-primary);
}
.value-icon svg { width: 100%; height: 100%; }
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 992px) {
    .contact-layout { grid-template-columns: 3fr 2fr; }
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: bold; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--color-surface);
    border: 2px solid var(--color-secondary);
    color: var(--color-text);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}
.contact-info-card {
    background-color: var(--color-surface);
    padding: 30px;
    height: 100%;
}
.contact-info-item { margin-bottom: 20px; }
.contact-info-item h4 { color: var(--color-primary); margin-bottom: 5px; }

/* --- Legal & Thank You Pages --- */
.section-legal .container { max-width: 800px; }
.section-legal ul { list-style: disc; padding-left: 20px; margin-bottom: 1.5rem; }
.section-legal li { margin-bottom: 0.5rem; }
.thank-you-section { padding: 100px 0; }
.thank-you-actions { margin-top: 40px; }
.action-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 20px; }

/* --- Footer --- */
.site-footer {
    background-color: #111 !important; /* !important to prevent translator overrides */
    color: var(--color-text-muted) !important;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-column h4 { color: var(--color-text); }
.footer-column ul li { margin-bottom: 10px; }
.footer-column a { color: var(--color-text-muted); }
.footer-column a:hover { color: var(--color-primary); }
.footer-bottom {
    border-top: 1px solid var(--color-secondary);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}
@media (min-width: 600px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}


/* --- 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;
    background-color: var(--color-surface);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; color: var(--color-text-muted); }
#cookie-banner a { color: var(--color-primary); font-weight: bold; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-accept { background-color: var(--color-primary); color: var(--color-background); border: none; padding: 10px 20px; cursor: pointer; }
.cookie-btn-decline { background-color: var(--color-secondary); color: var(--color-text); border: none; padding: 10px 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; }
}