/* Warm Vintage Palette: Terracotta & Earth */
:root {
    --primary-color: #A54A2A; /* A warm, deep terracotta */
    --secondary-color: #D48C6A; /* A lighter, complementary terracotta */
    --background-color: #F5EFE6; /* A warm, creamy off-white */
    --text-dark-color: #3D2B1F; /* A rich, dark brown */
    --text-light-color: #FFFFFF;
    --border-color: #D3C5B5; /* A soft, earthy beige for borders */
    --accent-color: #E4A951; /* A muted gold for highlights */

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark-color);
    background-color: var(--background-color);
    background-image: repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(61, 43, 31, 0.02) 7px, rgba(61, 43, 31, 0.02) 8px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin: 0 0 16px 0;
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }

p {
    margin: 0 0 16px 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    padding-left: 20px;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark-color);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Header --- */
.site-header {
    background-color: var(--background-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 15px 10px;
}

.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;
    font-family: var(--font-heading);
    color: var(--text-dark-color);
    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(--text-dark-color); 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; font-size: 1rem; }

.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;
    background-color: var(--background-color); z-index: 99;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.mobile-nav a { display: block; width: 100%; font-size: 1.1rem; }

@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 32px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light-color);
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light-color);
}

/* --- Hero Section (Circle Image) --- */
.hero-circle {
    padding: 80px 0;
}
.hero-circle-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 32px;
}
.hero-content {
    text-align: center;
}
.hero-content .subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px auto;
}
.hero-image-wrapper {
    display: flex;
    justify-content: center;
}
.hero-circle-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--background-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
    .hero-circle-container {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
    .hero-content {
        text-align: left;
    }
    .hero-content .subtitle {
        margin-left: 0;
    }
    .hero-circle-image {
        width: 400px;
        height: 400px;
    }
}

/* --- Benefits Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background-color: var(--border-color);
    border-radius: 3px;
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
}
.timeline-icon {
    position: absolute;
    left: -24px;
    top: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid var(--background-color);
}
.timeline-title {
    color: var(--primary-color);
}

/* --- Expert Block --- */
.expert-block-section {
    background-color: rgba(212, 140, 106, 0.1);
}
.expert-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.expert-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 auto;
}
.expert-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 24px;
    margin: 0 0 16px 0;
}
.expert-quote cite {
    font-style: normal;
    display: block;
    text-align: right;
}
@media (min-width: 768px) {
    .expert-container { grid-template-columns: 150px 1fr; }
    .expert-photo-placeholder { margin: 0; }
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.gallery-item img {
    border-radius: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-placeholder {
    background-color: var(--secondary-color);
    color: var(--text-light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    border-radius: 28px;
    min-height: 250px;
}
@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid .gallery-item:last-child { grid-column: 1 / -1; }
}

/* --- CTA Banner --- */
.cta-banner-section {
    background-color: var(--primary-color);
    color: var(--text-light-color);
    padding: 64px 0;
    text-align: center;
}
.cta-banner-section h2 {
    color: var(--text-light-color);
}
.cta-banner-section p {
    max-width: 600px;
    margin: 0 auto 32px auto;
    opacity: 0.9;
}
.cta-banner-section .btn-secondary {
    background-color: var(--text-light-color);
    color: var(--primary-color);
    border-color: var(--text-light-color);
}
.cta-banner-section .btn-secondary:hover {
    background-color: transparent;
    color: var(--text-light-color);
}

/* --- Checklist Block --- */
.checklist-block {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px 32px;
}
.checklist-block li {
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}
.checkmark {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 12px;
    line-height: 1;
}
@media (min-width: 768px) {
    .checklist-block { grid-template-columns: 1fr 1fr; }
}

/* --- Program Page: Numbered Sections --- */
.page-header-section { text-align: center; }
.page-title { margin-bottom: 16px; }
.page-subtitle { max-width: 700px; margin: 0 auto; }

.numbered-section {
    position: relative;
    padding-left: 0;
    margin-bottom: 64px;
}
.numbered-section-number {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    color: var(--border-color);
    opacity: 0.7;
    z-index: -1;
}
.numbered-section-content {
    padding-top: 16px;
}
.numbered-section-title {
    margin-bottom: 24px;
}
.inline-image {
    border-radius: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    .numbered-section { padding-left: 100px; }
    .numbered-section-number { left: 0; }
    .inline-image {
        float: right;
        width: 40%;
        margin-left: 24px;
    }
}

/* --- Mission Page: Split Layout & Values --- */
.split-layout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
.split-layout-image img {
    border-radius: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
@media (min-width: 992px) {
    .split-layout-container { grid-template-columns: 1fr 1.2fr; }
}

.values-section { background-color: rgba(212, 140, 106, 0.05); }
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    background-color: var(--background-color);
    padding: 32px;
    border-radius: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid var(--border-color);
}
.value-title { color: var(--primary-color); }
@media (min-width: 768px) {
    .values-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Contact Page --- */
.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-form-wrapper, .contact-info-wrapper {
    background-color: var(--background-color);
    padding: 32px;
    border-radius: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.form-title, .info-title { margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
}
.form-group textarea { border-radius: 28px; }
.form-submit-btn { width: 100%; }
.contact-info-block { margin-bottom: 24px; }
.contact-info-block h3 { font-size: 1.2rem; }
.contact-info-block p { margin: 0; }
@media (min-width: 992px) {
    .contact-page-layout { grid-template-columns: 60% 1fr; }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--text-dark-color) !important;
    color: var(--text-light-color) !important;
    padding: 48px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
}
.site-footer h3 { color: var(--text-light-color) !important; }
.site-footer a { color: var(--secondary-color) !important; }
.site-footer a:hover { color: var(--text-light-color) !important; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
    background-color: rgba(0,0,0,0.2) !important;
    padding: 16px 0;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }
@media (min-width: 768px) {
    .footer-container { grid-template-columns: 2fr 1fr 1fr; }
}

/* --- Policy & Thank You Pages --- */
.policy-page h1, .policy-page h2 { margin-top: 32px; }
.thank-you-section { text-align: center; padding: 80px 0; }
.thank-you-icon { font-size: 4rem; margin-bottom: 16px; }
.thank-you-content p { max-width: 600px; margin-left: auto; margin-right: auto; }
.next-steps { margin-top: 48px; }
.next-steps-links { display: flex; justify-content: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.back-to-home { display: inline-block; margin-top: 48px; }

/* --- 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(--text-dark-color); color: var(--text-light-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#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-color) !important; text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px; border: none; font-weight: 500; cursor: pointer;
    border-radius: 50px; transition: background-color 0.3s;
}
.cookie-btn-accept { background-color: var(--primary-color); color: var(--text-light-color); }
.cookie-btn-accept:hover { background-color: var(--secondary-color); }
.cookie-btn-decline { background-color: transparent; color: var(--text-light-color); border: 1px solid var(--border-color); }
.cookie-btn-decline:hover { background-color: rgba(255,255,255,0.1); }
@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; }
}