/*
 * Design System:
 * design-style: soft-organic
 * border-style: pill
 * shadow-style: flat
 * color-mode: light
 *
 * Color Palette: Pastel Peach & Rose
 * --primary-color: #E5989B (Rose)
 * --secondary-color: #FFB5A7 (Pastel Peach)
 * --background-color: #F8F7F4 (Off-white)
 * --text-color: #5E503F (Dark Brown)
 * --light-accent: #FCD5CE (Lighter Peach)
 * --footer-bg-color: #B5838D (Muted Rose)
 * --footer-text-color: #FFFFFF
 */

:root {
    --primary-color: #E5989B;
    --secondary-color: #FFB5A7;
    --background-color: #F8F7F4;
    --text-color: #5E503F;
    --light-accent: #FCD5CE;
    --footer-bg-color: #B5838D;
    --footer-text-color: #FFFFFF;
    --border-color: #e0d9d1;
}

/* --- Base Styles --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    background-color: var(--background-color);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Georgia", serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 48px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    padding: 15px 10px;
    background-color: var(--background-color);
    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;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--text-color);
}

.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-color);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 50px;
}

.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;
    padding: 8px 0;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    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(--background-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
}

.mobile-nav li a {
    font-size: 18px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #d48285;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- Hero Section (Diagonal) --- */
.hero-diagonal {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    background: linear-gradient(135deg, var(--light-accent) 0%, var(--background-color) 70%);
}

.hero-content {
    padding: 60px 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 550px;
}

.hero-text h1 {
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.hero-image-wrapper {
    width: 100%;
    height: 300px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
    transform: translateY(-30px);
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.benefit-card {
    background-color: white;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid var(--border-color);
}

.benefit-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* --- Comparison Table Section --- */
.comparison-section {
    background-color: var(--light-accent);
}
.comparison-table-wrapper {
    overflow-x: auto;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.comparison-table th, .comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.comparison-table thead th {
    background-color: var(--background-color);
    font-size: 1.1rem;
}
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}
.comparison-table td:nth-child(2), .comparison-table td:nth-child(3) {
    text-align: center;
}
.checkmark { font-size: 1.5rem; color: #6A994E; }
.cross { font-size: 1.5rem; color: #BC4749; }

/* --- Quote Section --- */
.quote-section {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
}
.quote-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.quote-icon {
    font-size: 6rem;
    font-family: 'Georgia', serif;
    position: absolute;
    top: -50px;
    left: -20px;
    opacity: 0.2;
}
.quote-text {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}
.quote-author {
    display: block;
    margin-top: 24px;
    font-size: 1.1rem;
    font-weight: bold;
}

/* --- Numbered Steps Section --- */
.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}
.step-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
}
.step-content p {
    margin: 0;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}
.gallery-item.placeholder {
    background: var(--light-accent);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.8;
}

/* --- Page Header --- */
.page-header-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--light-accent) 100%);
}
.page-title { margin-bottom: 16px; }

/* --- Program Page (Numbered Sections) --- */
.numbered-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 80px;
}
.numbered-section-number-wrapper {
    flex-shrink: 0;
}
.numbered-section-number {
    font-size: 6rem;
    font-weight: 800;
    color: var(--light-accent);
    line-height: 1;
    display: block;
}
.content-image-rounded {
    border-radius: 28px;
    margin-top: 24px;
}

/* --- Mission Page (Vertical Storytelling) --- */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 80px;
}
.story-image img {
    border-radius: 28px;
}
.story-image-placeholder {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px;
    border-radius: 28px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.story-image-placeholder h4 {
    color: white;
    font-size: 2rem;
    text-align: center;
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-form-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: 28px;
    border: 1px solid var(--border-color);
}
.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: 14px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    background-color: var(--background-color);
    box-sizing: border-box;
}
.form-group textarea {
    border-radius: 28px;
    resize: vertical;
}
.contact-details .contact-item {
    margin-bottom: 24px;
}
.contact-details h4 {
    margin-bottom: 4px;
    color: var(--primary-color);
}
.contact-details p {
    margin: 0;
    line-height: 1.5;
}

/* --- Legal Pages --- */
.legal-page h1 { margin-bottom: 16px; }
.legal-page h2 { margin-top: 40px; margin-bottom: 16px; }
.legal-page p, .legal-page ul { margin-bottom: 16px; }
.legal-page ul { padding-left: 20px; }

/* --- Thank You Page --- */
.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--primary-color);
}
.next-steps {
    margin-top: 48px;
    padding: 32px;
    background-color: var(--background-color);
    border-radius: 28px;
    border: 1px solid var(--border-color);
}
.next-steps-links {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 60px 0;
    text-align: center;
    color: white;
}
.cta-container h2 {
    color: white;
    margin-bottom: 16px;
}
.cta-container p {
    max-width: 600px;
    margin: 0 auto 32px;
    opacity: 0.9;
}
.cta-container .btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}
.cta-container .btn-secondary:hover {
    background-color: var(--background-color);
    border-color: var(--background-color);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color) !important;
    padding: 60px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer h4 {
    color: var(--footer-text-color) !important;
    margin-bottom: 16px;
}
.site-footer p, .site-footer address {
    margin: 0;
    font-style: normal;
    opacity: 0.8;
}
.site-footer a {
    color: var(--footer-text-color) !important;
    opacity: 0.8;
}
.site-footer a:hover {
    opacity: 1;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li, .footer-legal li {
    margin-bottom: 8px;
}
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background-color: #333;
    color: white;
    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;
}
#cookie-banner.hidden, #cookie-banner[style*="display: none"] {
    transform: translateY(110%);
}
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner a { color: var(--secondary-color); 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;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept { background-color: var(--primary-color); color: white; }
.cookie-btn-decline { background-color: #555; color: white; }

/* --- Media Queries (Mobile-First) --- */
@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);
    }
}

@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) {
    .section { padding: 80px 0; }
    .container { padding: 0 24px; }
    .hero-diagonal {
        flex-direction: row;
        min-height: auto;
    }
    .hero-content {
        width: 55%;
        padding: 100px 0;
    }
    .hero-image-wrapper {
        width: 45%;
        height: auto;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    }
    .hero-image {
        transform: none;
        border-radius: 0;
    }
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .numbered-section, .numbered-section.reverse {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }
    .numbered-section-content { flex: 1; }
    .numbered-section.reverse .numbered-section-number-wrapper { order: 2; }
    .story-block, .story-block.reverse {
        grid-template-columns: 1fr 1fr;
    }
    .story-block.reverse .story-image { order: -1; }
    .contact-layout {
        grid-template-columns: 3fr 2fr;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}