/*
  Theme: Bold Editorial
  Color Palette: Graphite & Copper
*/

:root {
    --color-background: #F8F5F2; /* Light Cream */
    --color-surface: #FFFFFF;
    --color-text: #1A1A1A; /* Graphite Black */
    --color-primary: #B87333; /* Copper */
    --color-secondary: #4A4A4A; /* Dark Gray */
    --font-family-headings: 'Georgia', 'Times New Roman', serif;
    --font-family-body: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    font-family: var(--font-family-headings);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
}

.section-light {
    background-color: var(--color-background);
}

.section-surface {
    background-color: var(--color-surface);
}

.section-accent {
    background-color: var(--color-primary);
    color: var(--color-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 12px;
}

.page-title {
    font-size: clamp(36px, 6vw, 64px);
    text-align: center;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--color-secondary);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-header-section {
    padding: 48px 0;
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-surface);
    border-bottom: 1px solid #e0e0e0;
}

.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;
}

.logo:hover {
    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;
    background-color: var(--color-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(--color-secondary);
    font-weight: 600;
    font-size: 16px;
}

.desktop-nav a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; /* Adjust based on header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
    background-color: var(--color-surface);
}

.mobile-nav ul {
    list-style: none;
    padding: 10px 20px 20px;
}

.mobile-nav li {
    text-align: center;
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
}

@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: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-surface);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #a0642b;
    border-color: #a0642b;
    color: var(--color-surface);
    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-surface);
    text-decoration: none;
}

.btn-full-width {
    display: block;
    width: 100%;
}

/* --- Hero Section (Asymmetric) --- */
.hero-asymmetric {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    background-color: var(--color-surface);
}

.hero-asymmetric-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.hero-title-giant {
    font-size: clamp(48px, 9vw, 90px);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--color-secondary);
    max-width: 550px;
    margin-bottom: 32px;
}

.hero-asymmetric-image-wrapper {
    position: relative;
    min-height: 300px;
}

.hero-asymmetric-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-asymmetric-container {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
    .hero-asymmetric-image-wrapper {
        position: absolute;
        top: 0;
        right: -20%;
        width: 60%;
        height: 100%;
    }
}

/* --- Benefits 2x2 Grid --- */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.benefit-card-sharp {
    background-color: var(--color-surface);
    padding: 32px;
    border: 1px solid #e0e0e0;
}

.card-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.card-text {
    color: var(--color-secondary);
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Quote Highlight Section --- */
.quote-container {
    position: relative;
    padding: 48px 24px;
    text-align: center;
}

.quote-icon {
    font-size: 100px;
    font-family: var(--font-family-headings);
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.quote-text {
    font-size: clamp(22px, 4vw, 32px);
    font-family: var(--font-family-headings);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
}

/* --- 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: 16px;
    text-align: left;
    border: 1px solid #ddd;
}
.comparison-table thead {
    background-color: var(--color-secondary);
    color: var(--color-surface);
}
.comparison-table th {
    font-size: 18px;
}
.comparison-table tbody tr:nth-child(even) {
    background-color: var(--color-surface);
}
.comparison-table .positive {
    color: #27ae60;
    font-weight: bold;
}
.comparison-table .negative {
    color: #c0392b;
    font-weight: bold;
}

/* --- Checklist Block --- */
.checklist-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.checklist {
    list-style: none;
}
.checklist li {
    font-size: 18px;
    padding-left: 36px;
    position: relative;
    margin-bottom: 12px;
}
.checklist li::before {
    content: '✓';
    color: var(--color-primary);
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: -2px;
}
@media (min-width: 768px) {
    .checklist-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* --- Testimonials Vertical Stack --- */
.testimonials-vertical-stack {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
}
.testimonial-item {
    background-color: var(--color-surface);
    border: 1px solid #eee;
    padding: 24px;
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.testimonial-avatar-placeholder {
    width: 50px;
    height: 50px;
    background-color: #ccc;
    border-radius: 50%;
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: bold;
    margin: 0;
}
.testimonial-rating {
    color: var(--color-primary);
}
.testimonial-text {
    font-style: italic;
    color: var(--color-secondary);
}

/* --- Program Page: 6-Card Grid --- */
.program-grid-6cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.program-card {
    background-color: var(--color-surface);
    border: 1px solid #e0e0e0;
    padding: 24px;
}
@media (min-width: 768px) {
    .program-grid-6cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .program-grid-6cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Image Integration Section --- */
.image-text-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.integrated-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 768px) {
    .image-text-split {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* --- Mission Page: Split Layout --- */
.mission-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
@media (min-width: 992px) {
    .mission-split-layout {
        grid-template-columns: 40% 1fr;
        gap: 64px;
    }
}
.mission-split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Values List --- */
.values-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-item {
    background: var(--color-surface);
    padding: 24px;
    border-left: 4px solid var(--color-primary);
}
.value-item h3 {
    margin-bottom: 8px;
}
@media (min-width: 768px) {
    .values-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Contact Page --- */
.contact-layout-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
@media (min-width: 992px) {
    .contact-layout-split {
        grid-template-columns: 60% 1fr;
    }
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: inherit;
    font-size: 16px;
}
.contact-info-wrapper .section-title {
    text-align: left;
}
.contact-detail-item {
    margin-bottom: 20px;
}
.contact-detail-item strong {
    display: block;
    color: var(--color-text);
}
.contact-detail-item p {
    margin: 4px 0 0;
    color: var(--color-secondary);
}

/* --- Legal & Thank You Pages --- */
.legal-container {
    max-width: 800px;
}
.legal-container h2 {
    margin-top: 32px;
    margin-bottom: 12px;
}
.legal-container p, .legal-container ul {
    margin-bottom: 16px;
}
.legal-container ul {
    padding-left: 20px;
}
.thank-you-section {
    padding: 80px 0;
}
.thank-you-actions {
    margin-top: 32px;
}
.explore-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.explore-link-card {
    background-color: var(--color-surface);
    border: 1px solid #e0e0e0;
    padding: 24px;
}
.explore-link-card h3 {
    margin-bottom: 8px;
}
.link-arrow {
    font-weight: bold;
    display: inline-block;
    margin-top: 16px;
}
@media (min-width: 768px) {
    .explore-links {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Footer --- */
.site-footer {
    background-color: #111 !important; /* Force color for translators */
    color: #ccc !important;
    padding: 64px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-column h3 {
    color: var(--color-surface) !important;
    font-size: 20px;
    margin-bottom: 16px;
}
.footer-column p {
    color: #ccc !important;
}
.footer-nav {
    list-style: none;
}
.footer-nav li {
    margin-bottom: 10px;
}
.footer-nav a, .footer-column a {
    color: #ccc !important;
}
.footer-nav a:hover, .footer-column a:hover {
    color: var(--color-primary) !important;
    text-decoration: underline;
}
.footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    padding: 24px 0;
    margin-top: 48px;
}
.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #888 !important;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .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;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--color-text);
    color: var(--color-surface);
    border-top: 2px solid var(--color-primary);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#cookie-banner a { color: var(--color-primary); font-weight: bold; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border-radius: 0;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}
.cookie-btn-accept {
    background-color: var(--color-primary);
    color: var(--color-surface);
    border: 1px solid var(--color-primary);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--color-surface);
    border: 1px solid var(--color-surface);
}
@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; }
}