/* 
   Palette Name: Earthy Terracotta & Warm Sand
   Colors: 
   - Primary: #D95D39 (Terracotta)
   - Secondary: #F0E2D3 (Warm Sand)
   - Dark: #2C2C2C (Charcoal)
   - Light: #F9F3EE (Soft Peach)
   - Accent: #E88D67 (Light Terracotta)
*/

:root {
    --primary-color: #D95D39;
    --secondary-color: #F0E2D3;
    --dark-color: #2C2C2C;
    --light-color: #F9F3EE;
    --accent-color: #E88D67;
    --white: #FFFFFF;
    --text-color: #4A4A4A;
    
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-40 { margin-bottom: 40px; }
.mt-30 { margin-top: 30px; }
.bg-light { background-color: var(--light-color); }
.relative-z { position: relative; z-index: 2; }

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 24px;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 40px;
}

.page-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    opacity: 0.9;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover, .btn-submit:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Header Layout (Strict Template) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-color);
    color: var(--white);
}

.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(--white);
}

.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;
    margin: 5px 0;
    background-color: var(--white);
    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(--white);
    font-weight: 500;
}

.desktop-nav a:hover {
    color: var(--primary-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(--dark-color);
}

.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(--white);
    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); }
}

/* Hero Fullscreen (Index V1) */
.hero-fullscreen {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 44, 44, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--primary-color);
    font-weight: bold;
}

.hero-title {
    color: var(--white);
    font-size: clamp(36px, 6vw, 64px);
    margin-bottom: 24px;
}

.hero-text {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Split Section */
.split-section {
    padding: var(--spacing-xl) 0;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.split-text p {
    margin-bottom: 16px;
}

.split-image {
    position: relative;
}

.split-image img {
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 8px;
    z-index: 1;
}

/* Benefits Grid 3 */
.benefits-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-color);
}

.card-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 16px;
}

/* Stats Bar */
.stats-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-container { grid-template-columns: repeat(4, 1fr); }
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Section */
.content-section {
    padding: var(--spacing-xl) 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* Testimonials */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

.testimonial-quote {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 80px;
    color: var(--light-color);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    font-family: serif;
}

.quote-text {
    position: relative;
    z-index: 2;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 18px;
}

.quote-author {
    font-weight: bold;
    color: var(--primary-color);
}

/* Page Headers */
.page-header {
    background-color: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
}

.parallax-header {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0;
}

.header-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 44, 44, 0.8);
    z-index: 1;
}

/* Timeline Vertical (Program) */
.timeline-section {
    padding: var(--spacing-xl) 0;
}

.timeline-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    height: 100%;
    width: 2px;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 2;
}

.timeline-content {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
}

.timeline-img {
    margin-top: 20px;
    border-radius: 4px;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}

/* FAQ Grid */
.faq-section {
    padding: var(--spacing-xl) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* CTA Centered */
.cta-centered {
    padding: 80px 0;
    text-align: center;
    background-color: var(--dark-color);
    color: var(--white);
}

.cta-centered h2 {
    color: var(--white);
}

.cta-centered p {
    margin-bottom: 30px;
    font-size: 18px;
}

/* Story Section */
.story-section {
    padding: var(--spacing-xl) 0;
}

.story-container {
    max-width: 800px;
}

.drop-cap::first-letter {
    font-size: 60px;
    float: left;
    line-height: 1;
    padding-right: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* Values Grid */
.values-section {
    padding: var(--spacing-xl) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .values-grid { grid-template-columns: 1fr 1fr; }
}

.value-box {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.value-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 100px;
    font-weight: bold;
    color: var(--secondary-color);
    opacity: 0.5;
    line-height: 1;
    z-index: 1;
}

.value-box h3, .value-box p {
    position: relative;
    z-index: 2;
}

/* Manifesto */
.manifesto-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.manifesto-box {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-box h2 {
    color: var(--white);
}

.manifesto-box p {
    font-size: 24px;
    font-style: italic;
    line-height: 1.4;
}

/* Contact Split */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .contact-split { grid-template-columns: 3fr 2fr; }
}

.custom-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.info-icon {
    font-size: 24px;
    margin-right: 15px;
    margin-top: 2px;
}

.schedule-box {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
}

/* Legal Pages */
.legal-section {
    padding: var(--spacing-xl) 0;
}

.legal-container {
    max-width: 800px;
}

.legal-container h1 { margin-bottom: 10px; }
.legal-container h2 { margin-top: 40px; margin-bottom: 15px; font-size: 24px; }
.legal-container p, .legal-container ul { margin-bottom: 20px; }
.legal-container ul { padding-left: 20px; }
.legal-container li { margin-bottom: 10px; }

/* Thank You Page */
.thank-section {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-icon {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thank-content {
    max-width: 600px;
    margin: 40px auto 0;
}

.next-steps {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: left;
}

.next-steps-list {
    list-style: none;
    padding: 0;
}

.next-steps-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.next-steps-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.next-steps-list a {
    color: var(--dark-color);
    font-weight: bold;
}

.next-steps-list a:hover {
    color: var(--primary-color);
}

/* Footer (Strict Protection) */
.site-footer {
    background-color: #2C2C2C !important;
    color: #FFFFFF !important;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .footer-container { grid-template-columns: repeat(4, 1fr); }
}

.footer-title {
    color: #FFFFFF !important;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-desc, .footer-contact {
    color: #CCCCCC !important;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
    color: #CCCCCC !important;
    text-decoration: none;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #D95D39 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444444 !important;
    color: #999999 !important;
    font-size: 14px;
}

/* 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;
    background-color: var(--dark-color);
    color: var(--white);
    transform: translateY(0); 
    transition: transform 0.4s ease;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

#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 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

@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; }
}