/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green-900: #0f3d2e;
  --green-800: #14532d;
  --green-700: #166534;
  --green-600: #1a7a3c;
  --green-500: #22a24a;
  --green-400: #34c759;
  --green-50:  #ecfdf3;
  --green-100: #d1fae5;
  --white: #ffffff;
  --gray-50: #f8faf9;
  --gray-100: #f1f5f4;
  --gray-200: #e2e8e5;
  --gray-300: #cbd5d1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 6px 24px rgba(15,61,46,.08);
  --shadow-lg: 0 20px 50px rgba(15,61,46,.12);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Poppins', sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 30px; border-radius: 50px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  border: 2px solid transparent; transition: all .25s ease;
  text-align: center; white-space: nowrap;
}
.btn--primary { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.btn--primary:hover { background: var(--green-700); border-color: var(--green-700); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22,101,52,.3); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: var(--white); color: var(--green-700); }
.btn--small { padding: 10px 22px; font-size: 14px; }
.btn--block { width: 100%; }

/* ===== Top Bar ===== */
.topbar { background: var(--green-900); color: rgba(255,255,255,.85); font-size: 14px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 24px; }
.topbar__contact { display: flex; gap: 24px; }
.topbar__contact a { display: flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar__contact a:hover { color: var(--green-400); }
.topbar__loc { display: flex; align-items: center; gap: 6px; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.header.scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--font-head); font-size: 18px;
  box-shadow: 0 4px 12px rgba(22,101,52,.25);
}
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--green-800); letter-spacing: -.3px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--gray-700); transition: color .2s; position: relative; }
.nav a:not(.nav__cta)::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--green-500); transition: width .25s; }
.nav a:not(.nav__cta):hover { color: var(--green-700); }
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta { background: var(--green-600); color: var(--white) !important; padding: 10px 22px; border-radius: 50px; }
.nav__cta:hover { background: var(--green-700); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { width: 26px; height: 3px; background: var(--green-700); border-radius: 3px; transition: .3s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 640px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  overflow: hidden;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(0,0,0,.15), transparent 50%);
}
.hero__inner { position: relative; z-index: 2; padding: 80px 24px; max-width: 760px; }
.hero__badge {
  display: inline-block; background: rgba(255,255,255,.15); color: var(--white);
  padding: 8px 18px; border-radius: 50px; font-size: 14px; font-weight: 600;
  margin-bottom: 24px; border: 1px solid rgba(255,255,255,.25);
}
.hero__title {
  font-family: var(--font-head); font-weight: 900; font-size: clamp(34px, 5vw, 54px);
  line-height: 1.15; color: var(--white); letter-spacing: -1px; margin-bottom: 20px;
}
.hero__title span { color: var(--green-400); }
.hero__subtitle { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 32px; max-width: 600px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: flex; gap: 48px; flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 36px; color: var(--white); font-weight: 800; }
.hero__stats span { font-size: 14px; color: rgba(255,255,255,.8); }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__eyebrow {
  display: inline-block; color: var(--green-600); font-weight: 700;
  font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.section__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 3.5vw, 40px); color: var(--green-900); letter-spacing: -.5px; margin-bottom: 16px; }
.section__desc { font-size: 17px; color: var(--gray-500); }

/* ===== Services ===== */
.services { background: var(--gray-50); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 40px 32px;
  text-align: center; box-shadow: var(--shadow); transition: all .3s ease;
  border: 1px solid var(--gray-100); border-top: 4px solid transparent;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-top-color: var(--green-500); }
.service-card__icon {
  width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--green-50); display: flex; align-items: center; justify-content: center;
  font-size: 36px; transition: all .3s;
}
.service-card:hover .service-card__icon { background: var(--green-600); transform: scale(1.1); }
.service-card h3 { font-family: var(--font-head); font-size: 22px; color: var(--green-900); margin-bottom: 12px; font-weight: 700; }
.service-card p { font-size: 15px; color: var(--gray-500); }

/* ===== About ===== */
.about { background: var(--white); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media-frame {
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  border-radius: var(--radius-lg); height: 440px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); border: 1px solid var(--gray-100);
}
.about__media-emoji { font-size: 140px; }
.about__badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--green-600); color: var(--white); border-radius: var(--radius);
  padding: 24px 28px; text-align: center; box-shadow: var(--shadow-lg);
}
.about__badge strong { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; }
.about__badge span { font-size: 13px; opacity: .9; }
.about__content .section__eyebrow,
.about__content .section__title,
.about__content .section__desc { text-align: left; }
.about__content p { color: var(--gray-500); margin-bottom: 16px; }
.about__list { margin: 24px 0 32px; display: grid; gap: 12px; }
.about__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--gray-700); }
.about__list span { width: 26px; height: 26px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }

/* ===== Why Us ===== */
.why { background: var(--green-50); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; text-align: center; box-shadow: var(--shadow); transition: all .3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card__icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 16px; background: var(--green-600); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.why-card h3 { font-family: var(--font-head); font-size: 19px; color: var(--green-900); margin-bottom: 10px; font-weight: 700; }
.why-card p { font-size: 14px; color: var(--gray-500); }

/* ===== Projects ===== */
.projects { background: var(--white); }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white); padding: 48px 36px; text-align: center;
  transition: all .3s; box-shadow: var(--shadow);
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-card__emoji { font-size: 56px; margin-bottom: 20px; }
.project-card h3 { font-family: var(--font-head); font-size: 24px; margin-bottom: 12px; font-weight: 700; }
.project-card p { font-size: 15px; opacity: .9; }

/* ===== Contact ===== */
.contact { background: var(--gray-50); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__info .section__eyebrow,
.contact__info .section__title,
.contact__info .section__desc { text-align: left; }
.contact__details { margin-top: 36px; display: grid; gap: 24px; }
.contact__item { display: flex; align-items: flex-start; gap: 16px; }
.contact__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--green-100); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact__item strong { display: block; font-size: 15px; color: var(--green-900); margin-bottom: 2px; }
.contact__item a, .contact__item span { font-size: 16px; color: var(--gray-500); transition: color .2s; }
.contact__item a:hover { color: var(--green-600); }
.contact__form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; color: var(--gray-700); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 2px solid var(--gray-200); border-radius: 10px;
  font-family: var(--font); font-size: 15px; color: var(--gray-900); background: var(--white);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(34,162,74,.12);
}
.form-group textarea { resize: vertical; }
.form__note { margin-top: 16px; font-size: 14px; font-weight: 600; text-align: center; min-height: 20px; }
.form__note.success { color: var(--green-600); }
.form__note.error { color: #dc2626; }

/* ===== Footer ===== */
.footer { background: var(--green-900); color: rgba(255,255,255,.7); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 40px; }
.logo--footer .logo__text { color: var(--white); }
.footer__about { font-size: 15px; margin-top: 20px; max-width: 320px; line-height: 1.7; }
.footer__col h4 { font-family: var(--font-head); color: var(--white); font-size: 17px; margin-bottom: 20px; font-weight: 700; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col ul a, .footer__col ul li { font-size: 15px; transition: color .2s; }
.footer__col ul a:hover { color: var(--green-400); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; text-align: center; }
.footer__bottom p { font-size: 14px; color: rgba(255,255,255,.5); }

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--green-600); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  cursor: pointer; opacity: 0; visibility: hidden; transition: all .3s;
  box-shadow: var(--shadow-lg); z-index: 99; border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--green-700); transform: translateY(-4px); }

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 90px; z-index: 99;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: var(--white);
  box-shadow: 0 8px 22px rgba(37,211,102,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float svg { width: 29px; height: 29px; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(37,211,102,.45); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__media-frame { height: 320px; }
  .contact__inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 80px 28px 28px; gap: 8px; box-shadow: var(--shadow-lg);
    transition: right .3s ease; z-index: 200;
  }
  .nav.open { right: 0; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
  .nav__cta { border-bottom: none !important; margin-top: 12px; width: 100%; justify-content: center; }
  .menu-toggle { display: flex; z-index: 210; }
  .topbar__inner { flex-direction: column; gap: 6px; text-align: center; }
  .topbar__contact { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .hero__stats { gap: 32px; }
  .hero__stats strong { font-size: 28px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .whatsapp-float { right: 78px; bottom: 20px; width: 48px; height: 48px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .services__grid, .why__grid, .projects__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero__inner { padding: 60px 24px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .contact__form { padding: 28px; }
  .about__badge { right: 0; }
}
