:root {
  --bg: #f4f1ea;
  --bg-deep: #e8e2d6;
  --text: #1a261f;
  --muted: #415247;
  --brand: #2f6b46;
  --brand-dark: #255338;
  --surface: #fffdf9;
  --line: #d5ccbc;
  --radius: 16px;
  --shadow: 0 20px 40px rgba(17, 28, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #f8f5ef 0%, var(--bg) 45%, #ebe4d8 100%);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(244, 241, 234, 0.84);
  border-bottom: 1px solid rgba(65, 82, 71, 0.12);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand-text {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand-dark);
}

.hero {
  min-height: 78vh;
  position: relative;
  display: grid;
  align-items: end;
  background-image: linear-gradient(130deg, rgba(18, 36, 26, 0.55), rgba(18, 36, 26, 0.2)),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 1.8rem 5.25rem 3.1rem;
  color: #fcfaf6;
  max-width: 860px;
  margin-left: clamp(-1rem, -1.8vw, -0.35rem);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 1rem;
  opacity: 0.86;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1,
h2 {
  font-family: "Newsreader", serif;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.15rem);
}

.hero-copy {
  margin-top: 1.15rem;
  color: rgba(252, 250, 246, 0.92);
  font-size: 1.05rem;
  max-width: 60ch;
}

.cta-group {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #f6f3ec;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
}

.btn-ghost {
  border: 1px solid rgba(252, 250, 246, 0.45);
  color: #fcfaf6;
  background: rgba(252, 250, 246, 0.07);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.section-intro h2 {
  margin-top: 0;
  margin-bottom: 1.8rem;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.service-list-wrap {
  background: linear-gradient(180deg, #f7f2e8 0%, #efe7d8 100%);
  border: 1px solid #d8ccb6;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.service-list li {
  background: linear-gradient(155deg, #fffdf8 0%, #f6f0e4 100%);
  border: 1px solid #d7c8b1;
  border-radius: 12px;
  padding: 0.9rem 1rem 0.9rem 2.2rem;
  font-weight: 600;
  color: #243228;
  line-height: 1.35;
  position: relative;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(145deg, #2f6b46, #214f35);
  box-shadow: 0 0 0 3px rgba(47, 107, 70, 0.14);
}

.card,
.project-card,
.stat-panel,
.cta-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.project-card {
  padding: 1.4rem;
}

.card h3,
.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.15rem;
  align-items: start;
}

.stat-panel {
  padding: 1.25rem;
}

.stat-panel p {
  margin: 0.45rem 0;
  color: var(--muted);
}

.stat-panel strong {
  color: var(--brand-dark);
  font-size: 1.2rem;
}

.section-cta {
  background: linear-gradient(165deg, #1f3f2e 0%, #2c5d42 55%, #3e7d57 100%);
}

.cta-panel {
  text-align: center;
  background: rgba(250, 248, 243, 0.08);
  border-color: rgba(247, 242, 233, 0.2);
  color: #fdfaf4;
  padding: 2.3rem 1.15rem;
}

.cta-panel h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.cta-panel p {
  margin-top: 0;
  margin-bottom: 1.1rem;
  color: rgba(253, 250, 244, 0.9);
}

.cta-panel p a {
  color: inherit;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid rgba(65, 82, 71, 0.2);
  background: #e7dfd1;
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.footer-wrap a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 900px) {
  .service-grid,
  .project-grid,
  .about-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-wrap > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.9rem;
  }

  .service-grid,
  .project-grid,
  .about-wrap,
  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list-wrap {
    padding: 0.75rem;
  }

  .hero-content {
    padding: 4rem 1rem 4.5rem;
    margin-left: 0;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 0;
  }
}
