/* Fuente base */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #004080;
  padding: 1rem 2rem;
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(to right, #004080, #0066cc);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #ffcc00;
  color: #004080;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.cta-button-verde{
 background-color: #28D146;
  color: #004080;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease; 
}
.cta-button-verde i{
  color: white;
  font-size: 30px;
  align-items: center;
  justify-content: center;
  
}

.cta-button:hover {
  transform: scale(1.05);
}

/* Banner */
.banner {
  background-color: #ffe680;
  text-align: center;
  padding: 1rem;
  font-weight: bold;
}

/* Servicios */
.servicios {
  padding: 3rem 2rem;
  text-align: center;
}

.servicios h2 {
  margin-bottom: 2rem;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.servicio {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* FAQ */
.faq {
  padding: 3rem 2rem;
  background-color: #eef2f7;
}

.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  background-color: white;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Video */
.video {
  padding: 3rem 2rem;
  text-align: center;
}

.video h2 {
  margin-bottom: 1rem;
}

.video video {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Contacto */
.contacto {
  padding: 3rem 2rem;
  background-color: #f0f4f8;
}

.contacto h2 {
  text-align: center;
  margin-bottom: 2rem;
}

form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

button {
  background-color: #004080;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background-color: #003366;
}

/* WhatsApp flotante */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color:#28D146 ;
  color: white;
  font-size: 1.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 1000;
}

/* Footer */
footer {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #004080;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}


/*Mapa informativo*/
#map {
  height: 400px;
  width: 100%;
  border-radius: 10px;
  margin-top: 1rem;
}


/*Perfil de abogados*/
.abogados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.abogado {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.abogados h2{
  text-align: center;
  margin: auto;
}

.abogado img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
}


/*Blog de articulos de asesorias*/

.blog{
  margin-top: 50px;
}
.blog h2{
  margin-bottom: 10px;
}
.blog-card {
  background: white;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.blog-card a {
  color: #004080;
  font-weight: bold;
  text-decoration: none;
}

/*testimonios de clientes*/
.carousel {
  position: relative;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
}

.testimonios{
  margin-top: 50px;
}
.testimonios h2{
  text-align: center;
  margin-bottom: 10px;

}


.slide {
  display: none;
  text-align: left;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: flex-start;
}

.slide.active {
  display: flex;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}

.contenido h4 {
  margin: 0;
  font-weight: bold;
}

.estrellas {
  color: #FFD700;
  font-size: 18px;
  margin: 5px 0;
}

.contenido p {
  font-style: italic;
  margin-top: 5px;
}

.carousel {
  max-width: 600px;
  margin: auto;
  position: relative;
}

.slide {
  display: none;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  display: flex;
}

/*Boton de whatsapp*/
.cta-button-verde-whatsapp{
  display: inline-block;
  background-color: #28D146;
  color: white;
  padding: 30px;
  border-radius: 10px; 
  cursor: pointer;
  animation: pulse 3s infinite ease ;
}

@keyframes pulse {
  0%{
    transform: scale(1);
  }
  50%{
    transform: scale(1.1);
  }
  100%{
    transform: scale(1);
  }
}


.padre-boton{
  margin: auto;
  text-align: center;
  margin-top: 50px;
}
.padre-boton a{
  text-decoration: none;
}


/*botones de servicios*/
.btn-container {
    margin-bottom: 20px;
    text-align: center;

}
.btn {
    background-color: #004080;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
}

.btn:hover {
    background-color: #0056b3;
}

.content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

ul {
    list-style: none;
    padding: 0;

}

.content li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    font-size: 25px;
    
}

.content i {
    margin-right: 10px;
    color: #004080;
}

.contenedor8{
  text-align: center;
  margin-top: 80px;
 
}
.contenedor8 h2{
 color: black;
 font-size: 35px;
}
.contenedor8 li{
  color: #333;
}







