.hero .hero-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 100%;
}
.hero .hero-block.block-image {
  background-color: #CCE3E5;
}
.hero .hero-block.block-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.hero .hero-block.block-content {
  background-color: #576303;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .hero-block.block-content .content-wrapper {
  max-width: 600px;
}
.hero .hero-block.block-content .content-wrapper .title {
  color: #FFFFFF;
  font-size: 42px;
  line-height: 50px;
  margin-bottom: 24px;
}
.hero .hero-block.block-content .content-wrapper .subtitle {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.18px;
  margin-bottom: 24px;
}
.hero .hero-block.block-content .content-wrapper .descr {
  color: #FFFFFF;
  line-height: 30px;
}

.history {
  padding: 160px 0 80px 0;
  background-color: #F7F7F7;
}
.history .title {
  font-size: 34px;
  line-height: 52px;
  margin-bottom: 32px;
}
.history .descr {
  color: #576303;
  font-size: 20px;
  font-weight: 500;
  line-height: 38px;
  max-width: 890px;
  opacity: 0.7;
}

.features {
  padding: 80px 0 80px 0;
  background-color: #F7F7F7;
}
.features .features-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 650px;
  border-radius: 32px;
  overflow: hidden;
}
.features .features-wrapper.first {
  margin-bottom: 40px;
}
.features .features-block.block-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.features .features-block.block-content {
  background-color: #576303;
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.features .features-block.block-content .title {
  color: #F5E6B7;
  font-size: 34px;
  line-height: 52px;
  margin-bottom: 16px;
}
.features .features-block.block-content p {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 500;
  line-height: 34px;
}
.features .features-block.block-content p a {
  color: #FFFFFF;
  text-decoration: underline;
  transition: opacity 0.5s ease;
  opacity: 1;
}
.features .features-block.block-content p a:hover {
  opacity: 0.7;
}

.about {
  padding: 80px 0 160px 0;
  background-color: #F7F7F7;
  border-bottom: 1px solid rgba(87, 99, 3, 0.2);
}
.about .about-wrapper {
  max-width: 895px;
  margin: 0 auto 80px auto;
}
.about .about-wrapper .title {
  font-size: 34px;
  line-height: 52px;
  text-align: center;
  margin-bottom: 20px;
}
.about .about-wrapper .descr p {
  color: #576303;
  font-size: 20px;
  font-weight: 500;
  line-height: 38px;
  text-align: center;
  text-wrap: balance;
  opacity: 0.7;
}
.about .about-wrapper .descr p:not(:last-child) {
  margin-bottom: 40px;
}
.about .about-wrapper .descr p a {
  color: #576303;
  opacity: 1;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}
.about .about-wrapper .descr p a:hover {
  opacity: 0.7;
}

.society {
  padding: 160px 0 220px 0;
  background-color: #F7F7F7;
}
.society .society-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height: 500px;
}
.society .society-block {
  border-radius: 32px;
  overflow: hidden;
  height: 100%;
  position: relative;
}
.society .society-block .content {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 2;
}
.society .society-block .content h3 {
  color: #FFFFFF;
  font-size: 42px;
  line-height: 46px;
  margin-bottom: 14px;
}
.society .society-block .content p {
  color: #FFFFFF;
  line-height: 30px;
  margin-bottom: 16px;
}
.society .society-block.first:before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(76deg, rgba(87, 99, 3, 0.9) 33.25%, rgba(87, 99, 3, 0) 66.52%);
  border-radius: 32px;
  z-index: 1;
}
.society .society-block.first video {
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.25);
}
.society .society-block.second {
  padding: 40px;
  background-size: cover;
  background-repeat: no-repeat;
}
.society .society-block.second:before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(87, 99, 3, 0) 0%, #576303 100%), 50%/cover no-repeat;
  z-index: 1;
}

@media screen and (max-width: 1440px) {
  .hero {
    height: 600px;
    background-color: #F7F7F7;
  }
  .hero .hero-block.block-content {
    padding: 30px;
  }
  .hero .hero-block.block-content .content-wrapper {
    max-width: 550px;
  }
  .hero .hero-block.block-content .content-wrapper .title {
    font-size: 32px;
    line-height: 42px;
  }
  .hero .hero-block.block-content .content-wrapper .subtitle {
    margin-bottom: 16px;
  }
  .history {
    padding: 120px 0 60px 0;
  }
  .history .title {
    font-size: 32px;
    line-height: 42px;
    letter-spacing: -0.64px;
    margin-bottom: 24px;
  }
  .history .descr {
    font-size: 20px;
    line-height: 38px;
  }
  .features {
    padding: 60px 0;
  }
  .features .features-wrapper {
    height: 550px;
  }
  .features .features-block.block-content {
    padding: 60px;
    gap: 16px;
  }
  .features .features-block.block-content .title {
    margin-bottom: 0;
  }
  .features .features-block.block-content p {
    font-size: 16px;
    line-height: 26px;
  }
  .about {
    padding: 60px 0 120px 0;
  }
  .about .about-wrapper {
    margin-bottom: 120px;
  }
  .society {
    padding: 152px 0 180px 0;
  }
  .society .society-wrapper {
    height: 425px;
  }
  .society .society-block {
    border-radius: 24px;
  }
  .society .society-block.first:before, .society .society-block.second:before {
    border-radius: 24px;
  }
  .society .society-block .content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    bottom: 0;
    padding: 40px;
  }
  .society .society-block .content h3 {
    margin-bottom: 14px;
  }
  .society .society-block .content p {
    margin-bottom: 16px;
    line-height: 24px;
  }
  .society .society-block.second .content p {
    max-width: 325px;
  }
}
@media screen and (max-width: 1200px) {
  .header .header-menu .menu-link {
    color: #576303;
  }
  .header .header-menu .menu-link:after {
    background-color: #576303;
  }
  .header .button-primary {
    background-color: #576303;
    color: #FFFFFF;
    border: 1px solid #576303;
  }
  .header .button-primary:hover {
    background-color: #FFFFFF;
    color: #576303;
  }
  .hero {
    height: 500px;
  }
  .hero .hero-block.block-content .content-wrapper {
    max-width: 450px;
  }
  .hero .hero-block.block-content .content-wrapper .title {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 16px;
  }
  .hero .hero-block.block-content .content-wrapper .subtitle {
    display: none;
  }
  .hero .hero-block.block-content .content-wrapper .descr {
    font-size: 14px;
    line-height: 28px;
  }
  .history {
    padding: 100px 0 50px 0;
  }
  .history .descr {
    font-size: 16px;
    line-height: 28px;
  }
  .features {
    padding: 50px 0 40px 0;
  }
  .features .features-wrapper {
    height: 500px;
  }
  .features .features-block.block-content {
    padding: 50px;
    gap: 8px;
  }
  .features .features-block.block-content .title {
    font-size: 28px;
    line-height: 38px;
  }
  .about {
    padding: 40px 0 80px 0;
  }
  .about .about-wrapper {
    margin-bottom: 80px;
  }
  .about .about-wrapper .descr p {
    font-size: 16px;
    line-height: 28px;
  }
  .about .about-wrapper .descr p:not(:last-child) {
    margin-bottom: 28px;
  }
  .society {
    padding: 80px 0 130px 0;
  }
  .society .society-wrapper {
    height: 315px;
  }
  .society .society-block .content h3 {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 8px;
  }
  .society .society-block .content p {
    font-size: 15px;
    line-height: 26px;
  }
  .society .society-block.second .content p {
    max-width: 300px;
  }
}
@media screen and (max-width: 992px) {
  .header .mobile-menu-button {
    background-color: #576303;
  }
  .header .mobile-menu-button i svg rect {
    fill: #FFFFFF;
  }
  .header .mobile-menu-button span {
    color: #FFFFFF;
    opacity: 0.5;
  }
  .hero {
    height: 100%;
  }
  .hero .hero-wrapper {
    grid-template-columns: 1fr;
  }
  .hero .hero-block.block-image {
    height: 542px;
  }
  .hero .hero-block.block-image img {
    display: block;
    height: 400px;
    width: auto;
    margin: 0 auto;
  }
  .hero .hero-block.block-content {
    padding: 50px 40px 60px 40px;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin: -142px auto 0 auto;
  }
  .hero .hero-block.block-content .content-wrapper {
    max-width: 600px;
  }
  .hero .hero-block.block-content .content-wrapper .title {
    text-align: center;
    max-width: 450px;
    margin: 0 auto 24px auto;
  }
  .hero .hero-block.block-content .content-wrapper .descr {
    text-align: center;
    font-size: 15px;
    line-height: 25px;
    opacity: 0.7;
  }
  .history {
    padding: 80px 0 40px 0;
  }
  .history .title {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .history .descr {
    font-size: 16px;
    line-height: 28px;
  }
  .features {
    padding: 40px 0;
  }
  .features .features-wrapper {
    height: 100%;
    grid-template-columns: 1fr;
    border-radius: 0;
  }
  .features .features-wrapper .block-image {
    order: 1;
    width: 600px;
    height: 325px;
    margin: 0 auto;
    z-index: 1;
  }
  .features .features-wrapper .block-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .features .features-wrapper .block-content {
    order: 2;
    padding: 205px 40px 50px 40px;
    margin-top: -165px;
  }
  .features .features-wrapper .block-content .title {
    text-align: center;
    font-size: 26px;
    line-height: 42px;
    letter-spacing: -0.78px;
  }
  .features .features-wrapper .block-content p {
    text-align: center;
    font-size: 15px;
    line-height: 25px;
    color: #F5F2EE;
  }
  .about .about-wrapper {
    margin-bottom: 60px;
    max-width: 600px;
  }
  .about .about-wrapper .title {
    max-width: 445px;
    text-align: center;
    font-size: 28px;
    line-height: 42px;
    letter-spacing: -0.84px;
    margin: 0 auto 16px auto;
  }
  .about .about-wrapper .descr p {
    line-height: 26px;
  }
  .society {
    padding: 70px 0 120px 0;
  }
  .society .society-wrapper {
    grid-template-columns: 1fr;
    justify-content: center;
    height: 100%;
  }
  .society .society-block {
    height: 290px;
    width: 100%;
  }
  .society .society-block .content {
    width: 100%;
  }
  .society .society-block .content h3 {
    text-align: center;
  }
  .society .society-block .content p {
    text-align: center;
  }
  .society .society-block .content .button {
    margin: 0 auto;
  }
  .society .society-block.second .content p {
    max-width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .hero .hero-block.block-image {
    height: 325px;
  }
  .hero .hero-block.block-image img {
    height: 100%;
  }
  .hero .hero-block.block-content {
    max-width: 100%;
    margin: -50px 15px 0 15px;
    padding: 40px 20px;
    border-radius: 12px;
  }
  .hero .hero-block.block-content .content-wrapper .title {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 32px;
  }
  .history {
    padding: 60px 0 30px 0;
  }
  .history .title {
    text-align: center;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 24px;
  }
  .history .descr {
    text-align: center;
    font-size: 15px;
    line-height: 25px;
    opacity: 0.7;
  }
  .features {
    padding: 30px 0;
  }
  .features .features-wrapper .block-image {
    max-width: 320px;
    width: 100%;
    height: 225px;
  }
  .features .features-wrapper .block-content {
    margin-top: -100px;
    padding: 124px 20px 40px 20px;
  }
  .features .features-wrapper .block-content .title {
    font-size: 22px;
    line-height: 32px;
    letter-spacing: -0.66px;
    margin-bottom: 8px;
  }
  .about {
    padding: 30px 0 60px 0;
  }
  .about .container {
    padding: 0;
  }
  .about .about-wrapper {
    margin: 0 15px 60px 15px;
  }
  .about .about-wrapper .title {
    font-size: 24px;
    line-height: 36px;
  }
  .about .about-wrapper .descr {
    padding: 0 20px;
  }
  .society {
    padding: 60px 0 100px 0;
  }
  .society .society-block {
    height: 265px;
  }
  .society .society-block .content h3 {
    font-size: 22px;
    line-height: 28px;
    max-width: 300px;
    margin: 0 auto 8px auto;
  }
  .society .society-block .content p {
    font-size: 14px;
    line-height: 20px;
    max-width: 200px;
    width: 100%;
    margin: 0 auto 16px auto;
  }
}