/* Palette: Graphite-Amber-Gray */
:root {
    --dark-bg: #121212;
    --secondary-bg: #1E1E1E;
    --light-text: #EAEAEA;
    --secondary-text: #A0A0A0;
    --accent-color: #F0A55A;
    --accent-hover: #D89047;
    --border-color: #333333;
    --font-primary: 'Roboto', sans-serif;
    --font-headings: 'Playfair Display', serif;
    --border-radius-card: 12px;
    --border-radius-btn: 8px;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.7;
    font-size: clamp(16px, 1.5vw, 18px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

h1, h2, h3, h4 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    text-align: center;
    margin-bottom: 48px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 14px;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    font-family: var(--font-headings);
    z-index: 100;
    color: var(--light-text);
}

.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(--light-text);
    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;
}

.desktop-nav a {
    color: var(--light-text);
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 71px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--secondary-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    color: var(--light-text);
    font-size: 18px;
    display: block;
    width: 100%;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--border-radius-btn);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    min-height: 48px;
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* --- Hero Section (Grid Overlap) --- */
.hero-overlap {
    padding: 80px 0;
    overflow: hidden;
}

.hero-overlap-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 32px;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-card);
}

.hero-content-container {
    position: relative;
    background-color: var(--secondary-bg);
    padding: clamp(24px, 5vw, 48px);
    border-radius: var(--border-radius-card);
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: clamp(40px, 9vw, 60px);
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--light-text);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--secondary-text);
    margin-bottom: 32px;
    max-width: 600px;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.benefit-card {
    background-color: var(--secondary-bg);
    padding: 32px;
    border-radius: var(--border-radius-card);
    border: 1px solid var(--border-color);
}

.card-title {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.card-text {
    color: var(--secondary-text);
}

/* --- CTA Banner Section --- */
.cta-final {
    text-align: center;
}
.cta-banner-section {
    background-color: var(--accent-color);
    padding: 60px 0;
    color: var(--dark-bg);
}

.cta-banner-content {
    text-align: center;
}

.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
}

.cta-text {
    margin-bottom: 32px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-banner-section .btn-secondary {
    background-color: var(--dark-bg);
    color: var(--light-text);
    border-color: var(--dark-bg);
}
.cta-banner-section .btn-secondary:hover {
    background-color: #000;
}

/* --- Numbered Steps Section --- */
.numbered-steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.step-number {
    font-size: clamp(48px, 10vw, 72px);
    font-weight: 900;
    font-family: var(--font-headings);
    color: var(--border-color);
    line-height: 1;
}
.step-title {
    font-size: 22px;
    color: var(--accent-color);
}

/* --- Expert Block Section --- */
.expert-section {
    background-color: var(--secondary-bg);
}
.expert-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.expert-image-wrapper {
    max-width: 250px;
    margin: 0 auto;
}
.expert-image {
    border-radius: var(--border-radius-card);
    width: 100%;
}
.expert-quote {
    font-size: clamp(20px, 3vw, 28px);
    font-family: var(--font-headings);
    font-style: italic;
    margin-bottom: 24px;
    border-left: 4px solid var(--accent-color);
    padding-left: 24px;
}
.expert-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--light-text);
}
.expert-title {
    color: var(--secondary-text);
}

/* --- Quote Highlight Section --- */
.quote-highlight-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
}
.quote-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.quote-symbol {
    font-size: 100px;
    font-family: var(--font-headings);
    color: var(--accent-color);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
}
.quote-text {
    font-size: clamp(24px, 4vw, 36px);
    font-family: var(--font-headings);
    font-style: italic;
    margin-bottom: 24px;
}
.quote-author {
    font-weight: 500;
    color: var(--secondary-text);
}

/* --- Page Header --- */
.page-header-section {
    text-align: center;
    padding: 80px 0;
    background-color: var(--secondary-bg);
    position: relative;
}
.page-header-section.with-image {
    padding: 120px 0;
}
.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}
.page-header-section .container {
    position: relative;
    z-index: 1;
}
.page-title {
    font-size: clamp(40px, 7vw, 64px);
}
.page-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--secondary-text);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Program Page: Numbered Sections --- */
.numbered-content-section .numbered-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
}
.number-badge {
    font-size: 80px;
    font-family: var(--font-headings);
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    flex-shrink: 0;
}
.content-block p {
    margin-bottom: 1rem;
    color: var(--secondary-text);
}
.content-title {
    font-size: clamp(28px, 4vw, 36px);
}
.image-feature-section {
    margin: 60px 0;
}
.feature-image {
    border-radius: var(--border-radius-card);
}

/* --- Mission Page: Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 25px;
}
.timeline-item {
    padding: 10px 40px 30px 80px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--dark-bg);
    border: 3px solid var(--accent-color);
    top: 24px;
    left: 18px;
    z-index: 1;
}
.timeline-date {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-headings);
    color: var(--accent-color);
    margin-bottom: 8px;
}
.timeline-title {
    font-size: 20px;
}
.timeline-content p {
    color: var(--secondary-text);
}
.manifesto-section {
    background-color: var(--secondary-bg);
    text-align: center;
}
.manifesto-content p {
    font-size: clamp(18px, 2vw, 24px);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.form-title, .info-title {
    font-size: 28px;
    margin-bottom: 24px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-text);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-btn);
    color: var(--light-text);
    font-family: var(--font-primary);
    font-size: 16px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}
.contact-info-wrapper .info-block {
    margin-bottom: 24px;
}
.info-heading {
    font-size: 18px;
    color: var(--accent-color);
}

/* --- Legal & Thank You Pages --- */
.legal-content h1, .legal-content h2, .legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.legal-content p, .legal-content li {
    color: var(--secondary-text);
    margin-bottom: 1rem;
}
.legal-content ul {
    padding-left: 20px;
}
.thank-you-section {
    padding: 100px 0;
}
.text-center {
    text-align: center;
}
.thank-you-title {
    font-size: clamp(40px, 7vw, 64px);
    color: var(--accent-color);
}
.thank-you-text {
    max-width: 600px;
    margin: 0 auto 40px;
}
.next-steps h2 {
    font-size: 24px;
    margin-bottom: 24px;
}
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
    background-color: #000000 !important;
    color: #A0A0A0 !important;
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-heading {
    font-size: 18px;
    color: #EAEAEA !important;
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a, .footer-column a {
    color: #A0A0A0 !important;
}
.footer-links a:hover, .footer-column a:hover {
    color: var(--accent-color) !important;
}
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border-radius: var(--border-radius-btn);
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.cookie-btn-accept {
    background-color: var(--accent-color);
    color: var(--dark-bg);
}
.cookie-btn-decline {
    background-color: var(--border-color);
    color: var(--light-text);
}

/* --- Media Queries (Mobile-First) --- */

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger,
    .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); }
}

@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; }
}

@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .numbered-steps-container { grid-template-columns: repeat(2, 1fr); }
    .expert-container { grid-template-columns: 250px 1fr; }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr 1fr; }
    .numbered-content-section .numbered-item {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }
    .numbered-content-section .numbered-item.reverse {
        flex-direction: row-reverse;
    }
    .timeline::after { left: 50%; transform: translateX(-50%); }
    .timeline-item { width: 50%; padding: 10px 40px; }
    .timeline-item:nth-child(odd) { left: 0; text-align: right; padding-right: 70px; }
    .timeline-item:nth-child(even) { left: 50%; padding-left: 70px; }
    .timeline-item::before { display: none; }
    .timeline-item:nth-child(odd)::before { margin-left: -8px; }
    .timeline-item:nth-child(even)::before { margin-left: -8px; }
}

@media (min-width: 1024px) {
    .hero-overlap-grid { grid-template-columns: 1fr 1fr; }
    .hero-content-container {
        transform: translateX(-80px);
        z-index: 2;
    }
    .footer-container { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}