:root{
  --primary:#2e7d4f;
  --primary-glow:#48a36a;
  --primary-dark:#235e3c;
  --foreground:#1f2a24;
  --muted:#5d6b62;
  --background:#ffffff;
  --secondary:#f3f7f3;
  --accent:#e3f0e6;
  --border:#e2e8e3;
  --card:#ffffff;
  --shadow-card:0 10px 30px -12px rgba(31,42,36,.18);
  --shadow-elegant:0 20px 50px -16px rgba(31,42,36,.28);
  --radius:16px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;color:var(--foreground);background:var(--background);line-height:1.6}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
.container{width:100%;max-width:1120px;margin:0 auto;padding:0 20px}
h1,h2{letter-spacing:-.02em;line-height:1.1}
h2{font-size:clamp(1.7rem,3vw,2.4rem);font-weight:700}
.muted{color:var(--muted)}
.muted.sm{font-size:.85rem}
.strong{font-weight:600}
.eyebrow{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--primary);margin-bottom:.4rem}
.section{padding:6rem 0}
.section-alt{background:var(--secondary)}
.section-head{max-width:620px;margin:0 auto 3.5rem;text-align:center}
.section-head .muted{margin-top:1rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;border-radius:999px;padding:.8rem 1.7rem;font-weight:600;cursor:pointer;border:none;transition:transform .2s,background .2s}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 8px 20px -8px rgba(46,125,79,.6)}
.btn-primary:hover{transform:scale(1.05);background:var(--primary-dark)}
.btn-ghost{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.4);color:#fff;backdrop-filter:blur(6px)}
.btn-ghost:hover{background:rgba(255,255,255,.22)}
.btn.full{width:100%;justify-content:center}

/* Navbar */
#navbar{position:fixed;inset:0 0 auto 0;z-index:50;transition:.3s}
#navbar.scrolled{background:rgba(255,255,255,.92);backdrop-filter:blur(8px);box-shadow:0 1px 0 var(--border)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:1rem 20px}
.brand{display:flex;align-items:center;gap:.55rem;font-weight:700;font-size:1.15rem;color:#fff}
#navbar.scrolled .brand{color:var(--foreground)}
.brand-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:var(--primary);color:#fff}
.brand-logo{height:52px;width:auto;display:block;border-radius:8px}
#navbar.scrolled .brand-logo{height:46px}
.footer-logo{height:60px;background:#fff;padding:6px 10px}
.nav-links{display:flex;gap:2rem;list-style:none;font-size:.92rem;font-weight:500;color:#fff}
#navbar.scrolled .nav-links{color:var(--foreground)}
.nav-links a:hover{color:var(--primary-glow)}
.nav-cta{padding:.55rem 1.3rem;font-size:.9rem}
#menu-toggle{display:none;background:none;border:none;color:#fff;cursor:pointer;padding:.4rem;line-height:0;border-radius:8px}
#navbar.scrolled #menu-toggle{color:var(--foreground)}
#mobile-menu{display:flex;flex-direction:column;gap:.25rem;background:var(--background);border-top:1px solid var(--border);padding:0 20px;max-height:0;overflow:hidden;opacity:0;transition:max-height .35s ease,opacity .25s ease,padding .35s ease;box-shadow:0 12px 24px -12px rgba(0,0,0,.25)}
#mobile-menu a{padding:.85rem .25rem;font-weight:500;color:var(--foreground);border-bottom:1px solid var(--border)}
#mobile-menu a:last-child{border-bottom:none}
#mobile-menu .btn{margin-top:.75rem;justify-content:center;text-align:center}
#mobile-menu.open{max-height:420px;opacity:1;padding:1rem 20px}

/* Hero */
.hero{position:relative;min-height:100vh;display:flex;align-items:center}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(120deg,rgba(20,40,28,.85),rgba(20,40,28,.45))}
.hero-content{position:relative;color:#fff;padding:8rem 20px}
.badge{display:inline-block;background:rgba(255,255,255,.15);backdrop-filter:blur(6px);padding:.35rem 1rem;border-radius:999px;font-size:.85rem;font-weight:500;margin-bottom:1.2rem}
.hero h1{font-size:clamp(2.2rem,5vw,3.6rem);font-weight:800;max-width:760px}
.hero-sub{margin-top:1.4rem;max-width:540px;font-size:1.1rem;color:rgba(255,255,255,.9)}
.hero-actions{margin-top:2.4rem;display:flex;flex-wrap:wrap;gap:1rem}

/* Layout helpers */
.grid-2{display:grid;gap:3rem;align-items:center}
.grid-3{display:grid;gap:2.5rem}
@media(min-width:768px){.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:repeat(3,1fr)}}
.about-img{overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow-elegant)}
.about-img img{width:100%;height:100%;object-fit:cover}
.checklist{list-style:none;margin-top:2rem;display:flex;flex-direction:column;gap:1rem}
.checklist li{display:flex;gap:.7rem;align-items:flex-start}
.checklist li::before{content:"✓";color:#fff;background:var(--primary);width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8rem;flex-shrink:0;margin-top:2px}

/* Cards */
.cards{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media(min-width:600px){.cards{grid-template-columns:1fr 1fr}}
@media(min-width:960px){.cards{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--card);border-radius:var(--radius);padding:1.8rem;box-shadow:var(--shadow-card)}
.service{transition:transform .3s}
.service:hover{transform:translateY(-6px)}
.service .icon{width:56px;height:56px;border-radius:14px;background:var(--accent);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:1.6rem;transition:.3s}
.service:hover .icon{background:var(--primary);color:#fff}
.service h3{margin:1.2rem 0 .6rem;font-size:1.25rem}

/* Projects */
.projects{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media(min-width:600px){.projects{grid-template-columns:1fr 1fr}}
@media(min-width:960px){.projects{grid-template-columns:repeat(4,1fr)}}
.project{position:relative;overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow-card)}
.project img{width:100%;height:260px;object-fit:cover;transition:transform .5s}
.project:hover img{transform:scale(1.1)}
.project.active img{transform:scale(1.1)}
.project{cursor:pointer}
.project-info{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:1.2rem;background:linear-gradient(to top,rgba(20,30,24,.85),rgba(20,30,24,.05),transparent);color:#fff;opacity:0;transition:opacity .3s}
.project:hover .project-info{opacity:1}
.project.active .project-info{opacity:1}
.project-info .tag{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.8)}
.project-info h3{font-size:1.1rem}

/* Contact */
.contact-list{margin-top:2.5rem;display:flex;flex-direction:column;gap:1.3rem}
.contact-item{display:flex;gap:1rem;align-items:flex-start}
.ci-icon{width:48px;height:48px;border-radius:12px;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}
.contact-item a:hover{color:var(--primary)}
.form .field{margin-bottom:1.2rem}
.form label{display:block;font-size:.9rem;font-weight:500;margin-bottom:.5rem}
.form input,.form textarea{width:100%;border:1px solid var(--border);border-radius:10px;padding:.8rem 1rem;font:inherit;color:var(--foreground);background:var(--background);outline:none;transition:.2s;resize:none}
.form input:focus,.form textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(46,125,79,.2)}

/* Footer */
footer{background:var(--foreground);color:#e8efe9}
.footer-grid{padding:3.5rem 20px}
.footer-brand{color:#fff}
.footer-text{margin-top:1rem;max-width:280px;font-size:.9rem;color:rgba(255,255,255,.7)}
footer h4{font-weight:600;margin-bottom:1rem}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:.6rem;font-size:.9rem;color:rgba(255,255,255,.7)}
.footer-links a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding:1.2rem;text-align:center;font-size:.85rem;color:rgba(255,255,255,.6)}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:none}

/* Toast */
#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--foreground);color:#fff;padding:.9rem 1.4rem;border-radius:12px;font-size:.92rem;box-shadow:var(--shadow-elegant);opacity:0;pointer-events:none;transition:.3s;z-index:100}
#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
#toast.error{background:#b3261e}

/* Mobile */
@media(max-width:768px){
  .nav-links,.nav-cta{display:none}
  #menu-toggle{display:block}
  .section{padding:4rem 0}
}
