:root {
    --bg-primary: #ffffff;
    --bg-sec: #f6f8f5;
    --card-bg: #ffffff;
    --accent-pri: #16a34a;
    --accent-sec: #84cc16;
    --earth: #a16207;
    --text-pri: #0f172a;
    --text-sec: #64748b;
    --border: #e2e8f0;
    
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container-max: 1200px;
    --rad-sm: 8px;
    --rad-md: 16px;
    --rad-lg: 24px;
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 15px 35px rgba(22, 163, 74, 0.1);
    
    --header-h: 80px;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-pri);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { color: var(--text-sec); margin-bottom: 1rem; }

.text-center { text-align: center; }
.section-header { max-width: 700px; margin: 0 auto 3rem auto; text-align: center; }
.text-earth { color: var(--earth); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.875rem; display: block; margin-bottom: 0.5rem; }

/* Layout & Spacing */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 100px 0; }
.section-bg { background-color: var(--bg-sec); }

@media (max-width: 991px) { .section { padding: 70px 0; } }
@media (max-width: 767px) { .section { padding: 50px 0; } }

/* Grid System */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--rad-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-sec), var(--accent-pri));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.3);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: var(--text-pri);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent-pri);
    color: var(--accent-pri);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-pri);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: var(--accent-pri);
    border-radius: 6px 12px 6px 12px;
}

.nav-toggle, .hamburger { display: none; }

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

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

.nav-links a {
    font-weight: 500;
    color: var(--text-sec);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-pri);
    transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-pri);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

@media (max-width: 991px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 1001;
    }
    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-pri);
        transition: all 0.3s ease;
    }
    .nav-menu {
        position: absolute;
        top: var(--header-h);
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-soft);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease;
        opacity: 0;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .nav-toggle:checked ~ .nav-menu {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
    }
    .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

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

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

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

.hero-image {
    position: relative;
    border-radius: var(--rad-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(22, 163, 74, 0.1), transparent);
}

@media (max-width: 991px) {
    .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { margin-inline: auto; }
    .hero-btns { justify-content: center; }
}
@media (max-width: 480px) {
    .hero-btns { flex-direction: column; }
}

/* Cards (Services, Pricing, etc) */
.card {
    background: var(--card-bg);
    border-radius: var(--rad-md);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(22, 163, 74, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-sec);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-pri);
}

.card-icon svg { width: 32px; height: 32px; }

.service-link {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--accent-pri);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-link:hover { gap: 12px; }

/* Pricing specific */
.pricing-card {
    text-align: center;
    position: relative;
}
.pricing-card.popular {
    border-color: var(--accent-pri);
    box-shadow: var(--shadow-soft);
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-pri);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}
.price { font-size: 2.5rem; font-weight: 700; color: var(--text-pri); margin: 1rem 0; }
.price span { font-size: 1rem; color: var(--text-sec); font-weight: 400; }
.pricing-list { margin: 2rem 0; text-align: left; }
.pricing-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.pricing-list li::before {
    content: '✓';
    color: var(--accent-pri);
    font-weight: bold;
}

/* Projects Gallery */
.gallery-item {
    border-radius: var(--rad-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h3 { color: white; margin-bottom: 0.25rem; font-size: 1.25rem; }
.gallery-overlay p { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.875rem; }

/* How It Works & Trust */
.step-item, .trust-item {
    text-align: center;
}
.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-pri);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 1.5rem auto;
}
.trust-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem auto;
    color: var(--earth);
}

/* Testimonials */
.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--rad-md);
    border: 1px solid var(--border);
}
.stars { color: var(--earth); margin-bottom: 1rem; }
.client-info { display: flex; align-items: center; gap: 15px; margin-top: 1.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.client-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.client-details h4 { margin: 0; font-size: 1rem; }
.client-details span { font-size: 0.875rem; color: var(--text-sec); }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-pri); }
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--rad-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-sec);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-pri);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}
textarea.form-control { resize: vertical; min-height: 150px; }

/* Page Header (Inner pages) */
.page-header {
    padding: calc(var(--header-h) + 80px) 0 80px 0;
    background: var(--bg-sec);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

/* Content Blocks (Legal, Support) */
.content-block {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--rad-md);
    border: 1px solid var(--border);
}
.content-block h2 { margin-top: 2rem; font-size: 1.5rem; }
.content-block h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.content-block ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-sec); }
.content-block li { margin-bottom: 0.5rem; }

/* FAQ */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--rad-sm);
    margin-bottom: 1rem;
    background: var(--card-bg);
}
.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-sec);
    display: none;
}
/* Simplistic CSS-only toggle for FAQ */
.faq-toggle:checked ~ .faq-answer { display: block; }
.faq-toggle:checked ~ .faq-question::after { transform: rotate(180deg); }
.faq-toggle { display: none; }
.faq-question::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--accent-pri);
}

/* Footer */
.footer {
    background: var(--bg-sec);
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-pri);
}
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-sec); }
.footer-links a:hover { color: var(--accent-pri); padding-left: 5px; }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-sec);
    font-size: 0.875rem;
}

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .content-block { padding: 2rem; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .content-block { padding: 1.5rem; }
}