* {
    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-docentes.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;
 }

 /* BANNER */

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

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

 
 /* OTROS TRABAJADORES */

.otros-div{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

  .card {
    min-width: 300px;
    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 {
    width: 300px;
    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;
  }

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


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

     /* BANNER */

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

  /* TIPOS DE HERENCIAS */

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

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

.linea-tit{
    width: 20%;
  }
}


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

     .lis-nos {
        margin: 20px 0px 0px 32px;
    }

    /* BANNER */

    .banner{
        height: 500px;
     }

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

    /* TIPOS DE HERENCIAS */

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

      /* OTROS TRABAJADORES */

      .card {
        min-width: calc(25% - 10px); 
      }
}


@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: 160px;
    }
}


@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%;
        margin-top: 120px;
    }

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

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

