/* 
  Palette Name: Earthy Vitality
  Colors: #2A5C43 (Forest Green), #D96C4A (Terracotta), #F4F1EA (Warm Sand), #2C2C2C (Deep Charcoal)
*/

:root {
    --primary: #2A5C43;
    --secondary: #D96C4A;
    --bg-color: #F4F1EA;
    --text-dark: #2C2C2C;
    --text-light: #ffffff;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-white { color: var(--text-light); }
.bg-light { background-color: var(--bg-color); }
.bg-dark { background-color: var(--text-dark); }
.bg-green { background-color: var(--primary); }
.bg-terracotta { background-color: var(--secondary); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.content-narrow { max-width: 800px; margin: 0 auto; }

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.text-white h1, .text-white h2, .text-white h3, .text-white p { color: var(--text-light); }

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: 16px; }

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    border: none;
}
.btn-primary {
    background-color: var(--secondary);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: #b85a3d;
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}
.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--text-light);
}
.full-width { width: 100%; }

/* Header & Navigation */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px; /* STRICT REQUIREMENT */
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.desktop-nav .nav-list {
    display: flex;
    gap: 30px;
}
.desktop-nav a {
    font-weight: 500;
}
.desktop-nav a:hover {
    color: var(--secondary);
}

/* Burger Menu Logic */
.menu-checkbox { display: none; }
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.mobile-nav ul {
    flex-direction: column;
}
.mobile-nav a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: flex; }
    #menu-toggle:checked ~ .mobile-nav { display: block; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #menu-toggle:checked ~ .hamburger .line:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Hero Overlap (V3 Unique) */
.hero-overlap-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 40px 20px;
}
.hero-image-wrapper {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(42, 92, 67, 0.9) 0%, rgba(42, 92, 67, 0.4) 100%);
}
.hero-content-box {
    background-color: var(--bg-color);
    padding: 50px;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}
.hero-label {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 4px 12px;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 16px;
    border-radius: 20px;
}
@media (max-width: 768px) {
    .hero-content-box { padding: 30px 20px; }
    .hero-image-wrapper::after { background: rgba(42, 92, 67, 0.8); }
}

/* Asymmetrical Grid */
.asym-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
.asym-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.highlight-card {
    background-color: var(--primary);
    color: white;
}
.highlight-card h3 { color: white; }
@media (min-width: 992px) {
    .asym-grid {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: auto auto;
    }
    .large-card {
        grid-row: 1 / span 2;
    }
}

/* Split Section */
.split-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
.split-image { position: relative; }
.split-image img { border-radius: 8px; }
.image-caption {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 15px 25px;
    font-weight: bold;
    border-radius: 4px;
}
.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}
.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}
@media (min-width: 768px) {
    .split-wrapper { grid-template-columns: 1fr 1fr; }
}

/* Routine Grid */
.routine-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}
.routine-box {
    background: #fff;
    border-left: 4px solid var(--primary);
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.routine-time {
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .routine-grid { grid-template-columns: 1fr 1fr; }
}

/* Quotes */
.quote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.side-quote {
    font-size: 1.25rem;
    font-style: italic;
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    margin: 0;
}
.side-quote cite {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
    font-style: normal;
    color: #aaa;
}
@media (min-width: 768px) {
    .quote-grid { grid-template-columns: 1fr 1fr; }
}

/* Page Header */
.page-header {
    padding: 80px 20px;
}
.subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Zigzag Modules (V3 Unique) */
.zigzag-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
    align-items: start;
}
.zigzag-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--bg-color);
    line-height: 1;
    text-shadow: 2px 2px 0px var(--primary);
}
.zigzag-content h2 {
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 10px;
    display: inline-block;
}
@media (min-width: 768px) {
    .zigzag-row {
        grid-template-columns: 150px 1fr;
        gap: 50px;
    }
    .zigzag-row.reverse {
        grid-template-columns: 1fr 150px;
        text-align: right;
    }
    .zigzag-row.reverse .zigzag-number {
        grid-column: 2;
        grid-row: 1;
    }
    .zigzag-row.reverse .zigzag-content {
        grid-column: 1;
        grid-row: 1;
    }
    .zigzag-row.reverse .zigzag-content h2 {
        border-bottom: none;
        border-right: 2px solid var(--secondary);
        padding-right: 10px;
    }
}
.program-image-break { margin: 60px 0; }
.full-width-rounded { width: 100%; border-radius: 12px; max-height: 400px; object-fit: cover; }

/* FAQ Details */
.faq-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
}
.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.faq-item summary {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
}
.faq-item[open] summary::after { content: '-'; }
.faq-content {
    padding: 0 20px 20px;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 15px;
}

/* Parallax Hero */
.parallax-hero {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}
.parallax-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 44, 44, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Masonry Values */
.value-masonry {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}
.value-item {
    padding: 40px;
    border-radius: 8px;
}
@media (min-width: 768px) {
    .value-masonry {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(150px, auto);
    }
    .v-tall { grid-row: span 2; }
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.info-item { margin-bottom: 20px; }
.custom-form {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 8px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1.5fr; }
}

/* Legal Pages */
.legal-section h2 {
    margin-top: 30px;
    font-size: 1.5rem;
}

/* Thank You */
.success-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    padding: 60px 20px 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3, .footer-col h4 { margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .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;
    background-color: #2C2C2C;
    color: #fff;
    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: 0.9rem; }
#cookie-banner a { color: var(--secondary); 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: 4px; cursor: pointer; font-weight: bold;
}
.cookie-btn-accept { background-color: var(--primary); color: white; }
.cookie-btn-decline { background-color: transparent; border: 1px solid white; color: white; }
@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; }
}