:root {
    --primary: #4a5d4e;
    --secondary: #d4a373;
    --accent: #faedcd;
    --bg: #fefae0;
    --text: #283618;
    --white: #ffffff;
    --border: rgba(40, 54, 24, 0.1);
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1.5rem 0;
    background: rgba(254, 250, 224, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.8rem 3rem;
    border-radius: 100px;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Buttons */
.earth-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(74, 93, 78, 0.2);
}

.earth-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 93, 78, 0.3);
}

.earth-btn.active {
    background: var(--secondary);
}

.earth-btn.sm {
    padding: 0.8rem 2rem;
    font-size: 0.8rem;
}

.earth-btn.outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.earth-btn.full {
    width: 100%;
    text-align: center;
}

.text-link {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.text-link:hover {
    opacity: 0.6;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 8rem;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2.5rem;
    color: var(--primary);
}

.hero h1 span {
    color: var(--secondary);
    opacity: 0.5;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: #606c38;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.s1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -100px;
    left: -100px;
}

.s2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: 100px;
    right: 0;
}

/* Sections */
section {
    padding: 12rem 0;
}

.section-title-wrap {
    margin-bottom: 6rem;
}

.section-title-wrap.centered {
    text-align: center;
}

.section-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
}

.section-title span {
    color: var(--secondary);
}

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

.service-card {
    padding: 5rem 3rem;
    background: var(--white);
    border-radius: 4rem 4rem 10rem 4rem;
    transition: var(--transition);
}

.icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(74, 93, 78, 0.08);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.project-card {
    cursor: pointer;
}

.project-img-box {
    width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    border-radius: 20rem 20rem 3rem 3rem;
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.project-card:hover .project-img-box {
    transform: scale(1.02);
    filter: sepia(0.3);
}

.project-details h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.project-details p {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* Gallery */
.soft-bg {
    background: var(--accent);
    border-radius: 10rem 0 10rem 0;
    margin: 0 2rem;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.gallery-item {
    border-radius: 2rem;
    overflow: hidden;
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.pricing-card {
    padding: 6rem 4rem;
    background: var(--white);
    border-radius: 3rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card.main {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.pricing-card.main h4 {
    color: var(--accent);
}

.pricing-card.main li {
    border-color: rgba(255, 255, 255, 0.1);
}

.popular {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 800;
}

.price {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 2rem 0;
}

.price span {
    font-size: 1rem;
    opacity: 0.6;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 5rem;
    text-align: left;
}

.pricing-card li {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
}

/* Testimonials */
.testimonial-slider {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.quote {
    font-size: 3rem;
    font-weight: 600;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 3rem;
    line-height: 1.3;
}

.author {
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 2px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    cursor: pointer;
}

.dot.active {
    background: var(--primary);
}

/* Contact Box */
.contact-box {
    background: var(--primary);
    border-radius: 10rem 10rem 0 0;
    color: var(--white);
    padding: 10rem 4rem !important;
}

.contact-box .section-title {
    color: var(--white);
    margin-bottom: 6rem;
    text-align: center;
}

.earth-form {
    max-width: 900px;
    margin: 0 auto;
}

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

input,
textarea {
    width: 100%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    color: var(--white);
    font-family: inherit;
    font-size: 1.1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-top: 8rem;
}

.social-links a {
    color: var(--accent);
    font-size: 2.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary);
    transform: scale(1.2);
}

/* Footer */
.footer {
    padding: 4rem 0;
    background: var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 3rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(40, 54, 24, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg);
    margin: 5% auto;
    padding: 6rem;
    width: 70%;
    max-width: 900px;
    border-radius: 5rem;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 3rem;
    right: 3rem;
    font-size: 3rem;
    color: var(--primary);
    border: none;
    background: transparent;
    cursor: pointer;
}

.modal-desc {
    font-size: 1.5rem;
    margin-top: 2rem;
    color: #606c38;
}

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

.step {
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.step span {
    display: block;
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Drawer */
.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 2005;
    padding: 4rem;
    transition: var(--transition);
}

.drawer.active {
    right: 0;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 6rem;
}

.drawer-links a {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 5rem;
    }

    .hero-bg-shapes {
        display: none;
    }

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

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

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

    .gallery-masonry {
        grid-template-columns: 1fr 1fr;
    }

    .modal-content {
        width: 90%;
        padding: 4rem 2rem;
    }

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

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

    .menu-toggle {
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote {
        font-size: 1.8rem;
    }
}