:root {
    --primary: #5a6b45;
    --primary-dark: #4a5a38;
    --primary-light: #6a7b55;
    --bg: #f2f0ef;
    --bg-alt: #e0e1db;
    --nav-footer: #222924;
    --text: #111827;
    --text-muted: #6b7280;
    --border: #d1d5db;
    --accent: #aab299;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Header */
header {
    background: var(--nav-footer);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    letter-spacing: -0.01em;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.nav-links a.btn-primary {
    color: white !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 107, 69, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--accent);
    border-color: var(--text-muted);
}

/* Hero */
.hero {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
    text-align: left;
    position: relative;
}

.hero .section-header-title {
    margin-bottom: 2rem;
}

.hero-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0;
    line-height: 1.5;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 2.5rem;
    color: var(--text);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-cta .btn-primary {
    border-radius: 2rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* Sections */
section {
    padding: 4rem 1.5rem;
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header {
    text-align: left;
    margin-bottom: 3rem;
}

.section-header-title {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.section-arrow {
    flex-shrink: 0;
    margin-top: 0.5em;
    color: var(--text);
}

.section-header h2,
.section-header-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 0;
    color: var(--text);
}

.hero .section-header-title h2 {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0;
}

.section-header p.full-width {
    max-width: none;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-icon {
    width: 1.75rem;
    height: 1.75rem;
    background: var(--accent);
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--nav-footer);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Process */
.process-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.process-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.process-number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.process-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.process-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.process-content ul {
    margin-top: 0.75rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.8;
}

.process-content ul li {
    margin-bottom: 0.5rem;
}

.process-content ul strong {
    color: var(--text);
    font-weight: 600;
}

.commitment-box {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--nav-footer);
    color: white;
    border-radius: 0.75rem;
}

.commitment-box p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.commitment-box strong {
    color: white;
    font-weight: 600;
}

/* Outcomes */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.outcome-card {
    padding: 1.5rem;
    background: #f2f0ef;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
}

.outcome-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.outcome-icon {
    width: 1.5rem;
    height: 1.5rem;
    background: var(--accent);
    border-radius: 0.375rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--nav-footer);
}

.outcome-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* About */
#about .section-header p {
    max-width: none;
}

.about-intro {
    text-align: left;
    margin: 0 0 3rem 0;
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Contact */
#contact .section-header p {
    max-width: none;
}

.contact-intro {
    text-align: left;
    margin: 0 0 3rem 0;
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    padding: 2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    text-align: center;
}

.team-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 2px solid var(--border);
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.team-card p:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--nav-footer);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 1.5rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.footer-content a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-content a:hover {
    color: white;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Background alternation */
.bg-alt {
    background: var(--bg-alt);
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0;
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: var(--accent);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
}

.required {
    color: #dc2626;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    transition: all 0.2s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(90, 107, 69, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 0;
    transition: all 0.2s;
}

.radio-label:hover {
    background: transparent;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.radio-custom {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    min-height: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg);
    position: relative;
    transition: all 0.2s;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary);
    background: var(--bg);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 50%;
    background: var(--primary);
}

.radio-text {
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.5;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.error-message {
    display: block;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.form-submit {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-submit .btn-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border: none;
    width: auto;
}

.form-status {
    min-height: 1.5rem;
    font-size: 0.9375rem;
    text-align: center;
}

.form-status.error {
    color: #dc2626;
}

.form-status.success {
    color: #059669;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-submit .btn-primary {
        width: 100%;
    }
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.mobile-menu a:hover {
    color: white;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero {
        padding: 3rem 1.5rem 2.5rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .process-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}