/* Estilos base para la sección de equipo - Mismo estilo que servicios */
.nuestro-equipo {
  padding: 0 0 50px 0;
  position: relative;
}

.nuestro-equipo .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
}

/* CONTROLES DEL CARRUSEL - IDÉNTICO A SERVICIOS */
.equipo-carousel-controls-wrapper {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  padding: 0 88px;
}

.equipo-carousel-controls-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.dropdown-toggle::after{
    display: none !important;
}
.carousel-dots-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  margin-right: 20px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 3rem;
  height: 8px;
  border-radius: 9999px;
  background: #d9d9d9;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
  position: relative;
}

.carousel-dot:hover {
  background: #b3b3b3;
  transform: scale(1.1);
}

.carousel-dot.active {
  background: #e4732b;
}

.carousel-buttons-container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  border: 2px solid #e4732b;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #e4732b;
  font-size: 18px;
  position: relative;
}

.carousel-control-prev:hover:not(:disabled),
.carousel-control-next:hover:not(:disabled) {
  background: #e4732b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(228, 115, 43, 0.3);
}

.carousel-control-prev:disabled,
.carousel-control-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none !important;
}

.carousel-control-prev:disabled:hover,
.carousel-control-next:disabled:hover {
  background: transparent !important;
  color: #e4732b !important;
  box-shadow: none !important;
}

/* TARJETAS DE EQUIPO - ESTILO COHERENTE CON EL SITIO */
.card-equipo-legal {
  background: #ffffff;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  max-width: 342px;
  width: 100%;
}

.card-equipo-legal:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-container {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 40px 40px 0 0;
}

.card-img-custom {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 40px 40px 0 0;
  transition: transform 0.3s ease;
}

.card-equipo-legal:hover .card-img-custom {
  transform: scale(1.05);
}

.card-body.text-center {
  border-radius: 0 0 40px 40px;
  border: 1px solid #e2e2e2;
  padding: 33px 33px 46px 35px;
  background: #ffffff;
}

.titulo-nombre-abogado {
  font-family: "Futura Now Headline", Arial, sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #0b2747;
  min-width: 223px;
  text-align: left;
  margin: 0;
}

.contenedor-titulo-icono {
  gap: 0;
  margin-bottom: 3px;
  justify-content: center;
  align-items: center;
}

.titulo-perfil {
  text-align: left;
  font-family: "Futura Now Headline", Arial, sans-serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: -4%;
  margin-bottom: 25px;
  color: #000000;
}

.info-detalle-contacto a,
.info-detalle-contacto-segundo a {
  font-family: "Futura Now Headline", Arial, sans-serif;
  font-weight: 400;
  font-style: Book;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: -4%;
  color: #000000;
  text-decoration: none;
}

.info-detalle-contacto {
  gap: 15px;
  margin-bottom: 16px;
}

.info-detalle-contacto-segundo {
  gap: 0;
}

.info-detalle-contacto-segundo p.mb-0 {
  padding-bottom: 5px;
}

/* CARRUSEL */
.equipo-carousel {
  padding-left:20px;
  padding-right: 50px;
}

.equipo-carousel-controls-wrapper {
  padding-right: 64px !important;
}

.equipo-carousel .owl-stage {
  display: flex;
  align-items: center;
}

.equipo-carousel .owl-item {
  display: flex;
  justify-content: center;
}

.equipo-carousel .owl-nav,
.equipo-carousel .owl-dots {
  display: none;
}

/* ESTILOS DE TEXTO COHERENTES */
.bajada-equipo-legal {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 160%;
  letter-spacing: 0%;
  text-align: left;
  vertical-align: middle;
  color: #000;
  max-width: 770px;
  margin: 17px auto;
  margin-bottom: 71px;
  margin-top: 10px;
  padding: 0 !important;
  margin-left: 0;
}

.titulo-pre-servicio-empresa {
  font-family: "Futura Now Headline", Arial, sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 30px;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #e4732b;
}

.titulo-servicio-derecho {
  font-family: "Futura Now Headline", Arial, sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 48px;
  line-height: 140%;
  letter-spacing: 0%;
  text-align: left;
  vertical-align: middle;
  color: #0b2747;
  margin-bottom: 17px;
}

.columna-titulo-servicio {
  margin-left: 83px !important;
  padding: 12px 18px;
  width: 399px;
  background-color: #fff;
  border-radius: 15px 0 15px;
  color: #fff !important;
  border: solid 1px #e4732b;
}

.columna-titulo-izquierda {
  padding-left: 88px;
}
.enlace-card-linkedin {
  transition: opacity 0.3s ease;
}

.enlace-card-linkedin:hover {
  opacity: 0.8 !important;
}

.card-equipo-legal .image-container img{
    height: auto;
    width: 100%;
}
/* RESPONSIVE */
@media (max-width: 1200px) {
  .equipo-carousel-controls-wrapper,
  .equipo-carousel {
    padding: 0 60px;
  }

  .card-equipo-legal {
    max-width: 320px;
  }

  .card-img-custom {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .equipo-carousel-controls-wrapper,
  .equipo-carousel {
    padding: 0 20px !important;
  }

  .carousel-buttons-container {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    justify-content: center;
    margin-top: 15px;
  }

  .equipo-carousel-controls-container {
    flex-direction: column;
    gap: 15px;
  }

  .carousel-dots-container {
    order: 2;
  }

  .carousel-buttons-container {
    order: 1;
  }

  .card-equipo-legal {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .card-img-custom {
    height: 300px;
  }

  .card-body.text-center {
    padding: 25px 20px;
  }

  .titulo-nombre-abogado {
    font-size: 20px;
    min-width: auto;
  }

  .titulo-perfil {
    font-size: 16px;
  }

  .columna-titulo-servicio {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .columna-titulo-izquierda {
    padding-left: 0;
  }

  .titulo-servicio-derecho {
    font-size: 32px;
    text-align: center;
  }

  .bajada-equipo-legal {
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
  }
}

@media (max-width: 991px) {
  .equipo-carousel-controls-wrapper,
  .equipo-carousel {
    padding: 0 40px;
  }
}
