:root{
  --brand:#1F8A70;
  --accent:#F6AA1C;
  --bg:#f8fafc;
  --text:#1e293b;
  --muted:#64748b;
  --modal-bg: rgba(2,6,23,0.6);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;background:var(--bg);color:var(--text);margin:0;line-height:1.6;overflow-x:hidden}

/* Header */
header{background:#fff;padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;position:sticky;top:0;z-index:120;box-shadow:0 2px 6px rgba(0,0,0,0.05)}
.logo{display:flex;align-items:center;gap:.6rem}
.logo img{width:40px;height:40px;object-fit:cover;border-radius:6px}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-main{font-weight:800;color:var(--brand);font-size:1rem}
.brand-sub{font-size:0.78rem;color:var(--muted)}

/* Nav */
nav{display:flex;gap:.5rem}
.nav-btn{padding:.45rem .8rem;border-radius:8px;border:2px solid transparent;text-decoration:none;font-weight:600;color:var(--brand);transition:all .22s ease}
.nav-btn:hover{background:var(--brand);color:#fff}

/* Mobile menu */
.menu-toggle{display:none;background:none;border:0;font-size:1.35rem;cursor:pointer}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .25s ease;z-index:110}
.overlay.active{opacity:1;pointer-events:auto}
.mobile-nav{position:fixed;top:0;right:0;width:78%;max-width:360px;height:100%;background:#fff;transform:translateX(100%);transition:transform .28s ease;z-index:115;padding:2rem;display:flex;flex-direction:column;gap:1rem}
.mobile-nav.open{transform:translateX(0)}
.mobile-nav .nav-btn{display:block;text-align:center;padding:0.9rem;border-radius:8px;border:2px solid transparent}

/* Hero */
.hero{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:center;padding:3.25rem 1.25rem;max-width:1200px;margin:0 auto}
.hero-text h1{font-size:2.25rem;margin-bottom:.6rem;color:var(--brand);text-transform:capitalize}
.lead{color:var(--muted);margin-bottom:1rem}
.hero-buttons{display:flex;gap:.75rem;flex-wrap:wrap}
.hero-illustration img{width:100%;border-radius:12px;box-shadow:0 6px 20px rgba(15,23,42,.06)}

/* Sections */
.section{max-width:1200px;margin:3rem auto;padding:0 1.25rem}
.section h2{text-align:center;color:var(--brand);font-size:1.75rem;margin-bottom:.75rem}
.subtitle{color:var(--muted);text-align:center;margin-bottom:1.25rem}

/* About */
.about-content{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;align-items:center}
.about-content img{width:100%;border-radius:10px;box-shadow:0 2px 12px rgba(0,0,0,0.06)}

/* Grid & cards */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}
.card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 4px 18px rgba(2,6,23,0.06);transition:transform .22s ease}
.card:hover{transform:translateY(-6px)}
.card img{width:100%;height:180px;object-fit:cover}
.card-body{padding:1rem}
.card-actions{margin-top:0.8rem}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:start}
.contact-form, .contact-info{background:#fff;padding:1.25rem;border-radius:10px;box-shadow:0 6px 20px rgba(2,6,23,0.06)}
.contact-form label{display:block;margin-bottom:.35rem;font-weight:600}
.contact-form input,.contact-form textarea{width:100%;padding:.65rem;border-radius:8px;border:1px solid #e6e9ef;margin-bottom:.75rem;font-family:inherit}
.form-row{display:flex;gap:.6rem;align-items:center}
.btn{display:inline-block;padding:.65rem 1rem;border-radius:8px;text-decoration:none;font-weight:700;cursor:pointer;border:0}
.btn-primary{background:var(--brand);color:#fff}
.btn-outline{background:transparent;border:2px solid var(--brand);color:var(--brand)}

.success{color:var(--brand);display:none;margin-top:.6rem}

/* Modal */
.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .25s ease;z-index:140}
.modal.open{opacity:1;pointer-events:auto}
.modal::before{content:'';position:absolute;inset:0;background:var(--modal-bg);backdrop-filter:blur(3px)}
.modal-content{position:relative;background:#fff;border-radius:12px;max-width:880px;width:92%;z-index:141;box-shadow:0 10px 30px rgba(2,6,23,0.3);overflow:hidden}
.modal-close{position:absolute;right:10px;top:8px;background:transparent;border:0;font-size:1.4rem;cursor:pointer;padding:8px}
.modal-body{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:1.25rem;align-items:start}
.modal-body img{width:100%;height:220px;object-fit:cover;border-radius:8px}
.modal-actions{margin-top:0.8rem}

/* Footer */
footer{background:var(--brand);color:#fff;text-align:center;padding:1rem;margin-top:2.5rem}

/* Back to top */
#backToTop{position:fixed;right:20px;bottom:20px;width:46px;height:46px;border-radius:50%;border:0;background:var(--brand);color:#fff;font-size:1.2rem;display:none;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,0.18);cursor:pointer;z-index:130}
#backToTop.show{display:flex}
#backToTop:hover{transform:translateY(-4px)}

/* Fade-in */
.fade-in{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.fade-in.visible{opacity:1;transform:none}

/* Responsive */
@media (max-width:900px){.hero{grid-template-columns:1fr}.about-content{grid-template-columns:1fr}.contact-grid{grid-template-columns:1fr}.modal-body{grid-template-columns:1fr}}
@media (max-width:560px){nav{display:none}.menu-toggle{display:block}}
