:root {
    --clr-background: #F9F6F0;
    --clr-surface: #FFFFFF;
    --clr-surface-alt: #EFECE3;
    --clr-primary: #1C3322;
    --clr-primary-light: #2A4D33;
    --clr-accent: #A65A2E;
    --clr-accent-hover: #8A4822;
    --clr-text-main: #1D1B1A;
    --clr-text-muted: #66635C;
    --clr-border: #D5D1C6;
    --font-heading: 'Lora', serif;
    --font-body: 'Manrope', sans-serif;
    --container-width: 1200px;
    --container-small: 800px;
    --radius: 4px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--clr-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--clr-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-fluid {
    width: 100%;
}

.rounded {
    border-radius: var(--radius);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-small {
    max-width: var(--container-small);
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-0 { margin-top: 0 !important; }
.text-large { font-size: 1.25rem; }
.text-muted { color: var(--clr-text-muted); }
.border-none { border: none !important; }

.grid {
    display: grid;
    gap: 3rem;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.align-center {
    align-items: center;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-background);
    color: var(--clr-background);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--clr-background);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: background-color 0.3s ease;
    background-color: rgba(249, 246, 240, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--clr-border);
}

.navbar-solid {
    background-color: var(--clr-background);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--clr-text-main);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--clr-accent);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

.section {
    padding: 6rem 0;
}

.bg-light { background-color: var(--clr-surface-alt); }
.bg-dark { background-color: var(--clr-primary); color: var(--clr-surface); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--clr-surface); }
.bg-dark p { color: rgba(255, 255, 255, 0.8); }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 3rem;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 5rem;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
}

.problem-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--clr-text-muted);
}

.problem-image-wrapper img {
    object-fit: cover;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background-color: var(--clr-surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--clr-border);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--clr-border);
    margin-bottom: 1rem;
    line-height: 1;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-featured {
    padding: 0;
    border: none;
    overflow: hidden;
    background: transparent;
}

.card-featured:hover {
    transform: none;
    box-shadow: none;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .curriculum-grid { grid-template-columns: 1fr; }
}

.timeline {
    list-style: none;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--clr-accent);
    opacity: 0.3;
}

.timeline li {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline li:last-child {
    margin-bottom: 0;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--clr-accent);
    border: 3px solid var(--clr-background);
}

.timeline h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline p {
    color: var(--clr-text-muted);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.audience-item {
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
}

.audience-item h4 {
    font-size: 1.5rem;
    color: var(--clr-accent);
}

@media (max-width: 768px) {
    .audience-grid { grid-template-columns: 1fr; }
}

.form-section {
    background-color: var(--clr-surface-alt);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--clr-surface);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--clr-background);
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--clr-accent);
}

.form-disclaimer {
    margin-top: 1rem;
    font-size: 0.875rem;
    text-align: center;
    color: var(--clr-text-muted);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--clr-border);
    padding: 1.5rem 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--clr-border);
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--clr-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--clr-accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-top: 1rem;
    margin-bottom: 0;
    color: var(--clr-text-muted);
}

.footer {
    background-color: var(--clr-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer .brand-logo {
    color: white;
}

.footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links a, .footer-legal a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--clr-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.legal-info {
    margin-top: 0.5rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

.page-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.success-icon {
    font-size: 5rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.document-page {
    padding-top: 8rem;
}

.document-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.document-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--clr-text-muted);
}

.document-content p {
    color: var(--clr-text-muted);
}
