:root{
  --bg:#f5f7f2;
  --surface:#fff;
  --text:#1f2a20;
  --muted:#657067;
  --brand:#2e6a3f;
  --brand2:#183c25;
  --line:#dfe6df;
  --shadow:0 15px 45px rgba(20,45,27,.10)
}

*{
  box-sizing:border-box
}

html{
  scroll-behavior:smooth
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6
}

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

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

.container{
  width:min(1120px,calc(100% - 36px));
  margin:auto
}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line)
}

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

.brand{
  font-weight:850;
  letter-spacing:-.03em;
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-width:0;
  font-size:1.12rem
}

.brand span{
  white-space:nowrap
}

.nav-logo{
  width:84px;
  height:84px;
  object-fit:contain;
  flex:0 0 84px
}

.navlinks{
  display:flex;
  gap:24px;
  align-items:center;
  font-size:.95rem
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:12px;
  background:var(--brand);
  color:#fff;
  font-weight:750;
  border:0;
  cursor:pointer
}

.btn:hover{
  background:var(--brand2)
}

.btn.outline{
  background:transparent;
  color:var(--brand);
  border:1px solid var(--brand)
}

.hero{
  padding:72px 0 56px;
  scroll-margin-top:110px
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:54px;
  align-items:center
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.78rem;
  font-weight:800;
  color:var(--brand)
}

h1{
  font-size:clamp(2.7rem,6vw,5.5rem);
  line-height:.98;
  letter-spacing:-.055em;
  margin:.15em 0 .28em
}

h2{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.1;
  letter-spacing:-.035em;
  margin:0 0 14px
}

h3{
  margin:0 0 8px;
  line-height:1.2
}

.lead{
  font-size:1.18rem;
  color:var(--muted);
  max-width:650px
}

.hero-card{
  border-radius:28px;
  overflow:hidden;
  min-height:500px;
  background:linear-gradient(145deg,#dce7dd,#b8ccb9);
  box-shadow:var(--shadow);
  position:relative
}

.hero-card img{
  width:100%;
  height:100%;
  min-height:500px;
  object-fit:cover
}

.hero-placeholder{
  height:500px;
  display:grid;
  place-items:center;
  padding:40px;
  text-align:center;
  color:#46614c
}

.section{
  padding:78px 0;
  scroll-margin-top:110px
}

.section.white{
  background:#fff
}

.section-head{
  max-width:720px;
  margin-bottom:34px
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px
}

.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 8px 30px rgba(21,40,25,.05)
}

.card-body{
  padding:22px
}

.card-img{
  aspect-ratio:16/10;
  background:#e4ebe4;
  object-fit:cover;
  width:100%
}

.contact-wrap{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:34px
}

.contact-info{
  background:var(--brand2);
  color:#fff;
  padding:32px;
  border-radius:22px
}

.contact-info p{
  color:#d8e5db
}

.form{
  display:grid;
  gap:14px
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px
}

label{
  font-weight:700;
  font-size:.92rem
}

input,
textarea,
select{
  width:100%;
  padding:13px 14px;
  border:1px solid #cfd8cf;
  border-radius:11px;
  background:#fff;
  font:inherit
}

textarea{
  min-height:150px;
  resize:vertical
}

.field{
  display:grid;
  gap:6px
}

.notice{
  padding:12px 14px;
  border-radius:10px;
  margin-bottom:16px
}

.notice.ok{
  background:#e6f5e9;
  color:#21572c
}

.notice.err{
  background:#fde8e8;
  color:#8a2323
}

footer{
  padding:34px 0;
  color:#6c756e;
  border-top:1px solid var(--line)
}

.projects-more{
  display:flex;
  justify-content:center;
  margin-top:34px
}

.page-title{
  font-size:clamp(2.7rem,6vw,4.8rem);
  line-height:1;
  letter-spacing:-.05em;
  margin:.15em 0 .28em
}

.projects-page{
  min-height:70vh
}

@media(max-width:800px){

  nav{
    height:auto;
    min-height:82px;
    padding:10px 0;
    flex-wrap:wrap
  }

  .brand{
    font-size:1rem
  }

  .brand span{
    white-space:normal
  }

  .nav-logo{
    width:68px;
    height:68px;
    flex:0 0 68px
  }

  .navlinks{
    width:100%;
    justify-content:center;
    gap:18px;
    padding-bottom:4px
  }

  .navlinks a{
    display:inline-block;
    font-size:.9rem
  }

  .hero-grid,
  .contact-wrap,
  .grid{
    grid-template-columns:1fr
  }

  .hero{
    padding-top:42px
  }

  .hero-card,
  .hero-card img,
  .hero-placeholder{
    min-height:380px;
    height:380px
  }

  .form-row{
    grid-template-columns:1fr
  }
}

.footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.footer-row a{
  font-weight:700;
  color:var(--brand);
}
.footer-row a:hover{
  color:var(--brand2);
}
.legal-page{
  min-height:70vh;
}
.legal-card{
  max-width:780px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:20px;
  padding:30px;
  box-shadow:0 8px 30px rgba(21,40,25,.05);
}
.legal-card h2{
  font-size:1.35rem;
  margin:28px 0 8px;
  letter-spacing:-.02em;
}
.legal-card h2:first-child{
  margin-top:0;
}
.legal-card p{
  margin:0;
}
.legal-card a{
  color:var(--brand);
  text-decoration:underline;
  text-underline-offset:3px;
}
@media(max-width:800px){
  .footer-row{
    align-items:flex-start;
    flex-direction:column;
  }
  .legal-card{
    padding:22px;
  }
}
