/*
  Design System:
  - design-style: warm-vintage
  - border-style: pill
  - shadow-style: flat
  - color-mode: light
  - Color Palette (Earthy Terracotta): #4A2E2B, #FDF5E6, #D9795D, #E8B48E, #C8A68B
*/

:root {
    --bg-color: #FDF5E6;
    --text-color: #4A2E2B;
    --primary-color: #D9795D;
    --accent-color: #E8B48E;
    --border-color: #C8A68B;
    --white-color: #FFFFFF;
    --footer-bg-color: #4A2E2B;
    --footer-text-color: #FDF5E6;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Lora', serif;
}

/* --- Base & Typography --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.5rem); }
h4 { font-size: clamp(1.1rem, 3vw, 1.25rem); }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

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 {
    padding-left: 20px;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-padding {
    padding-top: clamp(60px, 10vh, 100px);
    padding-bottom: clamp(60px, 10vh, 100px);
}

.section-bg-alt {
    background-color: var(--white-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-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);
    font-family: var(--font-secondary);
}

.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(--text-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 {
    color: var(--text-color);
    font-weight: 600;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    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(--bg-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
}

.mobile-nav a {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
}

@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); }
}

/* --- Hero Section (Gradient Center) --- */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.hero-gradient {
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(253, 245, 230, 0.5),
            rgba(253, 245, 230, 0.5) 10px,
            rgba(232, 180, 142, 0.1) 10px,
            rgba(232, 180, 142, 0.1) 20px
        ),
        linear-gradient(to bottom, var(--bg-color), var(--accent-color));
}

.hero-content-centered {
    max-width: 800px;
}

.hero-title {
    color: var(--text-color);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    max-width: 650px;
    margin: 1.5rem auto 2.5rem auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px; /* pill style */
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c9684b;
    border-color: #c9684b;
    color: var(--white-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* --- Cards & Grids --- */
.benefits-grid-3col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .benefits-grid-3col { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 28px; /* pill style */
    border: 1px solid var(--border-color); /* flat style */
}

.card-title {
    color: var(--primary-color);
}

.two-col-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .two-col-layout { grid-template-columns: 1fr 1fr; }
}

.img-responsive-pill {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px; /* pill style */
}

.custom-list {
    list-style: none;
    padding-left: 0;
}
.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
.custom-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Features Grid --- */
.features-grid-6col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 576px) { .features-grid-6col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .features-grid-6col { grid-template-columns: repeat(3, 1fr); } }

.feature-item {
    text-align: center;
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* --- CTA Banner --- */
.cta-banner-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 20px;
    text-align: center;
}
.cta-banner-content .btn-secondary {
    color: var(--white-color);
    border-color: var(--white-color);
}
.cta-banner-content .btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

/* --- Numbered Steps (Index) --- */
.numbered-steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) { .numbered-steps-container { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .numbered-steps-container { grid-template-columns: repeat(4, 1fr); } }

.numbered-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.step-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--accent-color);
    line-height: 1;
}
.step-title {
    margin-bottom: 0.5rem;
}

/* --- Page Header --- */
.page-header {
    background-color: var(--accent-color);
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* --- Numbered Sections (Program) --- */
.numbered-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 5rem;
}
.numbered-section-number {
    font-size: clamp(4rem, 15vw, 8rem);
    font-family: var(--font-secondary);
    color: var(--accent-color);
    line-height: 0.8;
    font-weight: 700;
}
@media (min-width: 992px) {
    .numbered-section {
        flex-direction: row;
        gap: 50px;
        align-items: center;
    }
    .numbered-section.reverse {
        flex-direction: row-reverse;
    }
    .numbered-section-number { min-width: 150px; text-align: center; }
}

/* --- Vertical Storytelling (Mission) --- */
.story-block { margin-bottom: 4rem; }
.split-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
@media (min-width: 992px) {
    .split-block { grid-template-columns: 1fr 1fr; }
    .split-block.reverse .split-image { order: 2; }
}

/* --- Contact Page --- */
.centered-form-container {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    background: var(--white-color);
    padding: 40px;
    border-radius: 28px;
    border: 1px solid var(--border-color);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 50px; /* pill style */
    border: 1px solid var(--border-color);
    font-family: var(--font-primary);
    font-size: 1rem;
}
.form-group textarea { border-radius: 28px; }
.form-submit-btn { width: 100%; }

.contact-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 3rem;
}
@media (min-width: 768px) { .contact-cards-container { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
}
.contact-icon { font-size: 2rem; margin-bottom: 1rem; }

/* --- Policy Pages --- */
.policy-page h1, .policy-page h2 {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
}

/* --- Thank You Page --- */
.thank-you-section { text-align: center; }
.thank-you-icon { font-size: 4rem; margin-bottom: 1rem; }
.what-next { margin-top: 4rem; }
.next-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--footer-text-color) !important;
    padding: 60px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) { .footer-container { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer-container { grid-template-columns: repeat(4, 1fr); } }

.footer-title {
    color: var(--accent-color) !important;
    margin-bottom: 1rem;
}
.site-footer p {
    margin: 0;
    color: var(--footer-text-color) !important;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.site-footer a {
    color: var(--footer-text-color) !important;
}
.site-footer a:hover {
    color: var(--accent-color) !important;
    text-decoration: underline;
}

.footer-legal {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #6f5451;
    padding-top: 30px;
}
.legal-links a {
    margin: 0 10px;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    border-top: 2px solid var(--primary-color);
}
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--footer-text-color);
}
@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; }
}