* {
  box-sizing: border-box;
}

:root {
  --green: #2fa12f;
  --green-dark: #17371e;
  --orange: #ff951f;
  --text: #202425;
  --muted: #5f686b;
  --line: #e7ece8;
  --bg: #f7faf6;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(15, 42, 20, .13);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: white;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand__logo {
  width: 218px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 800;
  font-size: 14px;
}

.menu a:hover {
  color: var(--green);
}

.header__contacts {
  display: grid;
  gap: 3px;
  font-weight: 900;
  white-space: nowrap;
}

.header__contacts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.btn {
  border: 0;
  border-radius: 9px;
  padding: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(20, 60, 25, .18);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .68;
  transform: none;
  box-shadow: none;
}

.btn--green {
  color: white;
  background: var(--green);
}

.btn--orange {
  color: white;
  background: linear-gradient(135deg, #ffae23, #ff8618);
}

.btn--max {
  color: white;
  background: #1f77ff;
}

.max-icon {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  color: #1f77ff;
  background: white;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.btn--outline {
  color: var(--green);
  border: 2px solid var(--green);
  background: white;
}

.burger {
  display: none;
  border: 0;
  background: var(--green);
  color: white;
  border-radius: 10px;
  font-size: 24px;
  padding: 9px 13px;
}

.hero {
  position: relative;
  min-height: 605px;
  color: white;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 22, 9, .74) 0%, rgba(5, 22, 9, .35) 45%, rgba(5, 22, 9, .08) 100%),
    url("images/optimized/hero-mowing.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(0deg, rgba(0,0,0,.38), transparent);
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 605px;
  display: flex;
  align-items: center;
}

.hero__text {
  max-width: 640px;
  padding-top: 32px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(46px, 7vw, 76px);
  line-height: .98;
  letter-spacing: 0;
  font-weight: 900;
}

.hero h1 span {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 16px 10px;
  color: var(--green);
  background: white;
  border-radius: 8px;
}

.hero p {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.45;
}

.hero__row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.price-card {
  min-width: 220px;
  padding: 18px 26px;
  color: var(--green);
  background: white;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
}

.price-card small,
.price-card span {
  display: block;
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  font-size: 56px;
  line-height: .95;
  font-weight: 900;
}

.hero__more {
  color: white;
  font-weight: 900;
}

.benefits {
  position: relative;
  z-index: 3;
  margin-top: -54px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.benefit {
  display: flex;
  gap: 18px;
  padding: 36px 26px;
  border-right: 1px solid var(--line);
}

.benefit:last-child {
  border-right: 0;
}

.benefit span {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  font-size: 28px;
  font-weight: 900;
}

.benefit h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 34px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
}

.section-title i {
  display: block;
  width: 52px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--green);
  border-radius: 999px;
}

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

.work-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 9px;
  box-shadow: 0 14px 30px rgba(20, 45, 20, .13);
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  filter: brightness(.97) saturate(.98) sepia(.04);
  transition: transform .35s ease, filter .35s ease;
}

.work-card:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1) sepia(.04);
}

.work-card--sunny img {
  filter: brightness(.92) saturate(.94) sepia(.04);
}

.work-card--sunny:hover img {
  filter: brightness(.95) saturate(.96) sepia(.04);
}

.work-card--warm img {
  filter: brightness(1) saturate(1) sepia(.07);
}

.work-card--warm:hover img {
  filter: brightness(1.02) saturate(1.02) sepia(.07);
}

.work-card__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 9px 13px;
  border-radius: 8px;
  color: white;
  background: rgba(23, 55, 30, .86);
  font-weight: 900;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.price-section {
  padding: 0 0 36px;
}

.price-banner {
  color: white;
  border-radius: 14px;
  padding: 34px 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(22, 99, 22, .94), rgba(37, 130, 31, .74)),
    url("images/price-bg-generated.png") center / cover;
  box-shadow: var(--shadow);
}

.price-banner__tag {
  display: inline-block;
  font-size: 20px;
  font-weight: 900;
}

.price-banner h2 {
  margin: 6px 0 10px;
  font-size: clamp(30px, 5vw, 45px);
}

.price-banner p {
  margin: 0;
  opacity: .95;
}

.price-banner ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-banner li {
  margin: 12px 0;
  font-weight: 800;
}

.price-banner li::before {
  content: "✓";
  margin-right: 12px;
  color: #c8ff76;
}

.reviews-section {
  background: linear-gradient(180deg, #fff, #f1f8ef);
}

.reviews-wrap {
  position: relative;
}

.reviews {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 18px;
}

.reviews::-webkit-scrollbar {
  display: none;
}

.review {
  flex: 0 0 calc((100% - 52px) / 3);
  min-height: 210px;
  padding: 28px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 14px 36px rgba(10, 40, 20, .09);
  scroll-snap-align: start;
}

.review::before {
  content: "“";
  color: var(--green);
  font-size: 62px;
  line-height: .5;
  font-weight: 900;
}

.review__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: -20px;
}

.review__head span {
  color: #ffa600;
  letter-spacing: 2px;
}

.review p {
  color: #303638;
  line-height: 1.7;
}

.review time {
  color: #8a9295;
}

.reviews__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  inline-size: 44px;
  block-size: 44px;
  min-inline-size: 44px;
  min-block-size: 44px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(10, 40, 20, .18);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transform: translateY(-50%);
  box-sizing: border-box;
}

.reviews__btn::before {
  content: "";
  inline-size: 13px;
  block-size: 13px;
  border-block-start: 3px solid currentColor;
  border-inline-start: 3px solid currentColor;
  box-sizing: border-box;
}

.reviews__btn--prev {
  left: -22px;
}

.reviews__btn--prev::before {
  transform: translateX(2px) rotate(-45deg);
}

.reviews__btn--next {
  right: -22px;
}

.reviews__btn--next::before {
  transform: translateX(-2px) rotate(135deg);
}

.callback {
  color: white;
  background:
    linear-gradient(90deg, rgba(12, 37, 15, .9), rgba(12, 37, 15, .64)),
    url("images/callback-bg-generated.png") center / cover;
}

.callback__grid {
  min-height: 250px;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.callback h2 {
  margin: 0 0 12px;
  font-size: 36px;
}

.callback p {
  max-width: 470px;
  line-height: 1.7;
}

.callback__features {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
}

.callback__phone {
  margin-top: 22px;
  display: grid;
  gap: 7px;
}

.callback__phone span {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 800;
}

.callback__phone a {
  width: fit-content;
  color: white;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  border-bottom: 2px solid rgba(255,255,255,.45);
}

.callback__phone a:hover {
  border-bottom-color: white;
}

.callback__max {
  width: fit-content;
  margin-top: 18px;
}

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

.form h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.form input {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 8px;
  padding: 0 18px;
  background: rgba(255,255,255,.96);
  font-size: 16px;
}

.form button {
  grid-column: 1 / -1;
  width: 100%;
}

.form__privacy,
.form__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}

.form__note {
  color: #c8ff76;
  font-weight: 900;
}

.footer {
  padding: 40px 0;
  color: white;
  background: linear-gradient(90deg, #172022, #22282a);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer h3 {
  margin: 0 0 12px;
}

.footer p {
  color: rgba(255,255,255,.76);
}

.brand--footer {
  margin-right: 0;
}

.brand--footer .brand__logo {
  width: 208px;
  padding: 7px 10px;
  border-radius: 8px;
  background: white;
}

@media (max-width: 1050px) {
  .menu,
  .header__btn {
    display: none;
  }

  .nav {
    gap: 18px;
  }

  .brand__logo {
    width: 178px;
  }

  .header__contacts {
    margin-left: auto;
    text-align: right;
    font-size: 14px;
  }

  .header__contacts span {
    font-size: 11px;
  }

  .burger {
    display: block;
  }

  .menu.is-open {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 88px;
    padding: 18px;
    display: grid;
    gap: 14px;
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .benefits__grid,
  .works {
    grid-template-columns: repeat(2, 1fr);
  }

  .review {
    flex-basis: calc((100% - 26px) / 2);
  }

  .reviews__btn--prev {
    left: 2px;
  }

  .reviews__btn--next {
    right: 2px;
  }

  .price-banner,
  .callback__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero,
  .hero__inner {
    min-height: 640px;
  }

  .hero__text {
    padding-top: 70px;
  }

  .benefits {
    margin-top: 0;
  }

  .benefits__grid,
  .works,
  .form {
    grid-template-columns: 1fr;
  }

  .review {
    flex-basis: 100%;
  }

  .reviews {
    padding-inline: 0;
  }

  .benefit {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit:last-child {
    border-bottom: 0;
  }

  .price-card {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .callback__max {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .nav {
    min-height: 76px;
    gap: 12px;
  }

  .brand {
    margin-right: 0;
  }

  .brand__logo {
    width: 132px;
  }

  .header__contacts {
    font-size: 12px;
    line-height: 1.15;
  }

  .header__contacts span {
    font-size: 10px;
  }

  .menu.is-open {
    top: 76px;
  }
}
