/* Palette: Burgundy & Cream - Minimalist Pill Flat Light */
:root {
    --primary-color: #800020;    /* Deep Burgundy */
    --accent-color: #D35400;     /* Terracotta Orange */
    --bg-color: #FCFBF9;         /* Soft Cream Background */
    --surface-color: #FFFFFF;    /* Pure White for Cards */
    --text-color: #1C1917;       /* Dark Charcoal */
    --text-muted: #57534E;      /* Muted Gray-Brown */
    --border-color: #E5E1DA;     /* Thin Light Gray-Beige Border */
    --white: #FFFFFF;
    
    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base Reset & Mobile-First Layout */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-size: clamp(15px, 1.1vw, 17px);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(24px, 4vw, 38px);
    margin-bottom: 16px;
}

h3 {
    font-size: clamp(20px, 3vw, 24px);
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

/* Buttons (Pill Style) */
.btn-primary, .btn-secondary, .btn-white {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px; /* Strict Pill Style */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #5C0016;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(128, 0, 32, 0.05);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #F5F5F5;
}

/* Header & Hamburger Navigation */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    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: 24px;
    font-weight: 800;
    color: var(--primary-color);
    z-index: 100;
}

.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(--primary-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 .nav-list a {
    font-weight: 500;
    color: var(--text-color);
}

.desktop-nav .nav-list a:hover {
    color: var(--accent-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--bg-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    font-size: 18px;
    font-weight: 600;
    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);
    }
}

/* Sections Base */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
}

@media (min-width: 768px) {
    .section-container {
        padding: 80px 24px;
    }
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(128, 0, 32, 0.08);
    color: var(--primary-color);
    border-radius: 999px; /* Pill Badge */
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Asymmetric Hero Layout */
.hero-asymmetric {
    padding: 48px 16px;
    overflow: hidden;
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.hero-text-block {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 16px;
    background-color: rgba(211, 84, 0, 0.1);
    color: var(--accent-color);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.hero-image-block {
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 36px; /* Pill-like border radius for cards/images */
}

@media (min-width: 768px) {
    .hero-asymmetric {
        padding: 80px 24px;
    }
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }
    .hero-image-block {
        margin-right: -100px; /* Overflowing asymmetric visual effect */
    }
    .hero-img {
        height: 480px;
    }
}

/* Section 1: Benefits Horizontal Scroll */
.benefits-scroll-section {
    background-color: var(--bg-color);
}

.scroll-wrapper {
    margin: 0 -16px;
    padding: 0 16px;
    overflow: hidden;
}

.horizontal-scroll-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.benefit-scroll-card {
    flex: 0 0 280px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 28px; /* Pill card style */
    padding: 32px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    box-shadow: none; /* Flat Style */
    transition: border-color 0.3s ease;
}

.benefit-scroll-card:hover {
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .benefit-scroll-card {
        flex: 0 0 340px;
    }
    .scroll-wrapper {
        margin: 0;
        padding: 0;
    }
}

/* Section 2: CTA Accent Banner */
.cta-accent-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 16px;
    text-align: center;
}

.banner-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-accent-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-accent-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .cta-accent-banner {
        padding: 100px 24px;
    }
}

/* Section 3: Numbered Steps */
.steps-section {
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.step-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 32px;
    position: relative;
    box-shadow: none;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(128, 0, 32, 0.15);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Section 4: Two Column Layout */
.two-col-section {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.two-col-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.two-col-img-block img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 36px;
}

.two-col-text-block {
    display: flex;
    flex-direction: column;
}

.custom-list {
    list-style: none;
    margin-top: 16px;
}

.custom-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.custom-list li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 28px;
    position: absolute;
    left: 4px;
    top: -4px;
}

@media (min-width: 768px) {
    .two-col-container {
        grid-template-columns: 1fr 1fr;
        padding: 100px 24px;
    }
}

/* Section 5: Expert Quote Block */
.expert-quote-section {
    background-color: var(--surface-color);
}

.expert-card-wrapper {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 36px; /* Pill-style large wrapper */
    padding: 40px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 64px;
    font-family: Georgia, serif;
    color: var(--accent-color);
    line-height: 1;
    display: block;
    height: 30px;
}

.expert-quote-text {
    font-size: clamp(18px, 2.2vw, 22px);
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 24px;
}

.expert-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.expert-avatar-placeholder {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.expert-name {
    color: var(--primary-color);
    margin-bottom: 4px;
}

.expert-title {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .expert-card-wrapper {
        padding: 60px 80px;
    }
}

/* Program Page: Modules Grid (6 Cards) */
.page-intro-section {
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 16px;
    text-align: center;
}

.page-intro-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

.modules-grid-section {
    background-color: var(--bg-color);
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.module-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 32px;
    position: relative;
    box-shadow: none;
}

.module-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(128, 0, 32, 0.08);
    color: var(--primary-color);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Stats Section */
.stats-section {
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 24px;
}

.stat-number {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQ Details/Summary Accordion */
.faq-section {
    background-color: var(--bg-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    margin-bottom: 16px;
    padding: 20px 24px;
}

.faq-question {
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 32px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-size: 24px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    margin-top: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

/* Mission Page: Values Grid */
.values-grid-section {
    background-color: var(--bg-color);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.value-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 32px;
    box-shadow: none;
}

.value-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Manifesto Section */
.manifesto-section {
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.manifesto-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 36px;
    padding: 40px 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .manifesto-box {
        padding: 60px 80px;
    }
}

/* Contact Split Layout */
.contact-split-section {
    background-color: var(--bg-color);
}

.contact-split-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-form-block {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 36px;
    padding: 32px 24px;
}

.custom-contact-form .form-group {
    margin-bottom: 20px;
}

.custom-contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.custom-contact-form input,
.custom-contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px; /* Pill inputs */
    font-family: inherit;
    font-size: 15px;
    background-color: var(--bg-color);
    outline: none;
    transition: border-color 0.3s ease;
}

.custom-contact-form textarea {
    border-radius: 24px; /* Slightly less rounded for textarea */
    resize: vertical;
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    border-color: var(--primary-color);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card-pill {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 36px;
    padding: 32px;
}

.contact-details-list {
    list-style: none;
    margin-top: 24px;
}

.contact-details-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .contact-split-container {
        grid-template-columns: 1.2fr 0.8fr;
        padding: 80px 24px;
    }
}

/* Legal Content Section */
.legal-content-section {
    background-color: var(--surface-color);
    padding: 60px 16px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-date {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.legal-block {
    margin-bottom: 40px;
}

.disclaimer-block {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 24px;
}

/* Thank You Section */
.thank-you-section {
    background-color: var(--bg-color);
    padding: 80px 16px;
    text-align: center;
}

.thank-container {
    max-width: 600px;
    margin: 0 auto;
}

.thank-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 24px;
}

.next-steps-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 36px;
    padding: 32px;
    margin-top: 40px;
}

.thank-links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.thank-link-btn {
    padding: 12px 24px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
}

.thank-link-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (min-width: 480px) {
    .thank-links-grid {
        flex-direction: row;
        justify-content: center;
    }
}

/* Cookie Banner Styles */
#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(--surface-color);
    border-top: 1px solid var(--border-color);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

#cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--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;
    }
}

/* Footer Section */
.site-footer {
    background-color: var(--text-color) !important; /* Strict browser translation safety */
    color: var(--white) !important;
    padding: 60px 16px 30px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7) !important;
    margin-top: 16px;
    font-size: 14px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--white) !important;
}

.footer-grid h4 {
    color: var(--white) !important;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 12px;
}

.footer-links a, .footer-legal a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--accent-color) !important;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-phone-link, .footer-email-link {
    color: var(--white) !important;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 12px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    }
}