/* sienna-gold palette */
/* --color-primary: #5C2B0E; */
/* --color-secondary: #7D3A16; */
/* --color-accent: #C9A227; */
/* --bg-tint: #FEF3EC; */

:root {
    --color-primary: #5C2B0E;
    --color-secondary: #7D3A16;
    --color-accent: #C9A227;
    --bg-tint: #FEF3EC;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --border-light: #e0e0e0;
    --border-dark: #444;
}

/* --- Global & Typography --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    background-color: var(--bg-tint);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
p { font-size: clamp(1rem, 2.5vw, 1.1rem); margin-bottom: 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--color-accent); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Layout & Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
}

.section-dark {
    background-color: var(--color-secondary);
    color: var(--text-light);
}

.section-dark a {
    color: var(--color-accent);
}

.section-dark a:hover {
    color: var(--text-light);
}

.section-dark h1, .section-dark h2, .section-dark h3 {
    color: var(--text-light);
}

.cta-section {
    text-align: center;
}

.section-light {
    background-color: var(--bg-tint);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
    opacity: 0.9;
}

.section-title-left {
    text-align: left;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-tint);
    border-bottom: 1px solid var(--border-light);
}

.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(--color-primary);
}

.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-primary);
    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 .nav-list a {
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

.desktop-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.desktop-nav .nav-list a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
    background-color: var(--bg-tint);
}

.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-light);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

@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;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}

/* --- Hero Section (split-color) --- */
.hero-split-color {
    display: flex;
    min-height: 80vh;
    width: 100%;
    flex-direction: column;
}
.hero-content-part {
    flex: 1;
    background-color: var(--bg-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}
.hero-text-wrapper {
    max-width: 600px;
    text-align: center;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    margin: 24px 0 32px;
    opacity: 0.8;
}
.hero-image-part {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 300px;
}
@media (min-width: 768px) {
    .hero-split-color {
        flex-direction: row;
        min-height: 90vh;
    }
    .hero-content-part, .hero-image-part {
        width: 50%;
        flex: none;
    }
    .hero-text-wrapper {
        text-align: left;
    }
}

/* --- Benefits Section (3-col) --- */
.benefits-grid-3col {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
.benefit-card {
    background-color: rgba(0,0,0,0.1);
    padding: 32px;
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.30);
}
.card-title {
    color: var(--color-accent);
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .benefits-grid-3col { grid-template-columns: repeat(3, 1fr); }
}

/* --- Checklist Block --- */
.checklist-container {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}
.checklist {
    list-style: none;
}
.checklist li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.checkmark {
    color: var(--color-primary);
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.5rem;
    line-height: 1;
}
@media (min-width: 768px) {
    .checklist-container { grid-template-columns: 1fr 1fr; }
}

/* --- Comparison Table --- */
.comparison-table-wrapper {
    overflow-x: auto;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}
.comparison-table th, .comparison-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-dark);
}
.comparison-table th {
    background-color: rgba(0,0,0,0.2);
    font-weight: 600;
}
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}
.check-mark { color: #84cc16; font-size: 1.5rem; }
.cross-mark { color: #ef4444; font-size: 1.5rem; }

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.placeholder-item {
    background-color: var(--color-secondary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    border-radius: 28px;
    font-size: 1.2rem;
    font-weight: 600;
}
@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 2; }
}

/* --- Two Column Image Layout --- */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.two-col-image img {
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.two-col-text ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 24px;
    margin-bottom: 32px;
}
@media (min-width: 768px) {
    .two-col-layout { grid-template-columns: 1fr 1fr; gap: 48px; }
}

/* --- Program Page: Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--color-primary);
    top: 0;
    bottom: 0;
    left: 15px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    margin-left: 30px;
    padding-left: 40px;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bg-tint);
    border: 3px solid var(--color-primary);
    top: 20px;
    left: -10px;
    z-index: 1;
}
.timeline-content {
    padding: 20px;
    background: white;
    border-radius: 28px;
    border: 1px solid var(--border-light);
    box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
    .timeline::after { left: 15px; }
    .timeline-item { margin-left: 0; padding-left: 45px; }
    .timeline-dot { left: 5px; }
}

/* --- Mission Page: Grid Values & Story --- */
.founder-story-layout {
    display: grid;
    gap: 32px;
    align-items: center;
}
.founder-story-image img {
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
@media (min-width: 768px) {
    .founder-story-layout { grid-template-columns: 1fr 1.2fr; gap: 48px; }
}
.values-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
.value-card {
    background-color: rgba(0,0,0,0.1);
    padding: 32px;
    border-radius: 28px;
    border-left: 5px solid var(--color-accent);
}
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    gap: 48px;
    grid-template-columns: 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 var(--border-light);
    border-radius: 50px;
    background-color: #fff;
    font-size: 1rem;
}
.contact-form textarea {
    border-radius: 28px;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(92, 43, 14, 0.2);
}
.contact-info-wrapper {
    background-color: #fff;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid var(--border-light);
}
.contact-details-list li {
    margin-bottom: 20px;
}
.contact-details-list strong {
    display: block;
    color: var(--color-primary);
}
@media (min-width: 992px) {
    .contact-layout { grid-template-columns: 60% 40%; }
}

/* --- Legal & Thank You Pages --- */
.page-hero { padding: 48px 0; text-align: center; }
.legal-content, .thank-you-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 16px;
}
.legal-content h1, .legal-content h2 { margin-top: 2rem; }
.thank-you-section { min-height: 60vh; display: flex; align-items: center; }
.thank-you-container { text-align: center; }
.thank-you-actions { margin-top: 48px; }
.action-buttons {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-secondary) !important;
    color: var(--text-light) !important;
    padding: 64px 0;
}
.site-footer a { color: var(--color-accent) !important; }
.site-footer a:hover { color: var(--text-light) !important; }
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.footer-about .logo { color: var(--text-light) !important; }
.footer-about p { opacity: 0.8; }
.footer-links ul, .footer-legal ul { list-style: none; }
.footer-links li, .footer-legal li { margin-bottom: 8px; }
.footer-legal {
    border-top: 1px solid var(--border-dark);
    padding-top: 24px;
    text-align: center;
    grid-column: 1 / -1;
}
.footer-legal ul { display: flex; justify-content: center; gap: 24px; margin-top: 8px; }
@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(3, 1fr); }
    .footer-about { grid-column: span 3; }
}
@media (min-width: 992px) {
    .footer-container { grid-template-columns: 2fr 1fr 1fr; }
    .footer-about { grid-column: auto; }
}

/* --- 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: var(--color-secondary);
    color: var(--text-light);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--color-accent); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--color-accent);
    cursor: pointer;
    background: transparent;
    color: var(--text-light);
    transition: background-color 0.3s ease;
}
.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--color-primary);
}
.cookie-btn-accept:hover { background-color: #e0b83a; }
.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; }
}