:root {
  --bg: #0d1b16;
  --ink: #e8f4ec;
  --muted: #b6cabf;
  --brand: #6dc18d;
  --brand-deep: #3e875c;
  --panel: #11251d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(170deg, #07110d, var(--bg));
  color: var(--ink);
  line-height: 1.6;
}

h1,
h2,
h3,
.brand { font-family: 'Sora', sans-serif; }

.hero {
  min-height: 96vh;
  position: relative;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(109, 193, 141, 0.35), transparent 45%),
    linear-gradient(to bottom, rgba(6, 18, 13, 0.35), rgba(6, 18, 13, 0.82));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 1.2rem 0 4.5rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: #f6fff9;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
}

.brand span { color: #98e9b6; }

.topnav {
  display: flex;
  gap: 1.2rem;
}

.topnav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.92;
}

.menu-button {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 19, 14, 0.5);
  color: #f7fff8;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 660px;
  padding-top: clamp(3rem, 8vw, 7.5rem);
}

.eyebrow {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.84rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.1rem, 5.8vw, 4rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.lede {
  color: #d7e6dd;
  max-width: 55ch;
  margin-bottom: 1.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.72rem 1.08rem;
  display: inline-block;
}

.btn-main {
  color: #08160f;
  background: linear-gradient(135deg, #90dfaf, #5ab87e);
}

.btn-light {
  color: #f0faf3;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(11, 26, 19, 0.33);
}

.section {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 4.2rem 0;
}

.section-head p {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: #93b9a2;
  margin-bottom: 0.65rem;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.9vw, 2.8rem);
  max-width: 24ch;
}

.services { padding-top: 4.8rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.service-card {
  background: var(--panel);
  border: 1px solid rgba(176, 219, 193, 0.25);
  border-radius: 16px;
  padding: 1.25rem;
}

.service-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.service-card p { color: var(--muted); }

.projects { padding-top: 2.2rem; }

.gallery {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.95rem;
}

figure {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(187, 227, 202, 0.22);
  background: #0f231b;
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease;
}

figure:hover img { transform: scale(1.06); }

figcaption {
  padding: 0.75rem 0.9rem;
  color: #d4e7db;
  font-weight: 600;
}

.reviews {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.quote {
  border-left: 4px solid #6ec78e;
  background: #0f241c;
  border-radius: 0 14px 14px 0;
  padding: 1.4rem;
}

.quote p {
  font-size: 1.17rem;
  margin-bottom: 0.7rem;
  color: #f3fbf6;
}

.quote span {
  color: #a9c8b6;
  font-weight: 700;
}

.contact {
  text-align: center;
  background: linear-gradient(135deg, #12281f, #0d1b16);
  border-top: 1px solid rgba(182, 223, 198, 0.2);
  padding: 3.2rem 1rem 4rem;
}

.contact h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  margin-bottom: 0.7rem;
}

.contact p {
  color: #bdd4c7;
  margin-bottom: 1rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .menu-button { display: inline-block; }

  .topnav {
    position: absolute;
    right: 0;
    top: 3.2rem;
    flex-direction: column;
    background: rgba(11, 24, 18, 0.96);
    border: 1px solid rgba(197, 229, 210, 0.26);
    border-radius: 14px;
    padding: 0.75rem;
    min-width: 190px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.25s ease;
  }

  .topnav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
