/*
  Palette: Warm Vintage
  - Dark Umber: #4A403A
  - Beige: #F5EFE6
  - Terracotta: #B85C38
  - Old Gold: #C89F64
*/

:root {
    --font-serif: 'Lora', serif;
    --font-sans: 'Roboto', sans-serif;
    --color-dark-bg: #4A403A;
    --color-light-bg: #F5EFE6;
    --color-dark-text: #2c2825;
    --color-light-text: #F5EFE6;
    --color-primary-accent: #B85C38;
    --color-secondary-accent: #C89F64;
    --color-border: #dcd0b9;
}

/* --- General Styles & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    background-color: var(--color-light-bg);
    color: var(--color-dark-text);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0; /* Sharp style */
}

a {
    color: var(--color-primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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-bottom: 1rem; }
ul { list-style-position: inside; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 48px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
    font-size: 1.1rem;
}

.section-dark {
    background-color: var(--color-dark-bg);
    color: var(--color-light-text);
}
.section-dark h2, .section-dark h3 {
    color: var(--color-light-text);
}
.section-dark a {
    color: var(--color-secondary-accent);
}

.section-light {
    background-color: var(--color-light-bg);
    color: var(--color-dark-text);
}

.text-center {
    text-align: center;
}

/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-light-bg);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark-text);
    text-decoration: none;
    z-index: 100;
}
.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(--color-dark-text);
    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: 1rem;
    font-weight: 700;
    color: var(--color-dark-text);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}
.desktop-nav a:hover {
    color: var(--color-primary-accent);
    border-bottom-color: var(--color-primary-accent);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 67px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    z-index: 99;
    background-color: var(--color-light-bg);
}
.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.mobile-nav a { color: var(--color-dark-text); font-weight: bold; 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 28px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 0; /* Sharp style */
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--color-primary-accent);
    color: var(--color-light-text);
    border-color: var(--color-primary-accent);
}
.btn-primary:hover {
    background-color: #a14e2d;
    border-color: #a14e2d;
    text-decoration: none;
    color: var(--color-light-text);
}

/* --- Hero Section (Floating Card) --- */
.hero-floating-card {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
    text-align: center;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 40, 37, 0.7);
    z-index: -1;
}
.floating-card {
    background-color: var(--color-light-bg);
    padding: 32px;
    border: 1px solid var(--color-border);
    max-width: 650px;
    color: var(--color-dark-text);
}
.floating-card h1 {
    color: var(--color-dark-text);
}
.floating-card .subtitle {
    font-size: 1.1rem;
    margin: 1rem 0 2rem 0;
}

/* --- Benefits Timeline --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--color-secondary-accent);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
}
.timeline-icon {
    position: absolute;
    width: 42px;
    height: 42px;
    left: 0;
    top: 0;
    background-color: var(--color-primary-accent);
    color: var(--color-light-text);
    border-radius: 0; /* Sharp style */
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--font-serif);
}
.timeline-content h3 {
    margin-top: 0;
}

/* --- Accordion FAQ --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-accordion details {
    border-bottom: 1px solid var(--color-secondary-accent);
    padding: 16px 0;
}
.faq-accordion summary {
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 25px;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
    content: '+';
    position: absolute;
    right: 5px;
    top: 0;
    font-size: 1.5rem;
    transition: transform 0.2s;
}
.faq-accordion details[open] summary::after {
    transform: rotate(45deg);
}
.faq-content {
    padding: 16px 0 0 0;
}

/* --- Expert Block --- */
.expert-block {
    display: grid;
    gap: 24px;
    align-items: center;
}
.expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.expert-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5;
    border-left: 4px solid var(--color-primary-accent);
    padding-left: 24px;
    margin-bottom: 1rem;
}
.expert-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
}
.expert-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

/* --- Checklist Block --- */
.checklist-grid {
    display: grid;
    gap: 16px;
    list-style: none;
    padding: 0;
}
.checklist-grid li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}
.checkmark {
    color: var(--color-secondary-accent);
    font-size: 1.5rem;
    margin-right: 12px;
    font-weight: bold;
}

/* --- Icon Features --- */
.features-grid {
    display: grid;
    gap: 24px;
}
.feature-item {
    text-align: center;
    border: 1px solid var(--color-border);
    padding: 24px;
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* --- Program Page: Horizontal Tabs --- */
.tabs { max-width: 900px; margin: 0 auto; }
input[name="tabs"] { display: none; }
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--color-border);
    justify-content: center;
}
.tabs-nav label {
    padding: 12px 8px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    background-color: #e8e0d4;
    transition: all 0.3s;
}
@media (max-width: 768px) {
    .tabs-nav label { width: 100%; }
}
.tab-panel {
    display: none;
    padding: 24px 0;
}
#t1:checked ~ .tabs-nav label[for="t1"],
#t2:checked ~ .tabs-nav label[for="t2"],
#t3:checked ~ .tabs-nav label[for="t3"],
#t4:checked ~ .tabs-nav label[for="t4"] {
    background-color: var(--color-light-bg);
    border-color: var(--color-border);
    border-bottom-color: var(--color-light-bg);
    position: relative;
    top: 1px;
}
#t1:checked ~ #p1, #t2:checked ~ #p2, #t3:checked ~ #p3, #t4:checked ~ #p4 {
    display: block;
}
.tab-content-flex { display: grid; gap: 24px; }
.tab-image img { width: 100%; height: 100%; object-fit: cover; }


/* --- Mission Page --- */
.story-container { max-width: 800px; }
.story-image-block { margin: 32px 0; }
.values-grid { display: grid; gap: 24px; }
.value-card {
    border: 1px solid var(--color-secondary-accent);
    padding: 24px;
}

/* --- Contact Page --- */
.contact-layout { display: grid; gap: 48px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 700; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 0; /* Sharp style */
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: #fff;
}
.contact-info-sidebar h2, .contact-info-sidebar h3 { margin-top: 0; }
.contact-info-item { margin-bottom: 24px; }

/* --- Legal & Thank You Pages --- */
.page-hero { padding: 48px 0; text-align: center; }
.page-title { margin-bottom: 0.5rem; }
.page-subtitle { max-width: 700px; margin: 0 auto; font-size: 1.2rem; }
.legal-content { max-width: 800px; }
.legal-content h1, .legal-content h2 { margin-top: 2rem; }
.thank-you-section { padding: 80px 0; }
.thank-you-icon { font-size: 4rem; margin-bottom: 1rem; }
.what-next { margin-top: 48px; }
.next-steps-grid { display: grid; gap: 16px; margin-top: 24px; }
.next-step-card {
    display: block;
    padding: 24px;
    border: 1px solid var(--color-border);
    text-align: left;
    color: var(--color-dark-text);
}
.next-step-card:hover { background-color: #e8e0d4; text-decoration: none; }

/* --- Footer --- */
.site-footer {
    background-color: var(--color-dark-bg) !important;
    color: var(--color-light-text) !important;
    padding: 48px 0 24px 0;
}
.site-footer p, .site-footer li, .site-footer a, .site-footer h4 {
    color: var(--color-light-text) !important;
}
.footer-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-column h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--color-secondary-accent) !important;
}
.footer-column ul { list-style: none; padding: 0; }
.footer-column li { margin-bottom: 8px; }
.footer-bottom {
    border-top: 1px solid #63564d;
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom .disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: 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;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--color-dark-bg);
    color: var(--color-light-text);
    border-top: 1px solid #63564d;
}
#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(--color-secondary-accent); font-weight: bold; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border: 1px solid var(--color-secondary-accent);
    background: transparent;
    color: var(--color-secondary-accent);
    cursor: pointer;
    border-radius: 0; /* Sharp style */
    transition: all 0.3s;
}
.cookie-btn-accept {
    background-color: var(--color-secondary-accent);
    color: var(--color-dark-bg);
}
.cookie-btn-accept:hover { background-color: #e0b475; }
.cookie-btn-decline:hover { background-color: rgba(200, 159, 100, 0.1); }

/* --- Media Queries (Mobile First) --- */
@media (min-width: 600px) {
    .checklist-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .next-steps-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-layout { grid-template-columns: 3fr 2fr; }
}

@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .floating-card { padding: 48px; }
    .expert-block { grid-template-columns: 250px 1fr; gap: 48px; }
    .tab-content-flex { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

@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; }
}