/*
  Theme: Warm Vintage
  Palette Name: Earthy Terracotta
  - Primary: #A0522D (Sienna)
  - Secondary: #D2B48C (Tan)
  - Accent: #8B4513 (SaddleBrown)
  - Background: #FDF5E6 (OldLace)
  - Text: #4a4a4a
*/

:root {
    --primary-color: #A0522D;
    --secondary-color: #D2B48C;
    --accent-color: #8B4513;
    --bg-light: #FDF5E6;
    --bg-accent: #EADDCA;
    --text-dark: #4a4a4a;
    --text-light: #FFFFFF;
    --border-color: #DCDCDC;
    --shadow-color: rgba(0, 0, 0, 0.07);
}

/* --- Global Styles & Resets --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    background-image: repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(139, 69, 19, 0.04) 7px, rgba(139, 69, 19, 0.04) 8px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

p {
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style-position: inside;
    padding-left: 20px;
}

/* --- Layout & Container --- */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 48px 0;
}

.section-light {
    background-color: transparent;
}

.section-accent {
    background-color: var(--bg-accent);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: clamp(16px, 3vw, 18px);
    max-width: 700px;
    margin: 0 auto;
    color: #6c757d;
}

.text-center {
    text-align: center;
}

/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-light);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    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: 28px;
    font-weight: bold;
    z-index: 100;
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
}
.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(--accent-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-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px; /* header height */
    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);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav li:last-child {
    border-bottom: none;
}
.mobile-nav a {
    font-size: 18px;
    color: var(--accent-color);
}

@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;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 0; /* sharp */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
}

/* --- Hero Section (Asymmetric) --- */
.hero-section-asymmetric {
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}
.hero-asymmetric-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 32px;
}
.hero-asymmetric-content {
    z-index: 2;
}
.hero-title-asymmetric {
    font-size: clamp(36px, 6vw, 56px);
}
.hero-subtitle-asymmetric {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 32px;
    max-width: 550px;
}
.hero-asymmetric-image-wrapper {
    position: relative;
}
.hero-asymmetric-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 4px 15px var(--shadow-color);
}

@media (min-width: 992px) {
    .hero-asymmetric-container {
        grid-template-columns: 1fr 1fr;
    }
    .hero-asymmetric-image-wrapper {
        margin-right: -20%; /* Asymmetric overflow */
    }
}

/* --- Benefits Grid 2x2 --- */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.benefit-card-vintage {
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: 0 2px 12px var(--shadow-color);
}
.card-title {
    font-size: 22px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Quote Highlight Section --- */
.quote-highlight-section {
    padding: 60px 0;
    text-align: center;
}
.quote-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.quote-symbol {
    font-size: 100px;
    color: var(--secondary-color);
    font-family: 'Times New Roman', Times, serif;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}
.quote-text {
    font-size: clamp(22px, 4vw, 28px);
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.quote-author {
    font-size: 16px;
    font-weight: bold;
    color: var(--accent-color);
}

/* --- Stats Bar Section --- */
.stats-bar {
    background-color: var(--accent-color);
    padding: 32px 0;
}
.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.stat-item {
    text-align: center;
    color: var(--text-light);
}
.stat-number {
    display: block;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: bold;
}
.stat-label {
    display: block;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
}

/* --- Two Column Image Section --- */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.two-col-image img {
    box-shadow: 0 4px 15px var(--shadow-color);
}
.styled-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}
.styled-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}
.styled-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

@media (min-width: 768px) {
    .two-col-layout {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- CTA Banner Section --- */
.cta-banner-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}
.cta-title {
    color: var(--text-light);
    font-size: clamp(28px, 5vw, 36px);
}
.cta-subtitle {
    margin-bottom: 24px;
    font-size: 18px;
    opacity: 0.9;
}
.cta-banner-section .btn-secondary {
    background-color: var(--text-light);
    color: var(--primary-color);
}
.cta-banner-section .btn-secondary:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* --- Page Header --- */
.page-header-section {
    background-color: var(--bg-accent);
    text-align: center;
    padding: 60px 0;
}
.page-title {
    font-size: clamp(32px, 6vw, 48px);
}
.page-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Program: Numbered Sections --- */
.numbered-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
    align-items: center;
}
.numbered-section-number {
    font-size: 100px;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
    flex-shrink: 0;
}
.numbered-section-title {
    font-size: 28px;
}

@media (min-width: 768px) {
    .numbered-section {
        flex-direction: row;
        text-align: left;
    }
    .numbered-section.reverse {
        flex-direction: row-reverse;
        text-align: right;
    }
    .numbered-section-number {
        font-size: 150px;
    }
}

/* --- Mission: Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    border: 2px solid var(--secondary-color);
    padding: 24px;
    background-color: #fff;
}
.value-title {
    font-size: 22px;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Mission: Image BG Section --- */
.section-image-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    color: var(--text-light);
}
.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 1;
}
.content-over-bg {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}
.section-title-light {
    color: var(--text-light);
}
.section-subtitle-light {
    color: var(--text-light);
    opacity: 0.9;
}

/* --- 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;
    font-weight: bold;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 0; /* sharp */
    font-family: 'Lato', sans-serif;
    font-size: 16px;
}
.btn-full {
    width: 100%;
}
.contact-info-wrapper {
    background-color: var(--bg-accent);
    padding: 24px;
}
.contact-detail-item {
    margin-bottom: 24px;
}
.contact-detail-item h4 {
    margin-bottom: 4px;
}
.contact-detail-item p {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 60% 40%;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-content h1, .legal-content h2 {
    margin-top: 24px;
    margin-bottom: 12px;
}
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-content {
    margin: 40px 0;
}
.thank-you-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}
.thank-you-link-card {
    border: 1px solid var(--border-color);
    padding: 20px;
    transition: all 0.3s ease;
}
.thank-you-link-card:hover {
    text-decoration: none;
    box-shadow: 0 4px 15px var(--shadow-color);
    transform: translateY(-5px);
}
@media (min-width: 768px) {
    .thank-you-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--accent-color) !important;
    color: var(--text-light) !important;
    padding: 48px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
}
.site-footer h3, .site-footer p, .site-footer a, .site-footer li {
    color: var(--text-light) !important;
}
.footer-title {
    font-size: 18px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 8px;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
}
.footer-links li, .footer-legal li {
    margin-bottom: 8px;
}
.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 600px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .footer-container { grid-template-columns: repeat(4, 1fr); }
}

/* --- 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: var(--text-light);
    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: 14px; }
#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-radius: 0; /* sharp */
    cursor: pointer;
    border: 1px solid var(--text-light);
    font-size: 14px;
}
.cookie-btn-accept {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border-color: var(--secondary-color);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-light);
}
@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; }
}