

/* --------- RESET ----------- */

body {
  font-family: "Open sans, Helvetica, Arial", sans-serif;
  background-color: #fff;
  box-sizing: border-box;
  width: 100%;
  margin: auto;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* -------- BARRAS SEPARACION ---------- */

.header {
  background-color: #7a3e7b;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 0;
}

.header p{
  margin-bottom: 0;
}

.barra-1 {
  background-color: #7a3e7b;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.barra-1 > h3 .barra-2 > h3 {
  text-align: center;
  font-weight: 900;
  font-size: 30px;
  text-align: center;
}

.barra-2 {
  background-color: #7a3e7b;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
}

.barra-4 {
  background-color: #7a3e7b;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.footer {
  background-color: #7a3e7b;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.footer > h3 .barra-2 > h3 {
  text-align: center;
  font-weight: 900;
  font-size: 30px;
  text-align: center;
}



/* --------- BOTONES ----------- */

.btn-desktop button{
  background-color: #09d448;
}

.btn-desktop button:hover{
  background-color: #d18f60;
  color: #fff;
  transition: 0.5s;
}


.btn-cta {
  width: 15rem;
  height: 4.2rem;
  border-radius: 30px;
  background-color: #42a7cb;
  color: #fff;
  transition: 0.5s;
  font-size: 25px;
  margin-top: 1rem;
}

.btn-cta:hover {
  background-color: #d18f60;
  color: #fff;
  transition: 0.5s;
}

.btn2 {
  width: 15rem;
  height: 5rem;
  background-color: #292929;
  color: #ffaf53;
  transition: 1s;
  border: none;
  margin-top: 1rem;
  border-radius: 80px;
  font-size: 20px;
}

.btn2:hover {
  background-color: #88602f;
  transition: 1s;
}

.form-btn {
  width: 100%;
  padding: 15px 20px;
  color: #fff;
  margin-top: 20px;
  font-weight: 700;
  font-family: "Open sans, Helvetica, Arial", sans-serif;
  border-radius: 10px;
  background-color: #ff7718;
  border: none;
  transition: 1s;
}

.form-btn:hover {
  background-color: #ffaf53;
  transition: 1s;
}


.btn-mobile{
    display: none;
  }

/* -------- HIGHLIGHT ----------- */

.strong {
  position: relative;
}

.strong::before {
  background-color: ;

  content: "";
  position: absolute;
  width: calc(100% + 4px);
  height: 40%;
  left: -2px;
  bottom: 0;
  z-index: -1;
  transform: rotate(-0.2deg);
}

.highlight{
  position:relative;
  left:0.5em;
}

.highlight:before{
  content:"";
  z-index:-1;
  left:-0.5em;
  top:-0.1em;
  border-width:2px;
  border-style:solid;
  border-color:#ef8c22;
  position:absolute;
  border-right-color:transparent;
  width:100%;
  height:1em;
  transform:rotate(2deg);
  opacity:0.7;
  border-radius:50%;
  padding:0.1em 0.25em;
}
.highlight:after{
  content:"";
  z-index:-1;
  left:-0.5em;
  top:0.1em;
  padding:0.1em 0.25em;
  border-width:2px;
  border-style:solid;
  border-color:#ef8c22;
  border-left-color:transparent;
  border-top-color:transparent;
  position:absolute;
  width:100%;
  height:1em;
  transform:rotate(-1deg);
  opacity:0.7;
  border-radius:50%;
}

/* -------- SECTION 1 - HERO ---------- */

.section-1 {
  background-image: url(../images/banner-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: 40%;
  align-items: center;
  justify-content: center;
  color: #292929;
  height: fit-content;
}

.s1-1{
  padding: 2rem;
}

.s1-1 h1 {
  font-size: 5rem;
  font-weight: 800;
}

.s1-subt {
  font-size: 1.6rem;
  font-style: italic;
  max-width: 700px;
}

.s1-txt {
  width: 50%;
  font-style: italic;
}

.s1-chip {
  display: flex;
  gap: 15px;
  padding: 0 25px;
  font-size: 25px;
  line-height: 70px;
  align-items: center;
}

.s1-chip img {
  float: left;
  margin: 0px 0 0 -15px;
  height: 70px;
  width: 70px;
  border-radius: 50%;
}

.s2-stars p{
  margin: 0;
}

.price-1 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.price-disc {
  background-color: #ffaf5399;
  min-width: 100px;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  /*margin-right: 1rem;*/
}

.price-value {
  font-size: 40px;
  font-weight: 900;
}

.price-old {
  font-style: italic;
}

/* ------- EFECTO DESCUENTO --------- */

s,
strike {
  text-decoration: none;
  position: relative;
}
s::before,
strike::before {
  top: 50%;
  background: red;
  opacity: 0.7;
  content: "";
  width: 110%;
  position: absolute;
  height: 0.1em;
  border-radius: 0.1em;
  left: -5%;
  white-space: nowrap;
  display: block;
  transform: rotate(-15deg);
}
s.straight::before,
strike.straight::before {
  transform: rotate(0deg);
  left: -1%;
  width: 102%;
}

/* -------- HERO ---------- */


.hero-image {
  background-image: linear-gradient(rgb(188 207 251 / 50%), rgb(144 178 250 / 50%)), url(../images/hero.jpg);
  height: 30rem;
  background-position:center;
  background-position-y: -5%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text{
  color: #ffffff;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: #292929 1px 0 10px;

}

.hero-text>h1{
  font-weight: 800;
  font-size: 60px;
}

.hero-text>p{
  font-size: 30px;
  font-style: italic;
}


/* -------- SECTION 2 - MORE INFO ---------- */

.section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #232f3f;
}

.s2-title {
  font-weight: 800;
  font-size: calc(2.2rem + .5vw);
  padding-bottom: 1rem;
}

.s2-subtitle {
  font-style: italic;
  font-size: 30px;
  padding-bottom: 1rem;
  margin-top: -1rem;
}

.s1-img > img , .s2-img > img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  padding: 3rem;
}

.s1-info{
padding: 3rem 6rem;
}

.s2-info {
  padding: 3rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
}

.s2-info button {
  margin-top: 1rem;
}

.s2-stars {
  display: flex;
  gap: 0.5rem;
}

.s2-list {
  list-style: square;
  line-height : 30px;
}

li::before {content: "■"; color: #4D57F5;
  display: inline-block; width: 1em;
  margin-left: -1em}

.s2-p {
  max-width: 50rem;
  text-align: justify;
}




/* -------- REVIEWS ---------- */

.section-rev {
  background-color: #292929;
  padding: 2rem;
  display: flex;
  justify-content: space-around;
}

.s-rev {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 0.5rem;
}
.s-rev-content {
  padding: 1rem;
  text-align: justify;
}

.s-rev-user {
  display: flex;
}

.s-rev-date {
  font-style: italic;
  color: rgba(0, 0, 0, 0.4);
  text-align: end;
  margin-top: -2rem;
}

.user-avatar {
  max-width: 40px;
  border-radius: 20px;
}

.s-rev-info {
  display: flex;
  align-items: center;
  padding-top: 0.5rem;
}

.s-rev-chip {
  display: inline-block;
  padding: 0 25px;
  height: 40px;
  font-size: 16px;
  line-height: 34px;
}

.s-rev-chip > img {
  float: left;
  margin: 0 10px 0 -25px;
  height: 35px;
  width: 35px;
  border-radius: 50%;
}

.rev-title {
  margin-top: 0.5rem;
  margin-bottom: -0.5rem;
  font-size: 20px;
  font-weight: 600;
}

.rev-hr {
  height: 1px;
  background-color: #000000;
  border: none;
}

.s-rev-header > img {
  width: 8rem;
}

/* --------- FORM --------- */

.final-section {
  padding: 2rem;
}

.form-title {
  background-color: ;
  color: #292929;
  padding: 0.5rem;
  width: fit-content;
  font-weight: 800;
  font-size: 40px;
  margin: 0 auto;
}

.card-text {
  text-align: center;
}

.card img {
  max-width: 180px;
}

.box-form {
  font-family: "Open sans, Helvetica, Arial", sans-serif;
  max-width: 600px;
  width: 100%;
  margin: auto;
  box-sizing: border-box;
  background-color: #eca6ed;
  border-radius: 10px;
  padding: 40px;
  color: #1b2143;
  margin-bottom: 2rem;
}

.form-horizontal,
.form-group {
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 15px;
}

.card {
  max-width: 20rem;
  border: none;
  margin: 1rem;
  align-items: center;
}

.form-margin{
  margin: 0.8rem 0;
}

/* Overlap box */

.overlapbox {
  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #f7f7f7;
  padding: 1.5em;
  color: #999;
  width: 50%;
  min-height: 500px;
  position: fixed;
  top: 10%;
  left: 50%;
  margin-left: -25%;
  transform: scale(0, 0);
  transition: all 0.5s ease;
  z-index: 9;
  overflow: hidden;
}

.overlapbox-active {
  transform: scale(1, 1);
}

.content-overlapbox {
  margin-top: 20px;
  overflow-y: scroll;
  max-height: 400px;
}

.disclaimer-pp {
  font-size: 12px;
  color: #000000;
  margin-top: 20px;
}




/* --------- Media Querys --------- */


@media screen and (max-width: 2600px) {
.section-1{
  background-size: ;
  background-position: right;
  background-position-y: 50%;
  height: 40rem;
}

.hero-image{
  background-position-y: 20%;
}
}

@media screen and (max-width: 1360px) {

  .section-1 {
    background-position-x: 60%;
    background-size: cover;
  }

  .s1-img, .s2-img {
    min-width: 500px;
  }

  .s1-img{
    margin-top: -4rem;
  }

  .s2-p {
    font-size: 18px;
  }

  .s2-info{
    padding: 4rem;
    width: 100%;
  }

  .s1-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 0rem;
  }

  .section-content{
    margin: 0;
  }
}


@media screen and (max-width: 768px) {
  .section-1 {
    background-image: url(../images/banner-bg-mobile.jpg);
    background-size: cover;
    background-position-x: left;
    padding: 0;
    max-height: 37rem;
  }

  .price-value{
    font-size: 28px;
    margin-bottom: 0;
  }

  .price-1{
    display: flex;
    align-items: center;
    /* gap: 0; */
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .price-old, .price-disc{
    margin-bottom: 0;
    font-size: 12px;
  }

  .s1-1{
    padding: 1rem;
  }

  .s1-1 h1{
    font-size: 50px;
  }

  .s1-chip {
    padding: 1rem;
    line-height: 3.5;
    padding-top: 0;
    justify-content: flex-start;
  }

  .s1-chip span {
    font-size: 10pt;
    max-width: 200px;
    line-height: 12pt;
    display: flex;
  }

  .s1-chip img{
    width: 50px;
    height: 50px;
  }

  .s1-txt {
    width: fit-content;
  }

  .s1-subt {
    max-width: 350px;
    font-size: 1rem;
  }

  .s2-stars{
    justify-content: flex-start;
    /*background-color: rgb(255 255 255 / 60%);*/
    padding: 2px;
    margin-top: 0;
    font-weight: 600;
  }

  .s2-p {
    width: auto;
    font-size: 17px;
  }

  .s1-info{
    padding: 2rem;
  }

  .s2-info{
    padding: 2rem;
  }

  .s1-img, .s2-img{
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 350px;
  }

  .s1-img>img, .s2-img>img{
    max-width: 400px;
    padding: 0;
    margin-top: 45px;
    margin-bottom: 30px;
  }

  .s-rev{
    gap: 2rem;
  }

  .hero-text{
    top:50%;
    width: 100%;
    padding: 2rem;
  }

  .btn-cta{
    margin: 0;
  }

  .final-section{
    text-align: center;
  }

  .item-center{
    margin: auto;
    display: flex;
    justify-content: center;
  }

  .btn-mobile{
    display: block;
  }

  .hero-text h1{
    font-size: 46px;
  }

  #t45{
    border-radius: 0;
    width: 100%;
    background-color: #42a8cb;
    color: #fff;
  }

  .btn-desktop{
    display: none;
  }

  .barra-1{
    display: none;
  }

  .barra-4{
    text-align: center;
  }

}
