
/* Utilizar siempre el prefijo solar-companies__ para todas las clases de esta sección */
/* Utilizar siempre indentación de 2 caracteres */
:root{
  --pagesMainColor: #5AFFBA;
}

.page-company-profile__top-rectangle{
  background: #F1F9FA;
  height: 10px;
}
.page-company-profile__container-flex *,
.page-company-profile__container-flex *::after,
.page-company-profile__container-flex *::before{
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}
.page-company-profile__container-flex{
  display: flex;
  width: 100%;
}
.page-company-profile__container-flex > p{
  width: 100%;
}
.page-company-profile__container-flex > div{
  width: 100%;
}
.page-company-profile__container-flex > div:first-of-type{
  border-right: 1px solid #ECECEC;
  padding-right: calc(20px + 2.7vw);
}
.page-company-profile__container-flex > div:first-of-type > span{
  display: block;
  margin-top: 25px;
  margin-bottom: 20px;
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
}
.page-company-profile__container-flex > div:first-of-type > span a{
  color: #1f1f29;
  text-decoration: none;
}

.page-company-profile__header{
  gap: 15px;
  display: flex;
  justify-content: space-between;
}
.page-company-profile__title{
  margin-bottom: 5px;
  color: #1C2557;
  font-size: calc(28px + .33vw);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  line-height: 1.23;
  max-width: 280px;
}
.page-profile__reviews{
  display: flex;
  gap: 12px;
  align-items: center;
  white-space: nowrap;
}

.page-profile__reviews > span:first-child {
  position: relative;
}

.page-profile__reviews-stars-cover {
  display: block;
  background: #1f1f29;
  width: 50%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  mix-blend-mode: color;
}
.page-profile__reviews p{
  color: #8D8D8D;
  font-size: 14px;
  line-height: 1.66;
}
.page-company-profile__header picture{
  height: calc(35px + .7vw);
}
.page-company-profile__header picture img{
  height: 100%;
  object-fit: contain;
  max-width: 150px;
}

.page-company-profile__container-flex > div:last-of-type{
  padding-left: 20px;
  min-width: 610px;
}
.page-company-profile__container:last-of-type{
  width: 100%;
  background: #FAFAFA;
}
.page-company-profile__container:last-of-type .page-company-profile__container-flex ul li{
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ECECEC;
  padding: 10px 0px;
  gap: 10px;
}
.page-company-profile__container:last-of-type .page-company-profile__container-flex ul li:first-of-type{
  margin-top: calc(15px + 1.5vw);
}
.page-company-profile__container:last-of-type .page-company-profile__container-flex ul li:last-of-type{
  border-bottom: none;
}
.page-company-profile__container:last-of-type .page-company-profile__container-flex ul li p{
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
}
.page-company-profile__container:last-of-type .page-company-profile__container-flex ul li p:last-of-type{
  text-align: end;
}
.page-company-profile__container:last-of-type .page-company-profile__container-flex > div:last-of-type{
  text-align: center;
  margin: auto;
}
.page-company-profile__container:last-of-type .page-company-profile__container-flex div:last-of-type h2{
  font-weight: 600;
  font-family: "Poppins",Sans-serif;
  font-size: 20px;
  margin-bottom: 15px;
  line-height: 1.33;
}
.page-company-profile__container:last-of-type .page-company-profile__container-flex div:last-of-type p{
  max-width: 400px;
  min-width: 300px;
  color: #161616;
  font-size: 15px;
  width: 100%;
  padding: 0px 10px;
  margin: 0 auto 30px;
}
.page-company-profile__container:last-of-type .page-company-profile__container-flex div:last-of-type p:last-of-type{
  margin-bottom: 0;
}
.page-company-profile__container:last-of-type .page-company-profile__container-flex div:last-of-type button{
  background: #FFD814;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  padding: 10px;
  border-radius: 20px;
  width: 50%;
  min-width: 300px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 22px;
}

.page-company-profile__description {
  padding: 30px;
  margin: 20px 0 20px;
  background: #fff;
  box-sizing: border-box;
  position: relative;
  /* https://smoothshadows.com/#djEsMiw1LDAuMDQsNTMsMjIsMCwjMDMwNzEyLCNmM2Y0ZjYsI2ZmZmZmZiwy */
  box-shadow: 0px 1px 2px rgba(3, 7, 18, 0.04),
    0px 4px 8px rgba(3, 7, 18, 0.03),
    0px 8px 19px rgba(3, 7, 18, 0.02),
    0px 14px 34px rgba(3, 7, 18, 0.02),
    0px 22px 53px rgba(3, 7, 18, 0.01);
  border-radius: 20px;
}

.page-company-profile__description:before {
  content: "";
  position: absolute;
  top: -1.5em;
  right: 0;
  border-style: solid;
  border-width: 0 0 2em 2em;
  border-color: #ffffff transparent;
  display: block;
  width: 0;
}

.page-company-profile__tags {
  margin: 0 -2px 0;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.page-company-profile__tags li {
  border: #cccccc dashed 1px;
  color: #1f1f29;
  padding: 2px 15px;
  border-radius: 15px;
  font-size: 12px;
  white-space: nowrap;
}

.page-company-profile__actions {
  margin: 30px -2px 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.page-company-profile__actions li a {
  display: block;
  background: #1f1f29;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 32px;
  font-size: 13px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.page-company-profile__actions li a:hover {
  background: #FFD814;
  color: #1f1f29;
}

.page-company-profile__catalog{
  margin-bottom: 100px;
}
.page-company-profile__catalog h2{
  line-height: 1.33;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  font-size: calc(17px + .45vw);
  margin-bottom: 30px;
  color: #202020;
}
.page-company-profile__catalog .wrapper{
  margin-top: 70px;
}
.page-company-profile__catalog-cards{
  margin-top: 20px;
}
.page-company-profile__catalog-cards a{
  text-decoration: none;
}
/* RESPONSIVE -utilizar distintos mediaqueries según sea necesario- */

@media (max-width: 1310px){
  .page-company-profile__container-flex > div:first-of-type{
    padding-right: 20px;
  }
  .page-company-profile__container:last-of-type .page-company-profile__container-flex ul li p{
    font-size: 14px;
  }
}
@media (max-width: 1200px) {
  .page-company-profile__catalog-cards{
    grid-template-columns: repeat(4, 1fr);
  }
  .page-company-profile__catalog-cards a:nth-child(5){
    display: none;
  }
}
@media (max-width: 1100px){
  .page-company-profile__header > div picture{
    height: 38px;
  }
  .page-company-profile__title{
    font-size: calc(1vw + 18px);
  }
  .page-company-profile__container-flex > div:last-of-type{
    min-width: 490px;
  }
  .page-company-profile__container:last-of-type .page-company-profile__container-flex ul li p{
    font-size: 13.5px;
  }
}
@media (max-width: 950px) {
  .page-company-profile__container .wrapper{
    padding: 0px 20px;
  }
  .page-company-profile__catalog .wrapper{
    padding: 0px 20px;
  }
}
@media (max-width: 900px) {
  .page-company-profile__container-flex > div:first-of-type > div{
    display: flex;
    justify-content: space-between;
    gap: 30px;
  }
  .page-company-profile__title{
    max-width: 200px;
  }
  .page-company-profile__header{
    justify-content: start;
  }
  .page-company-profile__container-flex{
    flex-wrap: wrap;
  }
  .page-company-profile__container-flex > div:first-of-type{
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #ECECEC;
  }
  .page-company-profile__container-flex > div:first-of-type > div{
    margin-bottom: 50px;
  }
  .page-company-profile__container-flex > div:last-of-type{
    min-width: 100%;
    padding-left: 0;
  }
  .page-company-profile__container:last-of-type .page-company-profile__container-flex ul li{
    justify-content: start;
  }
  .page-company-profile__container:last-of-type .page-company-profile__container-flex ul li p:first-of-type{
    width: 80%;
    max-width: 350px;
  }
  .page-company-profile__container:last-of-type .page-company-profile__container-flex div:last-of-type p{
    width: 100%;
    max-width: 380px;
    margin: 0 auto 20px;
  }
  .page-company-profile__container:last-of-type .page-company-profile__container-flex div:last-of-type h2{
    margin-top: calc(40px + 1.5vw);
  }
  .page-company-profile__container:last-of-type .page-company-profile__container-flex div:last-of-type p:last-of-type{
    margin-bottom: calc(40px + 1.5vw);
  }
}
@media (max-width: 880px) {
  .page-company-profile__catalog-cards{
    grid-template-columns: repeat(3, 1fr);
  }
  .page-company-profile__catalog-cards a:nth-child(4){
    display: none;
  }
}
@media (max-width: 625px) {
  .page-company-profile__catalog-cards{
    grid-template-columns: repeat(2, 1fr);
  }
  .page-company-profile__catalog-cards a:last-of-type{
    display: block;
  }
}
@media (max-width: 590px) {
  .page-company-profile__header{
    justify-content: space-between;
  }
  .page-profile__reviews{
    margin-bottom: 20px;
  }
  .page-company-profile__container-flex > div:first-of-type > span{
    margin-top: 15px;
  }
  .page-company-profile__container-flex > div:first-of-type > div{
    display: block;
  }
}
@media (max-width: 540px) {
  .page-company-profile__header > div picture{
    height: 32px;
  }
  .page-company-profile__container:last-of-type .page-company-profile__container-flex ul li{
    justify-content: space-between;
  }
  .page-company-profile__container:last-of-type .page-company-profile__container-flex ul li p:first-of-type{
    width: auto;
    max-width: none;
  }
}
@media (max-width: 490px) {

}
@media (max-width: 480px) {
  .page-company-profile__container:last-of-type .page-company-profile__container-flex ul li p{
    font-size: 12.5px;
  }
}
@media (max-width: 400px) {
  .page-company-profile__container:last-of-type .page-company-profile__container-flex ul li p{
    font-size: 11.5px;
  }
}
