* {
    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-laboral-caba.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: 40px;
    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;
 }

 .lista-bal{
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 40px;
   margin: 60px 0px 40px 0px;
 }

 .lista-bal li{
   display: flex;
   gap: 40px;
 }

  /* 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;
 }

 .saber{
   color: #ADA073;
   font-size: 22px;
   letter-spacing: 2px;
   font-variant: small-caps;
   font-weight: bolder;
 }

 .saber i{
   font-size: 18px;
 }

 .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;
 }


 /* CARROUSEL */

 .carousel-container {
   position: relative;
   max-width: 1520px; /* 4 * 380px */
   margin: auto;
   overflow: hidden;
   margin-top: 60px;
 }
 
 .carousel-arrow {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   cursor: pointer;
   font-size: 24px;
   z-index: 100;
   background-color: #ffffffa6;
 }

 .carousel-arrow:hover{
   background-color: white;
 }
 
 .left-arrow {
   left: 10px;
 }
 
 .right-arrow {
   right: 10px;
 }
 
 .carousel {
   display: flex;
   overflow: hidden;
 }
 
 .carousel-track {
   display: flex;
   transition: transform 0.5s ease;
 }

 .card {
   min-width: 380px;
   height: 320px;
   margin-right: 10px;
   background-color: #f5f5f5; /* Example color */
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   flex-shrink: 0;
   text-decoration: none; /* Remove default link styling */
   color: #333; /* Text color for the link */
 }
 
 .img-card {
   max-width: 90%; /* Ensure the image fits within the card */
   height: auto;
   border-bottom: 1px solid #ccc; /* Optional border for aesthetics */
 }

 .carr-txt{
   font-size: 20px;
   letter-spacing: 2px;
   font-weight: 800;
   margin-top: 20px;
   color: #5E5A4E;
   font-variant: small-caps;
 }

 .carousel-indicators {
   text-align: center;
   padding-top: 10px;
 }
 
 .indicator {
   display: inline-block;
   width: 10px;
   height: 10px;
   border-radius: 50%;
   background-color: #ccc;
   margin: 0 5px;
   cursor: pointer;
 }
 
 .indicator.active {
   background-color: #333;
 }


  /* COMO TRABAJAN */

  .lis-como{
   display: flex;
   flex-direction: column;
   flex-wrap: wrap;
   gap: 40px;
   list-style: none;
   margin-top: 64px;
  }

  .num-div{
   background-color: #0F2F2A;
   height: 54px;
   width: 54px;
   border-radius: 80px;
   display: flex;
   align-items: center;
   justify-content: center;
  }

.num{
   font-size: 32px;
   font-weight: 800;
   color: white;
}

.num-tit{
   font-size: 22px;
   letter-spacing: 2px;
   font-variant: small-caps;
   color: #5E5A4E;
   text-align: center;
}

.lis-li{
   display: flex;
   flex-direction: column;
   gap: 28px;
   align-items: center;
}

.li-div{
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 16px;
}

/* MAPA */

.mapa-secc{
   margin-top: 60px;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 40px;
   overflow: hidden;
}
 
 /* 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;
    }


    /* NOSOTROS */

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

     /* 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;
      }
}

@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;
    }

    /* CARROUSEL */

    .card {
      min-width: calc(25% - 10px); /* Adjust based on the number of cards displayed */
    }

    

   
  

}

@media (min-width: 900px) {

    /* HERO */

    .hero {
        padding: 0px 80px;
    }

    /* TIPOS DE HERENCIAS */

    .saber:hover{
      text-decoration: underline;
    }

    /* 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;
 }

  /* COMO TRABAJAN */

  .lis-como{
   flex-direction: row;
   flex-wrap: nowrap;
  }
 
/* MAPA */

.mapa-secc{
   flex-direction: row;
}

.dir-sec{
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.dir{
  color: #5E5A4E;
  font-size: 18px;
  letter-spacing: 2px;
  font-style: italic;
}

}

@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%;
  }

  .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;
    }


}