/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest-900: #0d2818;
    --forest-800: #14432a;
    --forest-700: #1a5c38;
    --forest-600: #227a4a;
    --forest-500: #2d9259;
    --forest-400: #4aa872;
    --forest-300: #7bc49a;
    --forest-200: #a8d8b9;
    --forest-100: #d4ecd9;
    --forest-50:  #eaf5ea;
    --cream:      #faf9f6;
    --cream-dark: #f3f1ec;
    --white:      #ffffff;
    --gray-900:   #1a1a1a;
    --gray-700:   #3d3d3d;
    --gray-600:   #555555;
    --gray-500:   #737373;
    --gray-400:   #949494;
    --gray-300:   #bfbfbf;
    --gray-200:   #e0e0e0;
    --gray-100:   #f0f0f0;
    --shadow-sm:  0 1px 2px rgba(13,40,24,0.06);
    --shadow-md:  0 4px 12px rgba(13,40,24,0.08);
    --shadow-lg:  0 12px 32px rgba(13,40,24,0.12);
    --shadow-xl:  0 20px 48px rgba(13,40,24,0.15);
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--forest-900);
    line-height: 1.2;
    font-weight: 700;
}

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

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

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

/* ===== HEADER ===== */
.site-header {
    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(--forest-100);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest-800);
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--forest-700);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--forest-600);
    transition: var(--transition);
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--forest-800);
    padding: 8px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--forest-800);
    border-color: var(--forest-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--forest-700);
    border-color: var(--forest-300);
}

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

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== HERO ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--forest-50) 50%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--forest-100) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--forest-100) 0%, transparent 70%);
    opacity: 0.4;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--forest-200);
    color: var(--forest-700);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--forest-900);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

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

.hero-visual {
    position: relative;
    min-height: 420px;
}

.hero-main-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(13,40,24,0.85) 0%, transparent 100%);
}

.hero-card-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--forest-200);
    margin-top: 4px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.floating-icon {
    width: 40px;
    height: 40px;
    background: var(--forest-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-700);
    flex-shrink: 0;
}

.floating-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--forest-900);
    line-height: 1.2;
}

.floating-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.floating-card-1 {
    top: 20px;
    right: -20px;
    animation: float1 4s ease-in-out infinite;
}

.floating-card-2 {
    bottom: 80px;
    left: -30px;
    animation: float2 5s ease-in-out infinite;
}

.floating-card-3 {
    bottom: -10px;
    right: 20px;
    animation: float3 4.5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--forest-600);
    background: var(--forest-50);
    border: 1px solid var(--forest-200);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

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

/* ===== SERVICES ===== */
.services {
    padding: 96px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--cream);
    border: 1px solid var(--forest-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--forest-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--forest-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-700);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--forest-700);
    color: var(--white);
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--forest-800);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ===== ABOUT ===== */
.about {
    padding: 96px 0;
    background: var(--cream);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-features {
    margin-top: 32px;
    display: grid;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--forest-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-700);
    flex-shrink: 0;
}

.about-visual {
    position: relative;
}

.about-image-grid {
    display: grid;
    gap: 16px;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-img-secondary {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img-secondary img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* ===== PROJECTS ===== */
.projects {
    padding: 96px 0;
    background: var(--white);
}

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

.project-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--forest-100);
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.project-img {
    overflow: hidden;
    height: 220px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-info {
    padding: 24px;
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--forest-600);
    background: var(--forest-50);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.project-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--forest-800);
    margin-bottom: 8px;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 96px 0;
    background: var(--forest-800);
}

.testimonials .section-tag {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--forest-200);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-desc {
    color: var(--forest-300);
}

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

.testimonial-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: 20px;
    color: var(--forest-400);
}

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--forest-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}

.author-location {
    font-size: 0.8rem;
    color: var(--forest-300);
}

/* ===== CTA / CONTACT ===== */
.cta {
    padding: 96px 0;
    background: var(--cream);
}

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

.cta-content .section-tag {
    margin-bottom: 16px;
}

.cta-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-contacts {
    display: grid;
    gap: 20px;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--forest-100);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.cta-contact-item:hover {
    border-color: var(--forest-300);
    box-shadow: var(--shadow-md);
}

.cta-contact-icon {
    width: 44px;
    height: 44px;
    background: var(--forest-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-700);
    flex-shrink: 0;
}

.cta-contact-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.cta-contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--forest-800);
}

.cta-form-wrapper {
    background: var(--white);
    border: 1px solid var(--forest-100);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--forest-800);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest-500);
    box-shadow: 0 0 0 3px var(--forest-100);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--forest-50);
    border: 1px solid var(--forest-200);
    border-radius: var(--radius-sm);
    color: var(--forest-800);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}

.form-success.show {
    display: flex;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--forest-900);
    color: var(--forest-200);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
}

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

.footer-desc {
    font-size: 0.9rem;
    color: var(--forest-300);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
    display: block;
    font-size: 0.88rem;
    color: var(--forest-300);
    padding: 5px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 4px;
}

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

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--forest-400);
}

/* ===== MOBILE NAV ===== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,40,24,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        max-width: 500px;
    }

    .services-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-inner,
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content .section-title,
    .cta-content .section-title {
        text-align: center;
    }

    .about-content .section-header,
    .cta-content .section-header {
        text-align: center;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-xl);
    }

    .nav.open {
        right: 0;
    }

    .nav-overlay.active {
        display: block;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .floating-card {
        display: none;
    }

    .services-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-img-main img {
        height: 300px;
    }

    .about-img-secondary img {
        height: 200px;
    }

    .cta-form-wrapper {
        padding: 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

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

    .services,
    .about,
    .projects,
    .testimonials,
    .cta {
        padding: 64px 0;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .floating-card {
        animation-duration: 4s;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
