/*
  Color Palette: Warm Terracotta & Charcoal
  - Dark Background: #181818
  - Lighter Background: #212121
  - Primary Accent: #E57373 (Light Terracotta)
  - Secondary Accent: #BCAAA4 (Muted Beige)
  - Text Color: #F5F5F5
  - Text Muted: #BDBDBD
*/

:root {
    --bg-dark: #181818;
    --bg-light: #212121;
    --color-primary: #E57373;
    --color-secondary: #BCAAA4;
    --text-light: #F5F5F5;
    --text-muted: #BDBDBD;
    --border-color: #424242;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-light);
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: var(--text-muted);
}

.text-center { text-align: center; }
.text-content { max-width: 800px; margin: 0 auto; }

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.9) 0%, rgba(24, 24, 24, 0) 100%);
    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: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--text-light);
}

.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;
}
.desktop-nav a { color: var(--text-light); font-weight: 500; }
.desktop-nav a:hover { color: var(--color-primary); }

.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-light);
}

.mobile-nav ul { list-style: none; padding: 20px; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.mobile-nav a { color: var(--text-light); 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); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 0; /* Sharp */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--bg-dark);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}
.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

/* --- Hero Section (Grid Overlap) --- */
.hero-section-overlap {
    padding: 80px 0;
    overflow: hidden;
}
.hero-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 20px;
}
.hero-image-container {
    position: relative;
    z-index: 1;
}
.hero-image {
    width: 100%;
    object-fit: cover;
    height: 300px; /* Mobile height */
}
.hero-content-overlap {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-dark));
    padding: 30px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
}

@media (min-width: 992px) {
    .hero-grid-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 0;
    }
    .hero-image { height: 500px; }
    .hero-content-overlap {
        transform: translateX(-80px);
        padding: 50px;
    }
}

/* --- Benefits Section (3 Columns) --- */
.benefits-grid-3col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.benefit-card {
    background-color: var(--bg-light);
    padding: 24px;
    border: 1px solid var(--border-color);
}
.benefit-card h3 { color: var(--color-primary); }

@media (min-width: 768px) {
    .benefits-grid-3col { grid-template-columns: repeat(3, 1fr); }
}

/* --- Comparison Table --- */
.comparison-table-wrapper {
    overflow-x: auto;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.comparison-table th, .comparison-table td {
    padding: 12px 16px;
    text-align: center;
    border: 1px solid var(--border-color);
}
.comparison-table th {
    background-color: var(--bg-light);
    color: var(--color-secondary);
}
.comparison-table td { background-color: var(--bg-dark); }
.comparison-table td.check { color: #81C784; font-weight: bold; }
.comparison-table td.cross { color: #E57373; font-weight: bold; }

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(45deg, var(--color-primary), #c65353);
    padding: 60px 0;
    color: var(--bg-dark);
}
.cta-content { text-align: center; }
.cta-content h2 { color: var(--bg-dark); margin-bottom: 0.5rem; }
.cta-content .btn-secondary {
    border-color: var(--bg-dark);
    color: var(--bg-dark);
}
.cta-content .btn-secondary:hover {
    background-color: var(--bg-dark);
    color: var(--color-primary);
}

/* --- Expert Block --- */
.expert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
.expert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.expert-quote blockquote {
    font-size: 1.2rem;
    font-style: italic;
    border-left: 3px solid var(--color-primary);
    padding-left: 20px;
    margin-bottom: 20px;
}
.expert-quote cite {
    display: block;
    color: var(--text-muted);
}
@media (min-width: 768px) {
    .expert-grid { grid-template-columns: 1fr 2fr; }
}

/* --- Checklist Block --- */
.checklist-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px 24px;
}
.checklist-grid li {
    display: flex;
    align-items: center;
}
.checkmark {
    color: var(--color-primary);
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.2rem;
}
@media (min-width: 768px) {
    .checklist-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Program Page (Grid 6 Cards) --- */
.program-grid-6 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.program-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 24px;
}
.program-card h3 { color: var(--color-secondary); }
@media (min-width: 768px) {
    .program-grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .program-grid-6 { grid-template-columns: repeat(3, 1fr); }
}

/* --- Image Feature Section --- */
.image-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
.image-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 768px) {
    .image-feature-grid { grid-template-columns: 1fr 1fr; }
    .image-feature-grid .image-feature-img-container { order: -1; } /* Image on left */
}

/* --- Mission Page (Vertical Storytelling) --- */
.story-image-full img {
    width: 100%;
    height: 40vh;
    object-fit: cover;
}
.story-block {
    max-width: 800px;
    margin: 0 auto;
}
.story-block-left { text-align: left; }
.story-block-right { text-align: left; }
@media (min-width: 992px) {
    .story-block-right { margin-left: auto; margin-right: 0; }
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 0; /* Sharp */
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}
.contact-info-container h3 { color: var(--color-secondary); }
.contact-info-container p { margin-bottom: 1rem; }
@media (min-width: 992px) {
    .contact-layout { grid-template-columns: 3fr 2fr; }
}

/* --- Thank You Page --- */
.thank-you-section { padding: 80px 0; }
.thank-you-next-steps {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}
.thank-you-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--bg-light) !important;
    color: var(--text-muted) !important;
    padding: 50px 0 0 0;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}
.site-footer h4 {
    color: var(--text-light) !important;
    margin-bottom: 15px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: var(--text-muted) !important; }
.site-footer a:hover { color: var(--color-primary) !important; }
.footer-copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--bg-light);
    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; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 0; /* Sharp */
    font-weight: 500;
}
.cookie-btn-accept {
    background-color: var(--color-primary);
    color: var(--bg-dark);
    border: 1px solid var(--color-primary);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}
@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; }
}