:root {
  --green-950: #07231a;
  --green-900: #0b2e1f;
  --green-800: #0f3f27;
  --green-700: #125a30;
  --green-600: #17803a;
  --green-500: #1f9a3e;
  --green-400: #35b556;
  --ink: #14211a;
  --muted: #4f5d55;
  --bg: #f3f6f4;
  --card: #ffffff;
  --line: #dfe6e1;
  --radius: 8px;
  --shadow: 0 4px 18px rgba(7, 35, 26, .08);
  --container: 1090px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { flex-shrink: 0; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

.eyebrow {
  margin: 0 0 6px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 5px;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--green-500); color: #fff; box-shadow: 0 6px 16px rgba(31, 154, 62, .35); }
.btn-primary:hover { background: var(--green-600); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--green-800); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e4f3e8; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.brand { display: flex; align-items: flex-end; gap: 8px; text-decoration: none; margin-right: auto; padding: 6px 0; }
.brand img { width: 62px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; padding-bottom: 4px; }
.brand-name {
  font-weight: 800;
  font-size: 2.45rem;
  letter-spacing: -.02em;
  line-height: .9;
  color: var(--green-700);
  background: linear-gradient(180deg, var(--green-500) 0%, var(--green-800) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-sub { margin-top: 3px; font-weight: 700; font-size: .7rem; color: var(--green-800); }

.main-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block;
  padding: 9px 6px;
  font-weight: 600;
  font-size: .86rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--green-500); border-color: var(--green-500); }
.header-cta { margin-left: 36px; padding: 10px 22px; }

.nav-toggle { display: none; background: none; border: 0; padding: 6px; margin-right: -6px; cursor: pointer; color: var(--green-800); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--green-900); }
.hero-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--green-900) 0%, var(--green-900) 34%, rgba(11, 46, 31, .75) 46%, rgba(11, 46, 31, 0) 64%);
}
.hero-inner { position: relative; z-index: 2; padding: 30px 0 22px; max-width: 470px; min-height: 318px; }
.hero .eyebrow { color: #e7efe9; font-size: .72rem; }
.hero .eyebrow span { margin: 0 8px; }
.hero h1 { margin: 0 0 12px; font-size: 2.45rem; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.hero p { margin: 0 0 20px; font-size: .98rem; color: #e6eee8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Services */
.services { padding: 20px 0 20px; }
.section-head { text-align: center; margin-bottom: 24px; }
.section-head .eyebrow { color: var(--green-600); }
.section-head h2 { margin: 0; font-size: 1.55rem; font-weight: 800; }
.section-head h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin: 10px auto 0;
  background: var(--green-500);
  border-radius: 2px;
}

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-card {
  background: var(--card);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(7, 35, 26, .14); }
.service-media { position: relative; }
.service-media img { width: 100%; aspect-ratio: 2.8 / 1; object-fit: cover; }
.service-icon {
  position: absolute;
  left: 14px;
  bottom: -19px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
}
.service-icon svg { width: 20px; height: 20px; }
.service-body { padding: 24px 20px 18px; }
.service-body h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; }
.service-body p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.45; }

/* USPs */
.usps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.usp { display: flex; gap: 16px; align-items: center; padding: 4px 22px; }
.usp:first-child { padding-left: 0; }
.usp + .usp { border-left: 1px solid var(--line); }
.usp svg { width: 42px; height: 42px; color: var(--green-600); }
.usp h3 { margin: 0 0 1px; font-size: .92rem; font-weight: 800; }
.usp p { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.4; }

/* About + contact */
.about {
  position: relative;
  color: #fff;
  background: var(--green-900) url("../img/about-bg.jpg") center / cover no-repeat;
}
.about::before { content: ""; position: absolute; inset: 0; background: rgba(8, 36, 22, .82); }
.about-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 344px;
  gap: 56px;
  align-items: center;
  padding: 16px 0 24px;
}
.about .eyebrow { color: #e7efe9; }
.about h2 { margin: 0 0 10px; font-size: 1.95rem; line-height: 1.15; font-weight: 800; }
.about p { margin: 0 0 16px; color: #e3ebe5; font-size: .98rem; max-width: 540px; }

.contact-card {
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 18px 22px 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .25);
}
.contact-card h2 { margin: 0 0 2px; font-size: 1.15rem; font-weight: 800; }
.contact-card > p { margin: 0 0 14px; color: var(--muted); font-size: .85rem; }
.contact-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; font-size: .85rem; }
.contact-list li { display: flex; gap: 18px; align-items: center; }
.contact-list svg { width: 18px; height: 18px; color: var(--green-600); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--green-600); text-decoration: underline; }
.contact-card .btn { padding: 9px 16px; font-size: .85rem; }

/* Footer */
.site-footer { background: var(--green-950); color: #d3ded7; font-size: .76rem; }
.footer-inner { display: flex; align-items: center; gap: 24px; min-height: 46px; flex-wrap: wrap; padding: 6px 0; }
.footer-inner p { margin: 0 auto 0 0; }
.footer-links { display: flex; gap: 12px; align-items: center; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.to-top {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: 44px;
  border-radius: 50%;
  border: 2px solid var(--green-400);
  color: #fff;
  text-decoration: none;
}
.to-top:hover { background: var(--green-500); }
.to-top svg { width: 16px; height: 16px; }

/* WhatsApp */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 30px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.whatsapp:hover { transform: scale(1.07); }
.whatsapp svg { width: 30px; height: 30px; }

/* Legal pages */
.legal { padding: 48px 0 64px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: 2rem; margin-top: 0; }
.legal h2 { font-size: 1.15rem; margin-top: 28px; }
.legal .notice {
  background: #fff8e8;
  border: 1px solid #ecd49c;
  border-radius: 8px;
  padding: 14px 18px;
  color: #6b4f14;
}

:focus-visible { outline: 3px solid var(--green-400); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Tablet */
@media (max-width: 1024px) {
  .header-cta { margin-left: 0; }
  .main-nav ul { gap: 18px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .usps { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .usp:nth-child(3) { border-left: 0; padding-left: 0; }
  .about-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .contact-card { max-width: 460px; }
  .hero-img { width: 72%; }
  .hero::before { background: linear-gradient(90deg, var(--green-900) 0%, var(--green-900) 30%, rgba(11, 46, 31, .8) 50%, rgba(11, 46, 31, .1) 80%); }
}

/* Mobile menu */
@media (max-width: 860px) {
  .nav-toggle { display: block; order: 3; }
  .header-cta { padding: 10px 14px; }
  .header-cta span { display: none; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(7, 35, 26, .12);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 4px 16px 12px; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .main-nav li:last-child a { border-bottom: 0; }
  .main-nav a:hover, .main-nav a.active { border-color: var(--line); }

  /* Hero: text on green, photo stacked below */
  .hero { display: flex; flex-direction: column; }
  .hero::before { display: none; }
  .hero-img { position: static; width: 100%; height: auto; aspect-ratio: 16 / 8; object-position: 88% center; order: 2; }
  .hero-inner { min-height: 0; max-width: none; padding: 30px 0 28px; }
}

/* Phone */
@media (max-width: 560px) {
  .header-inner { gap: 10px; min-height: 62px; }
  .brand img { width: 46px; }
  .brand-name { font-size: 1.8rem; }
  .brand-sub { font-size: .56rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: .95rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-img { aspect-ratio: 4 / 3; }
  .services { padding: 32px 0; }
  .section-head h2 { font-size: 1.4rem; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-media img { aspect-ratio: 2.2 / 1; }
  .usps { grid-template-columns: 1fr; row-gap: 16px; margin-top: 28px; }
  .usp { padding: 0; }
  .usp + .usp { border-left: 0; }
  .about h2 { font-size: 1.55rem; }
  .contact-card { padding: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 0 84px; }
  .footer-inner p { margin: 0; }
  .to-top { margin-left: 0; }
  .whatsapp { right: 14px; bottom: 16px; width: 52px; height: 52px; }
}
