* {
  margin: 0px;
  font-family: "Nunito", sans-serif;
  --fuente-mostaza: #e5ca5a;
  --fuente-verdeclaro: #72b12c;
  --fuente-verdeoscuro: #3d692b;
  --fuente-cafe: #513113;
}

a {
  text-decoration: none;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.whatsapp-button img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-button img:hover {
  transform: scale(1.1);
}

/*ENCABEZADO*/
.encabezado {
  display: grid;
  grid-template-areas: "imagen menu";
  height: 100px;
  margin-bottom: 20px;
}

.encabezado__imagen {
  grid-area: imagen;
  margin: 40px auto auto 70px;
}

.encabezado__menu {
  grid-area: menu;
  margin: 50px 100px auto auto;
  text-align: right;
  flex-wrap: wrap;
}

.menu__lista li {
  display: inline;
  list-style: none;
  margin-left: 30px;
  font-size: 18px;
}

.menu__lista .precios a {
  background: var(--fuente-verdeclaro);
  border-radius: 30px;
  padding: 10px 15px;
  display: inline-block;
  color: white;
}

.menu__lista a {
  color: var(--fuente-verdeoscuro);
  font-weight: bold;
}

.menu__lista a:hover {
  color: var(--fuente-mostaza);
  transition: 0.4s;
}

/*TABLA DE PRECIOS*/
.tabla {
  text-align: center;
  margin-top: 70px;
  padding-left: 300px;
  padding-right: 300px;
}

.tabla__precios {
  color: var(--fuente-verdeoscuro);
  font-weight: bold;
  text-align: center;
  border-color: #72b12c;
  border-collapse: collapse;
}

.tabla h1 {
  color: var(--fuente-verdeoscuro);
  font-weight: bold;
  font-size: 40px;
  margin-bottom: 30px;
}

.tabla__precios tr:nth-child(even) {
  background-color: #ebf9d9;
}

.tabla__precios tr:nth-child(odd) {
  background-color: white;
}

.tabla td,
th {
  padding: 12px 50px 12px 50px;
}

/*SECCIÓN FINAL*/
.final {
  display: grid;
  grid-template-areas:
    "info info"
    "datos datos"
    "footer footer";
  margin-top: 50px;
  gap: 20px;
  background-image: url(/images/fondo-campo.png);
  background-size: cover;
  height: 1200px;
}

/*---INFO---*/
.final__info {
  grid-area: info;
  margin: 230px 200px 0px 200px;
  text-align: center;
  color: white;
}

.final__info h1 {
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.final__info p {
  font-size: 20px;
  margin-bottom: 20px;
}

.final__info img {
  padding: 10px;
}

.final hr {
  height: 1px;
  margin-top: 50px;
  background-color: white;
}

/*---CONTACTO---*/
.final__datos {
  display: flex;
  justify-content: space-between;
  margin: 100px 200px 100px 240px;
  color: white;
  gap: 20px;
}

.final__contacto h3 {
  text-align: center;
}

.final__contacto,
.final__menu,
.final__logotablerapps,
.final__formulario {
  flex: 1;
  max-width: 30%;
  text-align: center;
}

.final__datos img {
  margin-bottom: 30px;
}

.final__menu {
  text-align: left;
}

.final__menu h1 {
  color: var(--fuente-mostaza);
}

.final__menu ul {
  margin-top: 30px;
  list-style: none;
}

.final__menu ul li {
  margin: 10px 0;
}

.final__menu a {
  color: white;
  font-weight: bolder;
}

.final__menu a:hover {
  color: var(--fuente-verdeclaro);
  transition: 0.4s;
}

.final__formulario {
  display: flex;
}

.final__formulario h1 {
  color: var(--fuente-mostaza);
}

.final__formulario label {
  color: white;
  font-weight: bold;
  margin-right: 40px;
}

.final__formulario input,
textarea {
  border-radius: 3px;
  border: 2px solid var(--fuente-verdeclaro);
}

.campotxt {
  margin-top: 20px;
}

.enviar-btn {
  color: white;
  background-color: var(--fuente-verdeclaro);
  border-radius: 20px;
  font-weight: bold;
  border-style: none;
  font-size: 20px;
  margin-top: 10px;
}

.footer {
  grid-area: footer;
  text-align: center;
  color: white;
}

@media screen and (max-width: 576px) {
  body {
    margin: 0;
  }

  .encabezado{
    width: 100%;
    height: fit-content;
  }


  .encabezado__imagen {
    margin: 10px auto auto 10px;
    width: 200px;
  }

  .encabezado__menu {
    margin: 10px 20px auto auto;
    width: 90%;
  }

  .encabezado__menu li{
    font-size: 15px;
    text-align: center;
  }

  hr {
    margin-top: 40px;
  }

  .tabla {
    margin-top: 10px;
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
  }

  .tabla__precios{
    margin-left: 0px;
  }

  .tabla__precios td,
  th {
    padding: 6px 10px;
  }

  .final{
    margin-right: 0px;
    text-align: center;
    align-items: justify;
  }

  .final__datos,
  .final__menu,
  .final__logotablerapps,
  .final__formulario {
    max-width: 100%;
  }

  .final__info{
    margin-top: 170px;
    margin-right: 0px;
    align-self: center;
    margin-left: 0px;

  }

  .final__info h1 {
    font-size: 22px;
  }

  .final__datos {
    flex-direction: column;
    margin-top: 100px;
    margin-left: 15px;
    margin-right: 0px;
    width: 100%;
    align-items: center;
    padding: 20px;
  }

  .final__contacto {
    margin-top: 0px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 100%;
    font-size: 20px;
    color: white;
  }

  .final__menu h1{
    text-align: center;
  }

  .final__menu li{
    text-align: left;    
    
  }

  .final__formulario label{
    color: var(--fuente-verdeoscuro);
  }

  .footer{
    width: 100%;
    padding-left: 0px;
    margin-top: 0px;
    color: black;
    padding-bottom: 30px;
  }
}
