body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}
.fa-user-shield {
    color: #b60000;
    margin-right: 5px; /* espacio entre el icono y el texto */
  }
  

.header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: #333;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #0077b6;
}

.hero {
    background: url('logo\ 2.png') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 150px 0;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.btn-hero {
    background: #0077b6;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-hero:hover {
    background: #005f86;
}

section {
    padding: 60px 0;
}

.quienes-somos p, .equipo p, .areas-practica p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6em;
    text-align: center;
}

.areas-practica .grid-areas {


    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
    margin-top: 40px;
}

.area-card {
    background: #f9f9f9;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
}

.area-card h3 {
    
    margin-bottom: 15px; 
   
} 

.equipo .grid-equipo {
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.equipo-card {
    text-align: center;
    padding: 20px;
}

/* Estilos generales para el contenedor de la foto */
.foto-abogado {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    background-size: cover;
    background-position: center center;
}

/* Imagen para el Abogado/a Principal */
.equipo-card.principal .foto-abogado {
    background-image: url('abogado\ 11.jpg');
}

/* Imagen para el Asociado/a Senior */
.equipo-card.senior .foto-abogado {
    background-image: url('abogado\ 2.jpg');
}

/* Imagen para el Abogado/a Junior */
.equipo-card.junior .foto-abogado {
    background-image: url('bruno.jpg');
}
/* Botón de WhatsApp */
.btn-whatsapp {
    display: inline-block;
    background-color: #25d366; /* Color oficial de WhatsApp */
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    margin-top: 20px; /* Espacio superior */
}

.btn-whatsapp:hover {
    background-color: #1ebd5a; /* Efecto hover */
}

/* Opcional: estilos para el contenedor del botón de WhatsApp */
.whatsapp-contact {
    margin-top: 40px;
    text-align: center;
}

.whatsapp-contact h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.whatsapp-contact p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.noticia-card a {
    color: #2a00b6;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.3s;
}

.noticia-card a:hover {
    color: #005f86;
}
/* Sección de contacto */
.contacto {
    background: #f6f6f6; /* Color de fondo suave */
    padding: 60px 0;     /* Espacio superior e inferior */
  }
  
  .contacto .modificar {
    max-width: 600px;  /* Ancho máximo del formulario */
    margin: 0 auto;    /* Centrar horizontalmente */
    text-align: center; 
  }
  
  /* Título y texto */
  .contacto h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;       /* Color de texto */
  }
  
  .contacto p {
    margin-bottom: 40px;
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
  }
  
  /* Formulario */
  .contacto form {
    display: flex; 
    flex-direction: column; 
    gap: 20px;       /* Espacio entre elementos */
  }
  
  /* Inputs y textarea */
  .contacto input[type="text"],
  .contacto input[type="email"],
  .contacto textarea {
    width: 100%;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
  }
  
  /* Estilos del botón */
  .contacto button {
    background: #0077b6;       /* Color principal */
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  /* Hover del botón */
  .contacto button:hover {
    background: #005f86;       /* Color al pasar el mouse */
  }
  
.contact-form  {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6em;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    width: 200%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form button {
    background: #0077b6;
    color: #ffffff2b;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #005f86; 
}

.footer {
    background: #ffffff;
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 40px 0;
}

.footer-container p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
}
