* {
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Ballet', cursive;
    font-family: 'Raleway', sans-serif;
}


html{
    scroll-behavior: smooth;
}


/* HERO */

.hero{
    background-image: url('/images/abogado-acoso-laboral.webp');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
}

.h1-tit{
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: 300;
    font-variant: small-caps;
    color: #DCD8C9;
}

.hero-tit{
    font-size: 46px;
    font-weight: 800;
    color: #DCD8C9;
    letter-spacing: 2px;
}

.linea-hero{
    border: 1px solid rgba(249, 221, 129, 0.2);
}

.lista-hero{
    list-style: none;
    font-size: 18px;
    color: #DCD8C9;
    letter-spacing: 2px;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.lista-hero span{
    font-weight: 800;
}

.lista-hero i{
    color: rgba(152, 148, 93, 1);
}

.btn-cta{
    font-size: 20px;
    font-weight: 400;
    font-variant: small-caps;
    letter-spacing: 2px;
    color: white;
    background-color: #9B916E;
    border: none;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 20px 20px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.btn-cta i{
    color: #e2dbb4;
}

.btn-cta span{
    font-style: italic;
    font-weight: 200;
    font-size: 18px;
}

.btn-cta:hover{
    background-color:#5c5849;
}

.hero-dr{
    display: none;
}

.hero-izq{
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 140px 0px 0px 0px;
}

.tit-hero-secc{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-hero-secc{
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* NOSOTROS */

.nosotros-secc{
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 160px 0px 0px 0px;
    padding: 0px 20px;
 }

 .nos-sec-dr{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
 }

 .nos-sec-izq{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    align-items: center;
 }

 .txt{
    color: #5E5A4E;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 300;
    line-height: 38px;
 }

 .txt span{
    font-weight: bold;
 }

 .h2-nosotros{
    color: #5E5A4E;
    font-size: 32px;
    letter-spacing: 2px;
    font-weight: 400;
 }

 .nosotros-linea{
    border: 1 px solid rgba(15, 47, 42, 0.2);
    width: 100%;
 }

 .nos-txt{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
 }


/* TIPOS DE HERENCIAS */

.tipo-herencias-secc{
    margin: 120px 16px;
  }

  .tipo-tit{
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

  .grl-h2{
    font-size: 32px;
    letter-spacing: 2px;
    font-variant: small-caps;
    font-weight: 300;
    color: #5E5A4E;
  }

  .grl-h2 span{
    font-weight: bold;
    font-size: 42px;
  }


  .linea-tit{
    border: 2px solid #F9DD81;
    width: 40%;
    height: 2px;
  }

  .subtit-tipo{
    font-variant: small-caps;
    font-size: 22px;
    letter-spacing: 2px;
    font-weight: 800;
    text-align: center;
    height: 40px;
  }

  .txt-tipos{
    color: #5E5A4E;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 300;
    line-height: 32px;
    text-align: justify;
  }

 .txt-tipos span{
    font-weight: bold;
 }

 .cajita{
   height: 400px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: flex-start;
 }


 .lista-tipos{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
    align-items: center;
 }

 .img-herencias{
    width: 280px;
    height: auto;
    margin-bottom: 10px;
 }

 .item-tipos{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
   justify-content: space-between;
 }


 /* BANNER */

 .banner{
    background-image: url('../images/home_bckg_mob.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 786px;
    overflow: hidden;
 }

 .banner-tit{
    font-size: 46px;
    color: #DCD8C9;
    font-variant: small-caps;
    font-weight: bolder;
    letter-spacing: 2px;
 }

 .banner-tit span{
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-decoration-color: #F9DD81;
    text-underline-offset: 12px;
 }

 .banner-txt{
    font-size: 26px;
    font-weight: 400;
    color: #DCD8C9;
    letter-spacing: 2px;
    text-transform: capitalize;
    margin-bottom: 20px;
    line-height: 40px;
 }


 .banner-div{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 20px;
    height: 80%;
    padding: 60px 20px 0px 20px;
 }


 /* TIPOS DE MALTRATO */

 .mal-tipos{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 60px;
    gap: 36px;
 }

 .malt-tit{
    color: #5E5A4E;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: bolder;
 }

 .txt-mal{
    color: #5E5A4E;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 300;
    line-height: 32px;
    margin-top: 10px;
    
 }

 .mal-col{
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 90%;
 }

 /* PREGUNTAS FRECUENTES */

.fq-secc{
    margin-top: 80px;
 }

 .subtit-faqs{
    font-size: 22px;
    color: #5E5A4E;
    letter-spacing: 2px;
    font-weight: bolder;
    font-variant: small-caps;
 }

 .faq-div{
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 36px;
 }

 .fq-tit{
    font-size: 22px;
    color: #5E5A4E;
    font-variant: small-caps;
    letter-spacing: 2px;
    margin-bottom: 40px;
 }

 .faq-item {
    padding: 10px 0;
    background-color: rgba(220, 216, 201, 0.33);
  }

  .items-div{
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .faq-question {
    cursor: pointer;
    color: #5E5A4E;
    padding: 10px 40px;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 300;
  }
  
  .faq-answer {
    display: none; /* Ocultamos la respuesta por defecto */
    padding: 10px 0;
    color: #555;
  }
  
  .faq-item.active .faq-answer {
    display: block; /* Muestra la respuesta cuando el item tiene la clase 'active' */
  }

  .disclaimer{
   font-size: 14px;
   letter-spacing: 2px;
   font-style: italic;
   font-weight: 300;
  }

  .sup{
   font-size: 16px;
  }

  .txt-fqs{
    font-size: 16px;
    line-height: 32px;
    font-weight: 300;
  }

  .txt-fqs span{
    font-weight: bold;
  }

  .div-answ{
    padding: 0px 80px;
  }

  /* OTROS SERVICIOS */

  .otros-div{
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 36px;
    overflow: hidden;
  }

  .otros-a{
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  /* WHATSAPP */
  
 #whatsapp-logo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    transform: translateX(200%); /* Start hidden off the screen */
    float: right;
  }
  
  .logo-whatsapp{
    color: #4FCE5D;
    font-size: 64px;
  }




@media (min-width: 375px) {

    /* HERO */

    .hero-izq {
        margin: 80px 0px 0px 0px;
    }

    /* BANNER */

    .banner{
        height: 600px;
        align-items: center;
        display: flex;
    }

    .cajita{
      height: 380px;
    }
}


@media (min-width: 500px) {

    /* HERO */

    .hero-izq {
        margin: 0px 0px 0px 0px;
    }

    .list-hero-secc {
        align-items: center;
    }

    /* TIPOS DE HERENCIAS */

    .tipo-herencias-secc{
        margin: 120px 20px;
        overflow: hidden;
    }

    .tipo-tit{
        align-items: flex-end;
        gap: 40px;
    }

    .linea-tit{
        width: 20%;
      }
   
   .cajita{
      height: 300px;
   }

   /* BANNER */

   .banner-div{
    padding: 60px 40px 0px 40px;
  }

  /* OTROS SERVICIOS */

  .otros-div{
    flex-direction: unset;
    gap: 32px;
    cursor: pointer;
    flex-wrap: wrap;
    justify-content: center;
  }

}

@media (min-width: 700px) {

    /* HERO */

    .hero{
        height: 700px;
        padding: 0px 40px;
    }

    .hero-secc{
        display: flex;
        flex-direction: column;
    }

    .btn-cta{
        font-size: 22px;
        padding: 18px;
    }

    .hero-dr {
        display: block;
    }

    /* NOSOTROS */

    .nosotros-secc{
        padding: 0px 80px;
     }

     /* TIPOS DE HERENCIAS */

    .tipo-herencias-secc{
        margin: 120px 80px;
    }

     /* BANNER */

     .banner{
        height: 500px;
     }

     .banner-div {
        padding: 0px 40px 0px 40px;
    }
   
}


@media (min-width: 900px) {

    /* HERO */

    .hero {
        padding: 0px 80px;
    }

     /* BANNER */

    .banner{
        background-image: url('../images/home_bckg_dsk.webp');
        height: 486px;
    }

    .banner-div{
        width: 70%;
        padding: 60px 0px 0px 80px;
    }

    .banner-tit{
        font-size: 56px;
    }

    .banner-txt{
        font-size: 36px;
    }

    .cajita{
    height: 260px;
    }

    /* TIPOS DE MALTRATO */

    .mal-col{
        width: 80%;
     }

      /* PREGUNTAS FRECUENTES */

  .items-div{
    width: 80%;
  }
}

@media (min-width: 1000px) {

    /* HERO */

    .hero{
        justify-content: flex-start;
        padding: 0px 120px;
    }

    .hero-izq{
       width: 70%;
       margin-top: 60px;
    }

    .hero-dr{
       width: 30%;
    }

    .list-hero-secc {
       align-items: flex-start;
   }

   .btn-cta{
       width: 320px;
   }

   /* NOSOTROS */

    .h2-nosotros{
        font-size: 28px;
    }

    .nosotros-secc{
        display: flex;
        flex-direction: row;
        gap: 120px;
    }

    .nos-sec-dr{
        width: 40%;
        padding-top: 120px;
    }

    .nos-sec-izq{
        width: 50%;
        align-items: flex-start;
    }

    /* TIPOS DE HERENCIAS */

    .lista-tipos {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .item-tipos{
        width: 30%;
        margin-bottom: 20px;
    }

    .cajita{
      height: 520px;
    }

             /* WHATSAPP */

.logo-whatsapp:hover{
    box-shadow: 0px 4px 4px rgba(252, 251, 251, 0.25);
    transform: translateY(-2px) translateX(2px) scale(1);
    transition: transform 0.3s ease-in-out;
 }

    
}

@media (min-width: 1200px) {

    /* HERO */

    .hero-tit{
        width: 80%;
    }

    /* TIPO HERENCIAS */

    .tipo-herencias-secc{
        display: flex;
      flex-direction: column;
      }
  
      .tipo-txt{
          width: 60%;
          margin-left: 280px;
      }
  
      .cajita{
        height: 420px;
      }
  
      .item-tipos{
        height: 580px;
      }
  
      .lista-tipos{
        width: 1200px;
        justify-content: center;
      }

      /* TIPOS DE MALTRATO */

    .mal-col{
        width: 60%;
     }

      /* OTROS SERVICIOS */

   .otros-div{
    flex-direction: row;
    flex-wrap: nowrap;
    height: 300px;
  }

  .otros-a img{
    width: 400px;
    height: auto;
  }
}

