*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body
{
    font-family: 'roboto', sans-serif;
    margin: 0;
}

.img-header {
    width: 4em;
    height: auto;
    padding: 0;
}
.link-img-header {
    padding:0;
}

.navprincipal{
    max-width: 1300px;
    margin: 0 auto !important;
}

h1{font-size: 3.5em;}
h2{font-size: 2.7em;}
h3{font-size: 2em;}
p{font-size: 1.25em;}
ul{list-style: circle;}

.botonBanner:hover{
    background-color: rgb(76, 76, 164);
}   


.container{
    max-width: 1400px;
    margin: auto;
}


header{
    background-color: rgb(245, 245, 245);
}

p.logo{
    margin: 0;
    padding: 25px 30px;
    font-weight: bold;
    color: rgb(44, 44, 144);
    font-size: 1.6em;

}

header.container{
    display: flex;
    flex-direction: column;
    align-items: center;

}

header nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1em;
    font-size: 18px;
    font-weight: 600;
}

header a{
    padding: 0 10px;
    text-decoration: none;
    font-weight: bold;
    color: rgb(32, 52, 111);
}

header a:hover{
    color: black;
}

.whatsapp-btn {
  position: fixed;    
  bottom: 20px;       
  right: 20px;        
  z-index: 9999;      
}

.logo-wp {
  width: 60px;        
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.logo-wp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}
.abogaodsEspecialistas{
  font-size: 30px;
}

#BannerInicio {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    height: 60vh;
    color: white;
    background-image: 
        linear-gradient(
            0deg, 
            rgba(0, 0, 0, 0.5), 
            rgba(0, 0, 0, 0.5)
        ), 
        url("imagenes/ABOGADOS.jpg");
    background-size: cover; 
    background-position: center; 
}

.divBanner{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 45%;
    padding-left: 5em;
    gap: 1em;
}

.textoBanner{
    font-size: 60px;
    line-height: 70px;
    font-weight: 700;

}

.AreasPractica{
    padding: 2em;
    background-color: white;
    text-align: center;
}

.AreasPractica section{
    background-color: white;
}

.SeccionCartas{
    background-color: rgb(223, 222, 222);
}

.divSeccionCartas{
    max-width: 1200px;
    margin: auto;
    gap: 3em;
    display: flex;
    flex-direction: column;
    padding: 3em 0;
}
.carta{
    background-color: white;
    height: 370px;
    width: 470px;
    padding: 3em;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cartaDiv{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    /* gap: .5em; */
}

.cartaFlex{
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
}

.ulCartas{
    list-style: disc;
    margin-left: 20px
}

.ulCartas li{margin-top: none !important;}


.h3Cartas{

font-weight: bold;

display: flex;

justify-content: space-between;

width: 100%;

align-items: center;

color: rgb(32,52,111);
}

.h3Cartas i{

font-size: 2.5rem;
}


.imgTick{
    height: 1.7em;
}

.imgDaÃ±oMaterial{
  height: 48px;
  width: 48px;
}


.divNosotros{
    background-color: white;
}

.nosotros {
    display: flex;
    justify-content: space-between;
  align-items: stretch; 
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

.comoTrabajamos {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.listaNosotros {
  flex: 1; 
    display: flex;
  align-items: center; 
}


.comoTrabajamos h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.comoTrabajamos p {
    margin-bottom: 20px;
    line-height: 1.6;
}



.listaNosotros ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px 30px; 
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.listaNosotros li {
    font-size: 0.95rem;
    line-height: 1.4;
}


.listaNosotros ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none; 
}

.listaNosotros li {
    background: #ffffff; 
    border-radius: 12px; 
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
}


.listaNosotros li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}


.listaNosotros h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #111;
}


.listaNosotros p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}


.comoTrabajamos {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}


.comoTrabajamos h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}


.comoTrabajamos h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: black;
    border-radius: 2px;
}


.comoTrabajamos p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}


.botonBanner {
    background: rgb(32,52,111);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: .5em;
    text-transform: uppercase;
    margin-left: auto;
    margin-right: auto;
}
.botonBanner:hover {
    background: rgb(62, 75, 114);
    transform: scale(1.05);
}

.divPerfiles{
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 1em;
    padding-bottom: 3em;
}

.perfiles{
    margin-bottom: 60px;

}

.cardPerfil img{
        border-radius: 2500px;
    width: 200px !important;
    height: 200px !important;
}


.cardPerfil{
    background: rgb(223, 222, 222);
    border: none !important;

}


.contenedorCardPerfil{
    padding: 1.5em !important;
    gap: 1em;
    max-width: 280px;
}

.cardPerfil {
    max-width: 280px;
}

.contenedorCardPerfil span{
    color: black;
}

.contenedorCardPerfil a{
    padding: 1em !important;
    background: rgb(32,52,111);
}

.nombrePersona{
    font-weight: 600;
    color: rgb(32,52,111);
}


.divPerfilFlex{
    display: flex;
    gap: 1em;

}





footer {
  background-color: #0C1B34; 
  color: white;
  font-size: 1rem;
}


.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex; 
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 3em;
}

.footer-left {
    max-width: 450px;
    width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.footer-right {
    max-width: 450px;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.footer-left img {
    max-width: 150px;
}

.footer-left p {
  color: #fff;
  text-align: center;
}



.lista-footer {
    list-style: none;
}

.lista-footer li {
    margin-bottom: 5px;
    font-size: 20px;
}


.footer-logo {
  max-width: 150px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 12px;
}


.footer-right h3 {
  font-size: 25px;
  margin-bottom: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    padding: 2em 0 3em 0;
}

.footer-bottom iframe {
  max-width: 1200px;
  height: 400px; 
  display: block;
  border: 0;
}


@media (max-width: 700px) {
  .footer-top {
    padding: 24px 16px;
  }

  .footer-logo { max-width: 180px; }
}




@media (min-width: 1400px) {
  .divBanner {
    max-width: 40%;
  }

  .textoBanner {
    font-size: 3.5em;
  }

  .carta {
    width: 500px;
  }

  .footer-bottom iframe {
    height: 400px;
  }
}




@media (max-width: 1024px) {

  .divBanner {
    max-width: 70%;
    padding-left: 2em;
  }

  .textoBanner {
    font-size: 2.5em;
    line-height: 1.2em;
  }

  .cartaFlex {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
  }

  .carta {
    width: 80%;
  }

  .nosotros {
    flex-direction: column;
    padding: 60px 2em;
  }

  .listaNosotros ul {
    grid-template-columns: repeat(2, 1fr);
  }

  
  .divPerfiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    gap: 2em;
    width: 100%;
    margin: 0 auto;
  }

  .cardPerfil {
    flex: 1 1 45%;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 1.5em;
  }

  .cardPerfil img {
    display: block;
    margin: 0 auto 1em auto;
    width: 100%;
    max-width: 220px;
    height: auto;
  }

  .cardPerfil h3,
  .cardPerfil p {
    text-align: center;
    margin: 0.3em 0;
  }

  .footer-top {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
  }
}











@media (max-width: 768px) {

  
  #BannerInicio {
    height: auto;
    padding: 4em 1.5em;
    text-align: center;
    align-items: center;
  }

  .divBanner {
    max-width: 100%;
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .textoBanner {
    font-size: 1.8em;
    line-height: 1.3em;
  }

  .parrafoBanner {
    font-size: 1.1em;
  }

  
  .cartaFlex {
    flex-direction: column;
    align-items: center;
    gap: 2em;
  }

  .carta {
    width: 90%;
    height: auto;
    padding: 2em 1.5em;
  }

  
  .nosotros {
    flex-direction: column;
    padding: 50px 1.5em;
  }

  .listaNosotros ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .comoTrabajamos h2 {
    font-size: 2rem;
  }

  
  .divPerfiles {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .cardPerfil {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1.5em;
    box-sizing: border-box;
    text-align: center;
  }

  .cardPerfil img {
    display: block;
    margin: 0 auto 1em auto;
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  .cardPerfil h3,
  .cardPerfil p {
    text-align: center;
    margin: 0.3em 0;
  }

  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2em;
  }

  .footer-left,
  .footer-right {
    max-width: 100%;
    width: 100%;
  }

  .footer-bottom iframe {
    height: 250px;
  }

  .logo-wp {
    width: 50px;
    height: 50px;
  }
}















@media (max-width: 480px) {

  
  #BannerInicio {
    height: auto;
    padding: 3em 1em;
    text-align: center;
  }

  .divBanner {
    max-width: 100%;
    padding: 0;
    align-items: center;
  }

  .textoBanner {
    font-size: 1.6em;
    line-height: 1.3em;
  }

  .parrafoBanner {
    font-size: 0.8em;
  }

  
  .cartaFlex {
    flex-direction: column;
    align-items: center;
    gap: 2em;
  }

  .carta {
    width: 90%;
    height: auto;
    padding: 2em 1.5em;
  }

  
  .nosotros {
    flex-direction: column;
    padding: 40px 1em;
  }

  .listaNosotros ul {
    grid-template-columns: 1fr;
  }

  .comoTrabajamos h2 {
    font-size: 1.8rem;
  }

  
  .divPerfiles {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .cardPerfil {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1.5em;
    box-sizing: border-box;
    text-align: center;
  }

  .cardPerfil img {
    display: block;
    margin: 0 auto 1em auto;
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  .cardPerfil h3,
  .cardPerfil p {
    text-align: center;
    margin: 0.3em 0;
  }

  
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2em;
  }

  .footer-left,
  .footer-right {
    max-width: 100%;
    width: 100%;
    align-items: center;
  }

  .footer-bottom iframe {
    height: 220px;
  }


  .logo-wp {
    width: 45px;
    height: 45px;
  }
}

.footer-logo{
  width: 20%;
}

.footer-left{
  align-items: center;
}

@media (max-width: 767px) {
  .divnav {
    padding: 0.75rem 1rem;
  }

  #navbar-default {
    width: 100%;
    margin-top: 0.45rem;
  }

  #navbar-default ul {
    padding: 0.35rem 0;
    margin: 0;
    background: #fff;
    border-radius: 10px;
  }

  #navbar-default li {
    list-style: none;
  }

  #navbar-default a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    color: rgb(32, 52, 111);
    text-decoration: none;
    padding: 0.45rem 0.8rem;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  #navbar-default a:hover,
  #navbar-default a:focus {
    background-color: #f1f4f8;
    color: rgb(20, 36, 80);
  }

  #navbar-default a[aria-current="page"] {
    background-color: #e7ebf3;
    color: rgb(32, 52, 111);
  }
}

@media (max-width: 767px) {
  .divnav {
    padding: 0.75rem 1rem;
  }

  #navbar-default {
    width: 100%;
    margin-top: 0.45rem;
  }

  #navbar-default ul {
    padding: 0.35rem 0;
    margin: 0;
    background: #fff;
    border-radius: 10px;
  }

  #navbar-default li {
    list-style: none;
  }

  #navbar-default .menu-link {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    color: rgb(32, 52, 111);
    text-decoration: none;
    padding: 0.45rem 0.8rem;
    border-radius: 6px;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  #navbar-default .menu-link:hover,
  #navbar-default .menu-link:focus {
    background-color: #f1f4f8;
    color: rgb(20, 36, 80);
  }

  #navbar-default .menu-link.active,
  #navbar-default .menu-link[aria-current="page"] {
    background-color: #e7ebf3;
    color: rgb(32, 52, 111);
  }

  #navbar-default .menu-link.active:hover,
  #navbar-default .menu-link[aria-current="page"]:hover {
    background-color: #f1f4f8;
    color: rgb(20, 36, 80);
  }
}