* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #243126;
  background: #fff;
  font: 16px/1.55 Arial,sans-serif;
}

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

a {
  color: inherit;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e2e9df;
}

.nav {
  min-height: 82px;
  display: flex;
  gap: 25px;
  align-items: center;
}

.brand {
  text-decoration: none;
  color: #568b2c;
}

.brand b,.brand small,.phone small,.phone a {
  display: block;
}

.brand b {
  font-size: 22px;
}

.brand small {
  color: #667266;
}

.phone {
  margin-left: auto;
  text-align: right;
}

.phone a {
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.btn {
  border: 0;
  border-radius: 6px;
  padding: 14px 22px;
  background: #ff7c00;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 7px 18px #ff7c0033;
}

.hero {
  padding: 88px 0;
  background: linear-gradient(115deg,#e9f2e3 0 57%,#79a94d 57%);
}

.hero-grid,.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 70px;
  align-items: center;
}

.tag {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  color: #649833;
}

.hero h1 {
  font-size: clamp(38px,5vw,68px);
  line-height: 1.02;
  margin: 18px 0;
}

.hero h1 em {
  display: block;
  color: #548d27;
  font-style: normal;
}

.lead {
  max-width: 700px;
  font-size: 21px;
}

.ticks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ticks span {
  background: #fff;
  padding: 10px;
  border-radius: 5px;
}

.form {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 20px 60px #1d35152a;
}

.form h2 {
  margin-top: 0;
}

.form label {
  display: block;
  margin: 13px 0;
  font-weight: 700;
}

.form input,.form textarea {
  width: 100%;
  margin-top: 5px;
  border: 1px solid #cfd7cb;
  border-radius: 5px;
  padding: 13px;
  font: inherit;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #8a9490;
  opacity: 1;
}

.form .btn {
  width: 100%;
}

.hp {
  position: absolute!important;
  left: -9999px;
}

.section {
  padding: 85px 0;
}

.section h2 {
  font-size: clamp(30px,4vw,48px);
  line-height: 1.08;
  margin: 10px 0 38px;
}

.muted {
  background: #f4f6f2;
}

.about {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 45px;
  align-items: center;
}

.portrait {
  height: 270px;
  border-radius: 14px;
  background: linear-gradient(135deg,#679d39,#284c25);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 70px;
  font-weight: 900;
}

.portrait small {
  font-size: 15px;
}

.about blockquote {
  margin: 25px 0;
  padding: 22px;
  border-left: 5px solid #70a43d;
  background: #f4f7f1;
  font-size: 20px;
}

.features {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 16px;
}

.features article,.card,.product {
  background: #fff;
  border: 1px solid #e0e7dc;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 8px 28px #2431260b;
}

.features article {
  color: #70a43d;
  font-size: 26px;
  font-weight: 900;
}

.features h3 {
  color: #243126;
  font-size: 18px;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.tabs button {
  padding: 12px 18px;
  border: 1px solid #6fa23d;
  background: #fff;
  border-radius: 99px;
  cursor: pointer;
}

.tabs .active {
  background: #6fa23d;
  color: #fff;
}

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

.cards.active {
  display: grid;
}

.visual {
  height: 140px;
  background: linear-gradient(145deg,#dfe9d7,#8cb66a);
  border-radius: 7px;
  position: relative;
  overflow: hidden;
}

.visual:after {
  content: "";
  position: absolute;
  width: 105px;
  height: 105px;
  border: 18px solid #717871;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-35%);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.card ul {
  padding-left: 18px;
  color: #5e685e;
}

.price {
  font-size: 24px;
  font-weight: 900;
  color: #598d2e;
}

.table {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #243126;
}

th,td {
  padding: 16px;
  border-bottom: 1px solid #dce3d9;
  text-align: left;
}

tfoot {
  font-size: 21px;
  font-weight: 900;
  color: #558d2c;
}

.products {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.product h3 {
  font-size: 17px;
}

.product strong {
  color: #5e942f;
  font-size: 20px;
}

.estimate {
  background: #263f2a;
  color: #fff;
}

.contact {
  background: #eaf1e5;
}

.contact a {
  font-size: 22px;
  font-weight: 900;
}

.contact-grid .form {
  box-shadow: none;
}

footer {
  padding: 27px 0;
  background: #182c1b;
  color: #fff;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
}

dialog {
  border: 0;
  border-radius: 12px;
  padding: 0;
  max-width: 430px;
  width: calc(100% - 30px);
}

dialog::backdrop {
  background: #142616b8;
}

.close {
  position: absolute;
  right: 8px;
  top: 4px;
  border: 0;
  background: none;
  font-size: 30px;
  cursor: pointer;
  z-index: 2;
}

@media(max-width:850px) {
  .phone {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
  .hero {
    padding: 55px 0;
    background: #e9f2e3;
  }
  .hero-grid,.contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .features {
    grid-template-columns: repeat(2,1fr);
  }
  .cards {
    grid-template-columns: repeat(2,1fr);
  }
  .products {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:560px) {
  .brand small,.nav>.btn {
    display: none;
  }
  .hero h1 {
    font-size: 39px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .features,.cards,.products {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 58px 0;
  }
  .form {
    padding: 22px;
  }
  .ticks {
    display: grid;
  }
  footer .wrap {
    display: grid;
    gap: 7px;
  }
}
