/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-900: #0b1f0e;
    --green-800: #113117;
    --green-700: #1a4a22;
    --green-600: #226030;
    --green-500: #2d7a3e;
    --green-400: #4a9f5c;
    --green-100: #d1e8d6;
    --green-50:  #eaf5ec;
    --cream:     #f7f5f0;
    --cream-light:#faf9f6;
    --white:     #ffffff;
    --black:     #0a0a0a;
    --gray-900:  #1a1a1a;
    --gray-700:  #3a3a3a;
    --gray-500:  #6b6b6b;
    --gray-300:  #b0b0b0;
    --gray-200:  #d4d4d4;
    --gray-100:  #eee;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--gray-900);
    background: var(--cream-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow 0.3s var(--ease-smooth);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--green-700);
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 24px;
    height: 24px;
    stroke: var(--green-700);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: var(--gray-700);
    transition: color 0.2s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-600);
    transition: width 0.3s var(--ease-out);
}

.nav-menu a:hover {
    color: var(--green-700);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: var(--green-700) !important;
    border: 1px solid var(--green-200, #c8e0cc);
    padding: 8px 18px;
    border-radius: 100px;
    transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
    background: var(--green-700) !important;
    color: var(--white) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
    stroke: var(--gray-700);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 31, 14, 0.72) 0%,
        rgba(11, 31, 14, 0.65) 50%,
        rgba(11, 31, 14, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 120px 24px 80px;
}

.hero-label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-400);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: var(--green-100);
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
    max-width: 540px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
    z-index: 1;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-600);
    color: var(--white);
    border-color: var(--green-600);
}

.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 74, 34, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

.btn-light {
    background: var(--white);
    color: var(--green-800);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--green-50);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-ghost-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

.btn-outline {
    background: transparent;
    color: var(--green-700);
    border-color: var(--green-200, #c8e0cc);
}

.btn-outline:hover {
    background: var(--green-50);
    border-color: var(--green-500);
}

.btn-full {
    width: 100%;
}

/* ── Features ── */
.features {
    padding: 120px 0;
    background: var(--cream-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature {
    padding: 32px 24px;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.feature:hover {
    border-color: var(--green-100);
    box-shadow: 0 8px 32px rgba(26, 74, 34, 0.06);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--green-600);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature h3 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.feature p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-500);
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-500);
}

/* ── Courses ── */
.courses {
    padding: 120px 0;
    background: var(--white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.course-card {
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.course-card:hover {
    border-color: var(--green-100);
    box-shadow: 0 12px 40px rgba(26, 74, 34, 0.08);
    transform: translateY(-4px);
}

.course-image {
    height: 220px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.course-card:hover .course-image img {
    transform: scale(1.04);
}

.course-body {
    padding: 28px;
}

.course-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-600);
    background: var(--green-50);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.course-body h3 {
    font-size: 1.1875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.course-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.course-list {
    list-style: none;
    margin-bottom: 24px;
}

.course-list li {
    font-size: 0.875rem;
    color: var(--gray-700);
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
}

.course-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-400);
}

/* ── Process ── */
.process {
    padding: 120px 0;
    background: var(--cream);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    padding: 32px 24px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 52px;
    width: 1px;
    height: calc(100% - 64px);
    background: var(--gray-200);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--green-100);
    line-height: 1;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.process-step p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-500);
}

/* ── CTA Banner ── */
.cta-banner {
    padding: 100px 0;
    background: var(--green-800);
    text-align: center;
}

.cta-banner h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background: var(--cream-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-info .section-label {
    margin-bottom: 12px;
}

.contact-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--gray-500);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    width: 22px;
    height: 22px;
    stroke: var(--green-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    font-size: 1rem;
    color: var(--gray-900);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--green-600);
}

/* ── Form ── */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-900);
    background: var(--cream-light);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-400);
    box-shadow: 0 0 0 3px rgba(45, 122, 62, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

.form-success {
    display: none;
    text-align: center;
    padding: 16px;
    font-size: 0.9375rem;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 8px;
    margin-top: 8px;
}

.form-success.visible {
    display: block;
}

/* ── Footer ── */
.footer {
    background: var(--green-900);
    color: rgba(255,255,255,0.6);
    padding: 72px 0 40px;
}

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

.footer-brand .nav-logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .nav-logo-icon {
    stroke: var(--white);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a {
    font-size: 1rem;
    color: var(--white);
    font-weight: 400;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--green-400);
}

.footer-contact span {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-100);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-inner {
        gap: 0;
    }
    
    .hero-content {
        padding: 100px 24px 60px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-banner {
        padding: 72px 0;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .contact-form-wrap {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
