/*
 * Design System: Bold Editorial
 * Border Style: Pill
 * Shadow Style: Dramatic
 * Color Mode: Mixed
 * Color Palette: Bold Editorial Contrast
*/

:root {
    --color-primary: #A93226;
    --color-secondary: #5D6D7E;
    --color-accent: #F0DB4F;
    --color-dark: #1A1A1A;
    --color-light: #F5F5F5;
    --color-text-dark: #212121;
    --color-text-light: #FFFFFF;

    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Lato', sans-serif;

    --border-radius-card: 28px;
    --border-radius-btn: 50px;
}

/* --- General Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section {
    padding: 80px 0;
}

.dark-section {
    background-color: var(--color-dark);
    color: var(--color-text-light);
}

.light-section {
    background-color: var(--color-light);
    color: var(--color-text-dark);
}

.accent-section {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
}

.text-center {
    text-align: center;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 900;
    line-height: 1.2;
    margin-top: 0;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 24px;
}

.section-title-small {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 48px auto;
    line-height: 1.6;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-dark);
    color: var(--color-text-light);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 900;
    z-index: 100;
    color: var(--color-text-light);
}
.logo:hover {
    color: var(--color-accent);
}

.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-text-light);
    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(--color-text-light);
    font-weight: 700;
    font-size: 16px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--color-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    z-index: 99;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav a {
    color: var(--color-text-light);
    font-size: 1.2rem;
    display: block;
}

@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: 15px 40px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--border-radius-btn);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}
.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--color-light);
    color: var(--color-dark);
}
.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
    transform: translateY(-3px);
}

/* --- Shadows --- */
.dramatic-shadow {
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.dramatic-shadow:hover {
    transform: translateY(-10px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.30);
}

/* --- Hero Section (Asymmetric) --- */
.hero-section-asymmetric {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}
.hero-asymmetric-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
}
.hero-asymmetric-content {
    z-index: 2;
}
.hero-title {
    font-size: clamp(48px, 9vw, 60px);
    margin-bottom: 20px;
    color: var(--color-text-light);
}
.hero-subtitle {
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.8);
}
.hero-asymmetric-image-wrapper {
    position: relative;
}
.hero-asymmetric-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-card);
}

/* --- Benefits Section --- */
.benefits-grid-3col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.benefit-card {
    background-color: #fff;
    padding: 40px 32px;
    border-radius: var(--border-radius-card);
}
.card-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

/* --- CTA Banner --- */
.cta-banner-section {
    padding: 60px 0;
}
.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
    color: var(--color-text-light);
}
.cta-text {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,0.9);
}

/* --- Icon Features --- */
.icon-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
}
.icon-feature-item {
    text-align: center;
}
.feature-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}
.feature-title {
    font-size: 20px;
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 8px;
}

/* --- Quote Highlight --- */
.quote-highlight-section {
    padding: 100px 0;
}
.quote-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.quote-wrapper::before {
    content: '“';
    font-family: var(--font-primary);
    font-size: 150px;
    color: var(--color-primary);
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    z-index: 1;
}
.quote-text {
    font-family: var(--font-primary);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.4;
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}
.quote-author {
    font-style: normal;
    font-weight: 700;
    color: var(--color-accent);
}

/* --- Checklist Block --- */
.checklist-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 48px auto 0;
}
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.checklist li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.checklist li span {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 24px;
    margin-right: 16px;
}

/* --- Program Page: Numbered Sections --- */
.page-header-section {
    padding: 80px 0;
}
.page-title {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: 16px;
}
.page-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255,255,255,0.8);
}
.numbered-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}
.numbered-section-number {
    font-family: var(--font-primary);
    font-size: clamp(100px, 20vw, 200px);
    font-weight: 900;
    color: rgba(0,0,0,0.05);
    line-height: 1;
}
.content-image {
    border-radius: var(--border-radius-card);
    margin-top: 24px;
}

/* --- Mission Page --- */
.mission-story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: flex-start;
}
.image-caption {
    font-size: 14px;
    text-align: center;
    color: #777;
    margin-top: 16px;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
}
.value-card {
    background: rgba(255,255,255,0.1);
    padding: 32px;
    border-radius: var(--border-radius-card);
    text-align: center;
}
.value-card .card-title {
    color: var(--color-text-light);
}
.light-text { color: var(--color-text-light); }

/* --- Contact Page --- */
.contact-layout-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-form .form-group {
    margin-bottom: 24px;
}
.contact-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-btn);
    font-family: var(--font-secondary);
    font-size: 16px;
}
.form-submit-btn {
    width: 100%;
}
.contact-info-wrapper {
    background-color: #fff;
    padding: 32px;
    border-radius: var(--border-radius-card);
}
.contact-details .contact-detail-item {
    margin-bottom: 20px;
}
.contact-details strong {
    display: block;
    color: var(--color-primary);
}

/* --- Policy & Thank You Pages --- */
.policy-page .container { max-width: 800px; }
.policy-page h2 { margin-top: 40px; }
.thank-you-section { padding: 100px 0; }
.thank-you-content { max-width: 700px; margin: 40px auto 0; }
.thank-you-links { margin-top: 32px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }


/* --- Footer --- */
.site-footer {
    padding: 60px 0 20px 0;
    font-size: 15px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-column p {
    color: rgba(255,255,255,0.7) !important;
}
.footer-heading {
    font-family: var(--font-primary);
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--color-text-light) !important;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.7) !important;
}
.footer-links a:hover {
    color: var(--color-accent) !important;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.5) !important;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--color-dark);
    color: var(--color-text-light);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 15px; }
#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: none;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    font-weight: 700;
}
.cookie-btn-accept { background-color: var(--color-primary); color: white; }
.cookie-btn-decline { background-color: var(--color-secondary); color: white; }

/* --- Media Queries (Mobile First) --- */

@media (min-width: 600px) {
    .checklist-container { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .section { padding: 100px 0; }
    .hero-asymmetric-container { grid-template-columns: 1.2fr 1fr; }
    .hero-asymmetric-image-wrapper {
        position: absolute;
        right: -5%;
        top: 50%;
        transform: translateY(-50%);
        width: 60%;
        max-width: 700px;
    }
    .benefits-grid-3col { grid-template-columns: repeat(3, 1fr); }
    .icon-features-grid { grid-template-columns: repeat(3, 1fr); }
    .numbered-section { grid-template-columns: auto 1fr; gap: 60px; }
    .numbered-section.reverse { grid-template-columns: 1fr auto; }
    .numbered-section.reverse .numbered-section-content { order: -1; }
    .mission-story-container { grid-template-columns: 1.5fr 1fr; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-layout-split { grid-template-columns: 1.5fr 1fr; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

@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; }
}