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


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

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

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

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



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


 /* PROCESO */

 .proc-lis{
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    flex-wrap: wrap;
 }

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

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

 .num{
    background-color: #0F2F2A;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
 }

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

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


 .lis-txt a{
    font-weight: bold;
    cursor: pointer;
 }

 /* HONORARIOS */

 .hon-div{
    display: flex;
    flex-direction: column-reverse;
    gap: 80px;
 }

 .lis-hono{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
 }

 .tit-hono{
    font-size: 28px;
    font-variant: small-caps;
    letter-spacing: 2px;
    font-weight: bold;
    margin: 16px 0px;
 }

 .hono-divDos{
    display: flex;
    flex-direction: column;
    gap: 20px;
 }

 .hon-ulDiv{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
 }

 .hono-btn{
    text-align: center;
 }

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

 .img-hon{
    width: 300px;
    height: auto;
 }



 /* PREGUNTAS FRECUENTES */

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

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

  .sup{
   font-size: 16px;
  }

   /* LISTA FQS */

   .faq-answer{
      padding: 20px 60px;
   }

   .lista-tit {
      font-size: 16px;
      font-weight: bold;
      padding-bottom: 10px;
   }

   .lista-fqs{
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 20px;
   }

   .lista-fqs li{
      line-height: 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
   }

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

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

   .txt-fqs a{
      color: #A63434;
      cursor: pointer;
   }

   .div-answ{
      display: flex;
      flex-direction: column;
      gap: 20px;
   }

   .lis-tarda{
      display: flex;
      flex-direction: column;
      gap: 16px; 
   }

   .lis-doc{
      display: flex;
      flex-direction: column;
      gap: 16px; 
      padding-left: 48px;
   }


/* Estilo base para dispositivos móviles */
.tabla-sucesion {
   width: 100%;
   border-collapse: collapse;
   margin-top: 20px;
   font-size: 14px;
}

.tabla-sucesion thead {
   display: none; /* Ocultar encabezado en móviles */
}

.tabla-sucesion tr {
   display: block;
   margin-bottom: 10px;
   border: 1px solid #ddd;
}

.tabla-sucesion td {
   display: block;
   text-align: right;
   border: none;
   border-bottom: 1px solid #ddd;
   position: relative;
   padding-left: 50%;
   padding-top: 10px;
   padding-bottom: 10px;
}

.tabla-sucesion td::before {
   content: attr(data-label); /* Mostrar etiqueta */
   position: absolute;
   left: 10px;
   font-weight: bold;
   text-align: left;
}

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

@media (min-width: 500px) {

    /* HERO */

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

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

    .btn-cta{
        width: 80%;
    }

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

       /* 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;
        width: 60%;
        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;
    }
    
     /* PROCESO */

    .proc-lis{
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .lis-li{
        width: 30%;
        text-align: left;
     }

     /* FAQS */

     .tabla-sucesion {
      border-collapse: collapse;
      font-size: 16px;
  }

  .tabla-sucesion thead {
      display: table-header-group;
  }

  .tabla-sucesion tr {
      display: table-row;
      margin-bottom: 0;
  }

  .tabla-sucesion td, 
  .tabla-sucesion th {
      display: table-cell;
      text-align: left;
      padding: 10px;
      border: 1px solid #c3c3c3;
  }

  .tabla-sucesion th {
      background-color: #f2f2f2;
      font-weight: bold;
  }

  .tabla-sucesion tr:nth-child(even) {
      background-color: #f9f9f9;
  }

}

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

  /* PREGUNTAS FRECUENTES */

  .items-div{
    width: 80%;
  }


}

@media (min-width: 1000px) {

     /* HERO */

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

     .hero-dr{
        width: 30%;
     }

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

    .btn-cta{
        width: 320px;
    }

    /* TIPOS DE HERENCIAS */

    .lista-tipos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

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

       /* HONORARIOS */

       .div-imgHon{
        display: block;
        width: 35%;
       }

       .hono-divDos{
        width: 65%;
        margin-top: 40px;
       }

       .hon-div{
        flex-direction: row;
     }
    
     .img-hon{
        width: 350px;
     }

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

    /* NOSOTROS */

    .nosotros-secc{
        display: flex;
        flex-direction: row;
        gap: 120px;
        padding: 0px 60px;
        margin-left: 80px;
        margin-right: 80px;
    }

    .nos-sec-dr{
        width: 40%;
    }

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

    /* TIPO HERENCIAS */

    .tipo-txt{
        width: 60%;
        margin-left: 280px;
    }

     /* PROCESO */

     .proc-lis{
        width: 80%;
        margin: 80px auto;
        }
}