* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #dededd;
  color: #14293a;
  line-height: 1.5;
}

p {
  margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin-bottom: 12px;
}

button {
  background: #14293a;
  color: white;
  border: none;
  padding: 13px 26px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
}

img {
  display: block;
}

nav {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 70px;
}

nav h2 {
  font-size: 30px;
  color: #14293a;
  margin: 0;
}

.menu {
  display: flex;
  gap: 38px;
  list-style: none;
  font-size: 15px;
  margin-left: 180px;
}

.menu li {
  cursor: pointer;
}

#navBtn {
  padding: 14px 27px;
}


#hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 70px 35px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  width: 51%;
  padding-top: 15px;
  z-index: 2;
}

.hero-content > p:first-child {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 62px;
  line-height: 0.98;
  max-width: 780px;
  margin: 0 0 22px;
  font-weight: 700;
}

.hero-content span {
  color: #c4593a;
}

.hero-content h1 + p {
  max-width: 600px;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-content button {
  margin: 3px 0 27px;
}

.hero-content > p:last-child {
  display: inline-block;
  font-size: 14px;
  margin-right: 35px;
  margin-bottom: 0;
}

#hero > img {
  width: 51%;
  height: 500px;
  object-fit: contain;
  object-position: center bottom;
  margin-right: -25px;
}

#features {
  min-height: 190px;
  display: flex;
  align-items: center;
  padding: 35px 70px;
  background: #fffaf6;
  text-align: center;
}

.feature {
  width: 25%;
  min-height: 120px;
  padding: 10px 35px;
  border-right: 1px solid #d9cec5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature:last-child {
  border-right: none;
}

.feature h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature p {
  font-size: 13px;
  color: #53616d;
  max-width: 210px;
  margin: auto;
}

#how {
  background: #dceaf1;
  padding: 55px 70px 60px;
}

#howHead {
  position: relative;
  margin-bottom: 30px;
}

#howHead > p:first-child {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

#how h2 {
  font-size: 38px;
  margin-bottom: 5px;
}

#howHead > p:nth-child(3) {
  font-size: 14px;
  color: #53616d;
}

#howHead button {
  position: absolute;
  right: 0;
  top: 15px;
}

.layout {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.item {
  width: 25%;
  background: #fffaf7;
  padding: 14px;
  border-radius: 14px;
  text-align: center;
}

.item img {
  width: 100%;
  height: 105px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.item h4 {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4dfcf;
  border-radius: 50%;
  font-size: 14px;
  margin: -58px 0 20px 0;
  position: relative;
}

.item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.item p {
  font-size: 12px;
  color: #596875;
  margin-bottom: 3px;
}


#gallery {
  min-height: 285px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 45px 70px;
  background: #f8efe8;
}

#galleryText {
  width: 31%;
  padding-right: 20px;
}

#galleryText > p:first-child {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

#gallery h2 {
  font-size: 35px;
  line-height: 1.1;
  margin-bottom: 12px;
}

#gallery span {
  color: #c4593a;
}

#galleryText > p:nth-child(3) {
  font-size: 14px;
  color: #53616d;
  max-width: 300px;
}

#gallery button {
  margin-top: 3px;
}

#gallery img {
  width: 16.5%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.footer {
  background: #142f40;
  color: white;
  padding: 45px 70px 22px;
}

.container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.col {
  width: 25%;
}

.col h2 {
  font-size: 29px;
  margin-bottom: 12px;
}

.col h4 {
  font-size: 16px;
  margin-bottom: 15px;
}

.col p,
.col li {
  font-size: 13px;
  color: #d8e0e4;
}

.col ul {
  list-style: none;
}

.col li {
  margin-bottom: 7px;
}

.col input {
  width: 70%;
  padding: 12px 15px;
  border-radius: 25px;
  border: 1px solid white;
  background: transparent;
  color: white;
  outline: none;
}

.col button {
  padding: 11px 17px;
  margin-left: 5px;
}

#copy {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.3);
  font-size: 12px;
  color: #d8e0e4;
}


@media (max-width: 1000px) {

  nav {
    padding: 0 35px;
  }

  .menu {
    gap: 20px;
    margin-left: 0;
  }

  #hero {
    padding: 30px 35px;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  #hero > img {
    width: 48%;
  }

  #features,
  #how,
  #gallery,
  .footer {
    padding-left: 35px;
    padding-right: 35px;
  }
}

@media (max-width: 700px) {

  nav {
    height: 75px;
    padding: 0 20px;
  }

  .menu {
    display: none;
  }

  #hero {
    flex-direction: column;
    padding: 35px 20px 0;
    text-align: left;
  }

  .hero-content {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  #hero > img {
    width: 100%;
    height: 350px;
    margin: 0;
  }

  #features {
    flex-wrap: wrap;
    padding: 25px 20px;
  }

  .feature {
    width: 50%;
    margin-bottom: 20px;
  }

  .layout {
    flex-wrap: wrap;
  }

  .item {
    width: 48%;
  }

  #how {
    padding: 40px 20px;
  }

  #howHead button {
    position: static;
    margin-top: 10px;
  }

  #gallery {
    flex-wrap: wrap;
    padding: 40px 20px;
  }

  #galleryText {
    width: 100%;
  }

  #gallery img {
    width: 23%;
    height: 130px;
  }

  .footer {
    padding: 40px 20px 20px;
  }

  .container {
    flex-wrap: wrap;
  }

  .col {
    width: 45%;
  }
}