:root {
  --green: #1a7f5a;
  --green-dark: #146344;
  --ink: #0f2a20;
  --muted: #5b6f66;
  --bg: #ffffff;
  --alt: #f4f8f6;
  --line: #e2ebe7;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(15, 42, 32, .28);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .3px;
}
.logo span:not(.logo-badge) { color: var(--green); }
.logo-badge {
  background: var(--green);
  color: #fff;
  font-size: .8rem;
  border-radius: 9px;
  padding: 5px 8px;
  letter-spacing: .5px;
}

.menu { display: flex; gap: 22px; }
.menu a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.menu a:hover { color: var(--green); }

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); }
.btn.ghost { background: transparent; border: 1.5px solid var(--green); color: var(--green); }

.nav-cta { font-size: .9rem; padding: 10px 20px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.eyebrow {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 14px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; }
h1 span { color: var(--green); }

.lead { color: var(--muted); max-width: 46ch; margin: 22px 0 30px; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { display: flex; justify-content: center; }
.chart-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  width: min(100%, 420px);
}
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tag.up { background: #e4f6ee; color: var(--green); font-weight: 800; border-radius: 999px; padding: 4px 12px; }
.chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 180px;
}
.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  border-radius: 8px 8px 4px 4px;
  opacity: .55;
}
.bar:last-child { opacity: 1; }

/* Sections */
.section { padding: clamp(56px, 7vw, 88px) clamp(20px, 5vw, 64px); }
.section.alt { background: var(--alt); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* Services */
.grid.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.services article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.services article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.services .icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.services h3 { margin-bottom: 8px; }
.services p { color: var(--muted); font-size: .95rem; }

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.work-grid figure {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.work-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s ease; }
.work-grid figure:hover img { transform: scale(1.06); }

/* Logos */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.logos span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 26px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--muted);
  box-shadow: 0 6px 18px -10px rgba(15,42,32,.2);
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.team figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
}
.team figcaption strong { display: block; }
.team figcaption small { color: var(--muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.contact-info h3 { margin-bottom: 16px; }
.ci { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; color: var(--muted); font-size: 1.02rem; }
.ci a:hover { color: var(--green); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: var(--alt);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--green); background: #fff; }

/* Footer */
footer {
  background: var(--ink);
  color: #cfe0d8;
  padding: 48px clamp(20px, 5vw, 64px) 28px;
}
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .logo span:not(.logo-badge) { color: var(--green); }
footer .logo { color: #fff; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.socials a:hover { background: var(--green); }
.footer-bottom { text-align: center; margin-top: 32px; font-size: .85rem; color: #8aa49a; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .menu { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
}