/* Palette: terracotta-teal */
:root {
    --color-primary: #C04A1A;
    --color-secondary: #D86228;
    --color-accent: #005060;
    --bg-tint: #FFF0E8;
    
    --text-color: #2D2522;
    --text-muted: #625550;
    --white: #FFFFFF;
    --border-color: #E2CDC4;

    /* Pill style border radii */
    --radius-btn: 50px;
    --radius-card: 32px;
    --radius-pill: 999px;

    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base Styles (Mobile First) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-tint);
    color: var(--text-color);
    line-height: 1.6;
    font-size: clamp(14px, 3.5vw, 17px);
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

img.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-card);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white);
    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 - always left */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-primary);
    z-index: 100;
}

/* Hamburger - ALWAYS RIGHT */
.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;
    border-radius: 2px;
}

.menu-checkbox {
    display: none;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    font-weight: 600;
    color: var(--text-color);
}

.desktop-nav a:hover {
    color: var(--color-primary);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.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-weight: 600;
    font-size: 18px;
    color: var(--text-color);
}

/* Buttons (Pill design) */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    text-align: center;
    min-height: 44px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #003844;
    color: var(--white);
}

.btn-accent {
    background-color: var(--white);
    color: var(--color-primary);
    border: 2px solid var(--white);
}

.btn-accent:hover {
    background-color: var(--bg-tint);
    color: var(--color-primary);
}

.btn-full {
    width: 100%;
}

/* Hero Fullscreen Center */
.hero-fullscreen {
    position: relative;
    min-height: 85vh;
    background: url('img/bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(45, 37, 34, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    padding: 6px 18px;
    background-color: var(--color-secondary);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(28px, 6vw, 52px);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-description {
    font-size: clamp(16px, 3.5vw, 20px);
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-subtext {
    font-size: 15px;
    margin-bottom: 30px;
    opacity: 0.85;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

/* Section Common */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.section-header h2 {
    font-size: clamp(24px, 5vw, 36px);
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
}

/* Section 1: Benefits HScroll */
.section-hscroll {
    background-color: var(--white);
}

.hscroll-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.hscroll-card {
    flex: 0 0 280px;
    background-color: var(--bg-tint);
    border-radius: var(--radius-card);
    padding: 30px 24px;
    scroll-snap-align: start;
    border: 1px solid var(--border-color);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
}

.hscroll-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.hscroll-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Split Image Section */
.section-split-image {
    background-color: var(--bg-tint);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.split-text h2 {
    font-size: clamp(24px, 4vw, 34px);
    color: var(--color-primary);
    margin-bottom: 18px;
}

.split-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.link-arrow {
    display: inline-block;
    font-weight: 700;
    margin-top: 10px;
}

/* Section 2: CTA Banner */
.cta-banner {
    background-color: var(--color-secondary);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: clamp(24px, 5vw, 38px);
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 18px;
    margin-bottom: 28px;
    opacity: 0.95;
}

/* Section 3: Quote Highlight */
.section-quote {
    background-color: var(--white);
}

.quote-card {
    max-width: 850px;
    margin: 0 auto;
    background-color: var(--bg-tint);
    border-radius: var(--radius-card);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.quote-mark {
    font-size: 70px;
    line-height: 1;
    color: var(--color-primary);
    display: block;
    margin-bottom: -20px;
}

.quote-text {
    font-size: clamp(18px, 4vw, 24px);
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 24px;
}

.quote-author strong {
    display: block;
    color: var(--color-primary);
}

.quote-author span {
    font-size: 14px;
    color: var(--text-muted);
}

/* Section 4: Numbered Steps */
.section-steps {
    background-color: var(--bg-tint);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.step-card {
    background-color: var(--white);
    border-radius: var(--radius-card);
    padding: 30px 24px;
    border: 1px solid var(--border-color);
    position: relative;
}

.step-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.step-card h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Section 5: Checklist Block */
.section-checklist {
    background-color: var(--white);
}

.checklist-wrapper {
    background-color: var(--bg-tint);
    border-radius: var(--radius-card);
    padding: 40px 24px;
    border: 1px solid var(--border-color);
}

.checklist-intro {
    text-align: center;
    margin-bottom: 30px;
}

.checklist-intro h2 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.check-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.check-icon {
    width: 28px;
    height: 28px;
    background-color: var(--color-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-content strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 2px;
}

.check-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Form Styles */
.section-form {
    background-color: var(--bg-tint);
}

.form-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius-card);
    padding: 36px 24px;
    border: 1px solid var(--border-color);
}

.form-card h2 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 10px;
}

.form-card > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.site-form .form-group {
    margin-bottom: 20px;
}

.site-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.site-form input,
.site-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--border-color);
    background-color: var(--bg-tint);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-color);
    outline: none;
}

.site-form textarea {
    border-radius: 20px;
    resize: vertical;
}

.site-form input:focus,
.site-form textarea:focus {
    border-color: var(--color-primary);
    background-color: var(--white);
}

/* Page Inner Hero */
.page-main {
    padding-top: 0;
}

.page-hero {
    background-color: var(--color-secondary);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 15px;
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    opacity: 0.9;
}

/* Program Page: Media Feature */
.section-media-feature {
    background-color: var(--white);
}

.media-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.media-content h2 {
    font-size: clamp(24px, 4vw, 32px);
    color: var(--color-primary);
    margin-bottom: 15px;
}

.media-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Program Page: Accordion (Program Layout) */
.section-accordion {
    background-color: var(--bg-tint);
}

.accordion-wrapper {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-block {
    background-color: var(--white);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.accordion-header {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    color: var(--color-primary);
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.acc-num {
    background-color: var(--bg-tint);
    color: var(--color-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 14px;
}

.acc-title {
    flex: 1;
}

.acc-icon {
    font-size: 22px;
    color: var(--color-accent);
}

.accordion-body {
    padding: 0 24px 20px 24px;
    color: var(--text-muted);
    font-size: 15px;
}

.accordion-body p {
    margin-bottom: 10px;
}

/* Program Page: FAQ Grid */
.section-faq {
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.faq-item {
    background-color: var(--bg-tint);
    border-radius: var(--radius-card);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 17px;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Mission Page: Grid Values */
.section-grid-values {
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.value-card {
    background-color: var(--bg-tint);
    border-radius: var(--radius-card);
    padding: 30px 24px;
    border: 1px solid var(--border-color);
    position: relative;
}

.value-badge {
    display: inline-block;
    padding: 4px 14px;
    background-color: var(--color-primary);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Mission Page: Manifesto */
.section-manifesto {
    background-color: var(--bg-tint);
}

.manifesto-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius-card);
    padding: 40px 28px;
    border: 1px solid var(--border-color);
}

.manifesto-card h2 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 20px;
}

.manifesto-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.section-history-split {
    background-color: var(--white);
}

/* Contact Page Layout */
.section-contact-content {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-info-card,
.contact-form-card {
    background-color: var(--bg-tint);
    border-radius: var(--radius-card);
    padding: 30px 24px;
    border: 1px solid var(--border-color);
}

.contact-info-card h3,
.contact-form-card h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 22px;
}

.contact-info-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 4px;
}

.info-item p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Legal Pages Styles */
.section-legal {
    background-color: var(--white);
}

.legal-card {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-tint);
    border-radius: var(--radius-card);
    padding: 40px 28px;
    border: 1px solid var(--border-color);
}

.legal-card h3 {
    color: var(--color-primary);
    margin: 25px 0 10px 0;
}

.legal-card h3:first-child {
    margin-top: 0;
}

.legal-card p {
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 15px;
}

/* Thank You Page */
.section-thank {
    background-color: var(--bg-tint);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius-card);
    padding: 45px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.thank-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-accent);
    color: var(--white);
    font-size: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.thank-card h1 {
    color: var(--color-primary);
    margin-bottom: 15px;
}

.thank-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.thank-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

/* Site Footer */
.site-footer {
    padding: 50px 0 20px 0;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-col p {
    line-height: 1.5;
    margin-bottom: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 0 16px;
    text-align: center;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; 
    bottom: 0; left: 0; right: 0; 
    z-index: 9999;
    padding: 18px 24px;
    background-color: var(--text-color);
    color: var(--white);
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 16px;
    transform: translateY(0); 
    transition: transform 0.4s ease;
}

#cookie-banner.hidden { 
    transform: translateY(110%); 
}

#cookie-banner p { 
    margin: 0; 
    flex: 1; 
    min-width: 200px; 
    font-size: 14px;
}

#cookie-banner a {
    color: var(--bg-tint);
    text-decoration: underline;
}

.cookie-btns { 
    display: flex; 
    gap: 10px; 
    flex-shrink: 0; 
    flex-wrap: wrap; 
}

.cookie-btn-accept {
    background-color: var(--color-secondary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    cursor: pointer;
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    cursor: pointer;
}

/* Mobile responsive media queries (min-width logic) */

@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);
    }

    #cookie-banner { 
        flex-direction: column; 
        align-items: flex-start; 
    }
    
    .cookie-btns { 
        width: 100%; 
    }
    
    .cookie-btn-accept, .cookie-btn-decline { 
        flex: 1; 
        text-align: center; 
    }
}

@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
    }

    .split-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .thank-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 80px 0;
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .media-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}