:root {
  --green: #059E06;
  --black: #0f0f10;
  --dark: #181818;
  --white: #ffffff;
  --muted: #767676;
  --line: #e6e6e6;
  --soft: #f6f6f3;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 27px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 24px;
}

/* HERO */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.25;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: grayscale(100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.68), rgba(255,255,255,0.86));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 88px 0;
}

.eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(54px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.hero h1 span,
.page-hero h1 span {
  color: var(--green);
}

.hero p {
  max-width: 660px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  color: #333;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: 0.25s ease;
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.button:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* SECTION BASICS */
.section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  max-width: 980px;
}

.muted {
  color: var(--muted);
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat {
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* CARDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  background: var(--white);
}

.card-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e8e8e8, #fafafa);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.6s ease;
}

.card:hover img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.card-body {
  padding: 28px;
}

.card-kicker {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.card h3 {
  margin: 12px 0;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* PROJECTS */
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.project-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.project-card.large {
  grid-column: span 7;
}

.project-card.small {
  grid-column: span 5;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: 0.6s ease;
}

.project-card:hover img {
  filter: grayscale(0%);
  opacity: 0.9;
  transform: scale(1.04);
}

.project-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
}

.project-info h3 {
  margin: 0;
  font-size: clamp(26px, 4vw, 48px);
  letter-spacing: -0.06em;
}

.project-info p {
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* PAGE HERO & ABOUT US */
.page-hero {
  padding: 100px 0 70px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.value-list {
  display: grid;
  gap: 18px;
}

/* Updated: Green thicker border for Core Value boxes */
.value-item {
  padding: 24px;
  border: 4px solid var(--green) !important;
}

.value-item h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.value-item p {
  margin: 0;
  color: var(--muted);
}

/* New: Pushes Mission lower and adds the divider line */
.mission-block {
  margin-top: 3rem; 
  padding-top: 3rem; 
  border-top: 1px solid var(--line); 
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-row span {
  color: var(--green);
  font-weight: 900;
}

.service-row h3 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.service-row p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: stretch;
}

.contact-panel {
  border: 4px solid #059E06 !important; 
  padding: 48px;
  background: #ffffff;
}

.section-title {
  margin-bottom: 5rem; 
}

.contact-row {
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 2rem; 
  padding-bottom: 2rem; 
  border-bottom: 1px solid #e5e5e5; 
  width: 100%; 
}

.contact-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-row span {
  text-align: left;
}

.contact-row a {
  text-align: right;
  text-decoration: underline; 
  color: #333; 
}

.contact-row a:hover {
  text-decoration: none;
  font-weight: bold;
}

.map-box {
  width: 100%;
  height: 380px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* FOOTER */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
}

.site-footer p,
.site-footer a {
  color: rgba(255,255,255,0.72);
}

.footer-title {
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 24px;
  margin: 0 0 14px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.copyright {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

/* FLOATING CHAT */
.floating-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2000;
  display: grid;
  gap: 10px;
}

.chat-button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0,0,0,0.24);
}

.chat-button.whatsapp {
  background: #25d366;
}

.chat-button.messenger {
  background: #0084ff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 0;
  }

  .stats,
  .grid-3,
  .two-col,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-card.large,
  .project-card.small {
    grid-column: 1 / -1;
  }

  .section-header {
    display: block;
  }

  .section-header .button {
    margin-top: 22px;
  }

  .contact-panel {
    padding: 32px 24px;
  }

  .map-box {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand span:last-child {
    font-size: 14px;
  }

  .hero-content {
    padding: 68px 0;
  }

  .section {
    padding: 64px 0;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 22px;
  }

  .service-row,
  .contact-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
