:root {
  --img-w: 6rem;
  --img: 4rem;
  --ico: 2rem;
}

header {
  height: 480px;
  overflow: hidden;
  background-image: url('./../img/portadas/contacto.jpg');
  background-position: center;
  background-size: cover;
}

#contacto * , #pedido > div * {
  font-size: clamp(.7rem, 1.0vw, 1rem);
}

#contacto .img, #pedido .img {
  max-width: 4rem;
}

#pedido {
  background: linear-gradient(#ffc58d, #ffa34c);
}

.border-gray {
  border: 2px solid #dddddd;
}

.num {
  position: absolute;
  height: 2rem;
  width: 2rem;
  top: -1rem;
  left: -1rem;
  border-radius: 25px;
  border: 2px solid #ffffff;
  background-color: #35aae0;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.form {
  max-width: 640px;
  margin: 0 auto;
}

.img {
  width: var(--img);
  height: auto;
  min-width: var(--img);
}

.img img {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.ico {
  display: inline-block;
  width: var(--ico);
  height: var(--ico);
  max-width: var(--ico);
}

.grid {
  display: grid;
  grid-template-columns: 4rem 60% auto;
  align-items: center;
}

.grid div:nth-of-type(3) {
  justify-self: center;
}

@media (max-width: 886px) {
  .grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 380px;
    margin: 1rem auto;
  }

}
