/* ================================
   SECTION HABLEMOS
================================ */

.section-hablemos {
  position: relative;
  overflow: hidden;

  background-color: var(--color11);

  text-align: center;

  padding: 4rem 2rem 2rem;

  color: var(--color1);

  margin: 0 auto;

  scroll-margin-top: 100px;
}


/* ================================
   MANCHA LAVANDA DECORATIVA
================================ */

/* En mobile y tablet no se muestra */
.section-hablemos::before {
  content: "";

  display: none;

  position: absolute;

  background-image: url("../img/mancha-lavanda.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  pointer-events: none;

  z-index: 0;
}


/* ================================
   CONTENEDOR
================================ */

.container-section-hablemos {
  position: relative;

  z-index: 1;

  max-width: 1200px;

  margin: 0 auto;

  display: flex;

  flex-direction: column;
}


/* ================================
   ENCABEZADO
================================ */

.section-hablemos h5 {
  margin-bottom: 1rem;

  color: var(--color2);

  text-align: center;

  font-size: 0.9rem;
}

.section-hablemos h1 {
  font-family: "Poppins", sans-serif;

  font-size: 1.8rem;

  line-height: 1.3;

  margin: 2rem 0;

  color: var(--color1);
}


/* ================================
   PÁRRAFOS
================================ */

.hablemos-parrafo {
  font-size: 1rem;

  line-height: 1.5rem;

  color: var(--color3);

  text-align: center;

  margin: 0;
}

.hablemos-parrafo-separado {
  margin-top: 1.5rem;
}


/* ================================
   FRASE DESTACADA
================================ */

.hablemos-destacado {
  margin-top: 2rem;

  font-size: 1rem;

  line-height: 1.5rem;

  font-weight: 700;

  color: var(--color3);

  text-align: center;
}


/* ================================
   IMAGEN
================================ */

.container-img-hablemos {
  position: relative;

  z-index: 1;

  margin: 2rem 0;
}

.container-img-hablemos img {
  position: relative;

  z-index: 1;

  width: 100%;

  height: auto;

  display: block;
}


/* ================================
   BOTÓN
================================ */

.button-hablemos {
  text-align: center;

  width: 100%;
}

.btn-hablemos {
  background-color: var(--color2);

  color: var(--color11);

  padding: 0.8rem 1.6rem;

  border: none;

  border-radius: 8px;

  text-decoration: none;

  font-weight: bold;

  font-size: 1rem;

  display: inline-block;

  margin: 1.5rem 0;

  min-width: 300px;

  text-align: center;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.btn-hablemos:hover {
  background-color: var(--color14);

  transform: translateY(-2px);
}


/* ================================
   TABLET
================================ */

@media screen and (min-width: 768px) {

  .section-hablemos h5 {
    font-size: 1rem;
  }

  .section-hablemos h1 {
    font-size: 2.2rem;
  }

  .hablemos-parrafo {
    font-size: 1.1rem;

    line-height: 1.8rem;

    text-align: center;
  }

  .hablemos-parrafo-separado {
    margin-top: 1.8rem;
  }

  .hablemos-destacado {
    margin-top: 2rem;

    font-size: 1.1rem;

    line-height: 1.6rem;
  }

  .container-img-hablemos {
    max-width: 400px;

    width: 100%;

    margin: 2rem auto;
  }

}


/* ================================
   DESKTOP
================================ */

@media screen and (min-width: 1024px) {

  .section-hablemos {
    padding: 5rem 2rem 3rem;
  }


  /* Mancha lavanda solo en desktop */

  .section-hablemos::before {
    display: block;

    right: -210px;

    top: 52%;

    transform: translateY(-50%) rotate(-7deg);

    width: 720px;

    height: 720px;

    opacity: 0.17;
  }


  /* Contenedor */

  .container-section-hablemos {
    margin: 0 auto;

    flex-direction: row;

    align-items: center;

    gap: 4rem;

    max-width: 1200px;
  }


  /* Texto */

  .container-texto-hablemos {
    max-width: 50%;

    text-align: left;
  }


  /* Encabezado */

  .section-hablemos h5 {
    text-align: left;

    font-size: 1.1rem;
  }

  .section-hablemos h1 {
    font-size: 2.8rem;

    line-height: 1.3;
  }


  /* Párrafos */

  .hablemos-parrafo {
    font-size: 1.2rem;

    line-height: 1.8rem;

    text-align: left;
  }

  .hablemos-parrafo-separado {
    margin-top: 2rem;
  }


  /* Frase destacada */

  .hablemos-destacado {
    margin-top: 2rem;

    font-size: 1.2rem;

    line-height: 1.7rem;

    text-align: left;
  }


  /* Imagen */

  .container-img-hablemos {
    max-width: 600px;

    flex: 1;

    margin: 2rem 0;
  }


  /* Botón */

  .button-hablemos {
    text-align: left;
  }

}